Skip to main content

Consultar Webhooks

Request

ENDPOINT
/webhook/webhook_key
METHOD
GET

Path Params

CampoDescrição
webhook_key *Chave identificadora do webhook.
Response Body

{
"created_at": "2023-05-18T00:14:34",
"events": [
{
"created_at": "2023-05-18T00:14:34",
"webhook_new_url": "https://webhook.site/8ba6466b-23c8-423a-87a1-2867b670e489",
"webhook_old_url": null
}
],
"header_name": "x-api-token",
"header_value": "01b9d34a-7675-4f61-ad1f-945d1e714546",
"notifications": [
{
"created_at": "2023-05-18T00:14:35",
"max_try": 300,
"notification_body": {
"all_files_url": "",
"attached_document_number": null,
"batch_group_key": "bfbe3092-83bb-44d8-b414-1e2aaa145759",
"batch_group_type": "icp_signature",
"batches": [
{
"created_at": "2023-05-18 00:14:04",
"document_batch_key": "005eb0d6-4c59-4e8e-8f99-8f0ad590a7b8",
"document_type": "other",
"documents": [
{
"control_number": "215e650e-d16f-432b-a307-7a7f9db93b07",
"created_at": "2023-05-18 00:14:04",
"document_key": "31a63768-331d-4a90-a7d6-222ecdf192ce",
"file_size": 1669,
"file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_original.pdf",
"name": "teste_of.pdf",
"original_file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_original.pdf",
"signatures": [],
"signed_file_url": null,
"status": "pending"
}
],
"name": "Outros",
"related_parties": [
{
"auto_signature": 0,
"created_at": "2023-05-18 00:14:04",
"name": "Savio",
"notify_to": [],
"related_party_key": "7b7486ac-b6d2-4124-944f-02d6139a9de6",
"role": "assignor",
"signature_position": "1",
"signature_status": "pending",
"signer_groups": [
{
"created_at": "2023-05-18 00:14:04",
"expiration": null,
"minimum_required_signers": 1,
"signable_limit": null,
"signature_status": "pending",
"signers": [
{
"created_at": "2023-05-18 00:14:04",
"document_number": "43141581827",
"email": "savio.gama@qitech.com.br",
"is_group_mandatory": true,
"name": "Savio",
"signature_status": "pending",
"signature_timestamp": null,
"signer_control_number": "1"
}
]
}
]
}
],
"signature_status": "pending",
"signature_type": "cades"
}
],
"client_key": "5aaf98d2-0264-48dd-8167-eab859ce5a75",
"control_number": null,
"created_at": "2023-05-18 00:14:04",
"current_signature_position": "1",
"internal_status": "pending",
"internal_webhook_key": null,
"main_related_party": "a",
"name": "Teste 2",
"number_of_documents": 1,
"requester_identifier": null,
"requester_key": null,
"send_emails": true,
"send_to_fund_administrator": 0,
"signature_expiration_date": null,
"signature_status": "pending",
"total_value": 0.0,
"watcher_clients": [],
"webhook_key": "d9a7f428-a412-4e0c-83e8-e4a0a680d58c"
},
"notification_key": "6c7e6d58-c837-4a2c-b8a0-0c9b6dd84f3c",
"notification_status": {
"created_at": "2019-09-13T18:55:44",
"enumerator": "sent",
"translation_path": "certifier.NotificationStatus.sent"
},
"notification_tries": [
{
"created_at": "2023-05-18T00:14:35",
"request_received_time": "2023-05-18T00:14:36",
"request_sent_time": "2023-05-18T00:14:35",
"response_body": "",
"response_code": "200"
}
]
},
{
"created_at": "2023-05-18T00:15:14",
"max_try": 300,
"notification_body": {
"all_files_url": "",
"attached_document_number": null,
"batch_group_key": "bfbe3092-83bb-44d8-b414-1e2aaa145759",
"batch_group_type": "icp_signature",
"batches": [
{
"created_at": "2023-05-18 00:14:04",
"document_batch_key": "005eb0d6-4c59-4e8e-8f99-8f0ad590a7b8",
"document_type": "other",
"documents": [
{
"control_number": "215e650e-d16f-432b-a307-7a7f9db93b07",
"created_at": "2023-05-18 00:14:04",
"document_key": "31a63768-331d-4a90-a7d6-222ecdf192ce",
"file_size": 1669,
"file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_signed.p7s",
"name": "teste_of.pdf",
"original_file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_original.pdf",
"signatures": [
{
"created_at": "2023-05-18 00:15:10",
"role": "assignor",
"signature_status": "signed",
"signature_timestamp": "2023-05-18 00:15:07",
"signed_hash": "z9CdX6Ti9OEV//+g8WMTpA1RLSYIcocb0ym+52yvMjg5CHvMYWKoo586ZQkpPnh/Z00wzLqsgdgvrHDjV+VTb8CXTVcZ2Z17039WIkKOXPgNOVLo56nZi+LODUkT0oThpd4/XpemV2RZYiZT9ciMawSE2VFSU9swN+RXDX32QorXXJu8VCjOwJEawS72KzYb36o/T5QTFgxxPzPsHZMw0k132G8riDH3N4P5uvPYtQEiEOkMulhHzAcrMv2W3Q4K+1FLTpI24jt5J0fwJuPaUmfMcB/7mXXIhRcpXT6U85UvadgKrXChFoba2FsuUxrv28nyjSzzp8rBQTidY+FIGg==",
"signer": {
"created_at": "2023-05-18 00:14:04",
"document_number": "43141581827",
"email": "savio.gama@qitech.com.br",
"is_group_mandatory": true,
"name": "Savio",
"signature_status": "signed",
"signature_timestamp": "2023-05-18 00:15:07",
"signer_control_number": "1"
}
}
],
"signed_file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_signed.pdf",
"status": "signed"
}
],
"name": "Outros",
"related_parties": [
{
"auto_signature": 0,
"created_at": "2023-05-18 00:14:04",
"name": "Savio",
"notify_to": [],
"related_party_key": "7b7486ac-b6d2-4124-944f-02d6139a9de6",
"role": "assignor",
"signature_position": "1",
"signature_status": "signed",
"signer_groups": [
{
"created_at": "2023-05-18 00:14:04",
"expiration": null,
"minimum_required_signers": 1,
"signable_limit": null,
"signature_status": "signed",
"signers": [
{
"created_at": "2023-05-18 00:14:04",
"document_number": "43141581827",
"email": "savio.gama@qitech.com.br",
"is_group_mandatory": true,
"name": "Savio",
"signature_status": "signed",
"signature_timestamp": "2023-05-18 00:15:07",
"signer_control_number": "1"
}
]
}
]
}
],
"signature_status": "signed",
"signature_type": "cades"
}
],
"client_key": "5aaf98d2-0264-48dd-8167-eab859ce5a75",
"control_number": null,
"created_at": "2023-05-18 00:14:04",
"current_signature_position": "1",
"internal_status": "waiting_zip_file",
"internal_webhook_key": null,
"main_related_party": "a",
"name": "Teste 2",
"number_of_documents": 1,
"requester_identifier": null,
"requester_key": null,
"send_emails": true,
"send_to_fund_administrator": 0,
"signature_expiration_date": null,
"signature_status": "signed",
"total_value": 0.0,
"watcher_clients": [],
"webhook_key": "d9a7f428-a412-4e0c-83e8-e4a0a680d58c"
},
"notification_key": "af7ebd71-0166-4bc1-93c6-8e19762ac56d",
"notification_status": {
"created_at": "2019-09-13T18:55:44",
"enumerator": "sent",
"translation_path": "certifier.NotificationStatus.sent"
},
"notification_tries": [
{
"created_at": "2023-05-18T00:15:14",
"request_received_time": "2023-05-18T00:15:15",
"request_sent_time": "2023-05-18T00:15:14",
"response_body": "",
"response_code": "200"
}
]
},
{
"created_at": "2023-05-18T00:15:23",
"max_try": 60,
"notification_body": {
"all_files_url": "https://storage.googleapis.com/certifier-worker-storage-sandbox/bfbe3092-83bb-44d8-b414-1e2aaa145759/bfbe3092-83bb-44d8-b414-1e2aaa145759.zip",
"attached_document_number": null,
"batch_group_key": "bfbe3092-83bb-44d8-b414-1e2aaa145759",
"batch_group_type": "icp_signature",
"batches": [
{
"created_at": "2023-05-18 00:14:04",
"document_batch_key": "005eb0d6-4c59-4e8e-8f99-8f0ad590a7b8",
"document_type": "other",
"documents": [
{
"control_number": "215e650e-d16f-432b-a307-7a7f9db93b07",
"created_at": "2023-05-18 00:14:04",
"document_key": "31a63768-331d-4a90-a7d6-222ecdf192ce",
"file_size": 1669,
"file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_signed.p7s",
"name": "teste_of.pdf",
"original_file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_original.pdf",
"signatures": [
{
"created_at": "2023-05-18 00:15:10",
"role": "assignor",
"signature_status": "signed",
"signature_timestamp": "2023-05-18 00:15:07",
"signed_hash": "z9CdX6Ti9OEV//+g8WMTpA1RLSYIcocb0ym+52yvMjg5CHvMYWKoo586ZQkpPnh/Z00wzLqsgdgvrHDjV+VTb8CXTVcZ2Z17039WIkKOXPgNOVLo56nZi+LODUkT0oThpd4/XpemV2RZYiZT9ciMawSE2VFSU9swN+RXDX32QorXXJu8VCjOwJEawS72KzYb36o/T5QTFgxxPzPsHZMw0k132G8riDH3N4P5uvPYtQEiEOkMulhHzAcrMv2W3Q4K+1FLTpI24jt5J0fwJuPaUmfMcB/7mXXIhRcpXT6U85UvadgKrXChFoba2FsuUxrv28nyjSzzp8rBQTidY+FIGg==",
"signer": {
"created_at": "2023-05-18 00:14:04",
"document_number": "43141581827",
"email": "savio.gama@qitech.com.br",
"is_group_mandatory": true,
"name": "Savio",
"signature_status": "signed",
"signature_timestamp": "2023-05-18 00:15:07",
"signer_control_number": "1"
}
}
],
"signed_file_url": "https://storage.googleapis.com/certifier-api-storage-sandbox/31a63768-331d-4a90-a7d6-222ecdf192ce/teste_of_signed.pdf",
"status": "signed"
}
],
"name": "Outros",
"related_parties": [
{
"auto_signature": 0,
"created_at": "2023-05-18 00:14:04",
"name": "Savio",
"notify_to": [],
"related_party_key": "7b7486ac-b6d2-4124-944f-02d6139a9de6",
"role": "assignor",
"signature_position": "1",
"signature_status": "signed",
"signer_groups": [
{
"created_at": "2023-05-18 00:14:04",
"expiration": null,
"minimum_required_signers": 1,
"signable_limit": null,
"signature_status": "signed",
"signers": [
{
"created_at": "2023-05-18 00:14:04",
"document_number": "43141581827",
"email": "savio.gama@qitech.com.br",
"is_group_mandatory": true,
"name": "Savio",
"signature_status": "signed",
"signature_timestamp": "2023-05-18 00:15:07",
"signer_control_number": "1"
}
]
}
]
}
],
"signature_status": "signed",
"signature_type": "cades"
}
],
"client_key": "5aaf98d2-0264-48dd-8167-eab859ce5a75",
"control_number": null,
"created_at": "2023-05-18 00:14:04",
"current_signature_position": "1",
"internal_status": "finished",
"internal_webhook_key": null,
"main_related_party": "a",
"name": "Teste 2",
"number_of_documents": 1,
"requester_identifier": null,
"requester_key": null,
"send_emails": true,
"send_to_fund_administrator": 0,
"signature_expiration_date": null,
"signature_status": "signed",
"total_value": 0.0,
"watcher_clients": [],
"webhook_key": "d9a7f428-a412-4e0c-83e8-e4a0a680d58c"
},
"notification_key": "58c8a45d-581d-42b5-ac76-f458ca17c62f",
"notification_status": {
"created_at": "2019-09-13T18:55:44",
"enumerator": "sent",
"translation_path": "certifier.NotificationStatus.sent"
},
"notification_tries": [
{
"created_at": "2023-05-18T00:15:24",
"request_received_time": "2023-05-18T00:15:24",
"request_sent_time": "2023-05-18T00:15:24",
"response_body": "",
"response_code": "200"
}
]
}
],
"webhook_key": "d9a7f428-a412-4e0c-83e8-e4a0a680d58c",
"webhook_url": "https://webhook.site/8ba6466b-23c8-423a-87a1-2867b670e489"
}