Webhooks
Receive events from your organization on Autentique through your webhook endpoints.
Why use Webhooks?
Event Object
{
"id": "MXwyMWZiY2VjOS1lMWI1LTRkY2EtYWZiYi0wMjIwNjFlOWVhODg=",
"object": "webhook",
"name": "test endpoint 2",
"format": "json",
"url": "https://this-url-doesn't-exist.autentique.com.br/webhooks",
"event": {
"id": "21fbcec9-e1b5-4dca-afbb-022061e9ea88",
"object": "event",
"organization": 1,
"type": "document.updated",
"data": {
"object": {
"id": "89c7d2ab31f9f5a13b3d20ecf53319af387e54d240ae7be993",
"name": "Updated name",
"refusable": true,
"stop_on_rejected": true,
"qualified": false,
"ignore_cpf": true,
"sortable": false,
"is_blocked": false,
"sandbox": 0,
"scrolling_required": 0,
"locale": {
"country": "BR",
"language": "pt-BR",
"timezone": "America/Sao_Paulo",
"date_format": "d/m/Y"
},
"created_at": "2024-08-26T18:02:26.000000Z",
"updated_at": "2024-08-26T18:03:27.000000Z",
"deleted_at": null,
"deadline_at": null,
"lifecycle_in": "2029-08-26T03:00:00.000000Z",
"email_template_id": null,
"expiration_at": null,
"notify_in": null,
"reminder": null,
"message": "I changed this message too",
"reply_to": null,
"signatures_count": 1,
"signed_count": 0,
"rejected_count": 0,
"object": "document",
"is_from_api": false,
"signatures": [
{
"public_id": "7f25d72b-6155-11ef-9dae-0242ac170004",
"name": "Felipe Autentique",
"company": null,
"email": "[email protected]",
"phone": null,
"cpf": "123.456.789-09",
"birthday": "1979-08-13",
"action": "Sign",
"viewed": "2024-08-26T18:02:27.000000Z",
"signed": null,
"rejected": null,
"validation_unapproved": null,
"validation_approved": null,
"validation_rejected": null,
"created_at": "2024-08-26T18:02:26.000000Z"
}
],
"author": {
"name": "Felipe Autentique",
"company": null,
"email": "[email protected]",
"phone": null,
"cpf": "123.456.789-09",
"birthday": "1979-08-13"
},
"files": {
"original": "https://storage.googleapis.com/f77/6e7a1fadeed9c56cf037b43a9cd0e6d1/o9baEgHHv1Tuf7AZttDqdL8vK68eUw56PaYXzRqV.original.pdf",
"signed": "https://painel.autentique.com.br/documentos/89c7d2ab31f95a13b3d20ecf53319af387e54d240ae7be993/assinado.pdf"
}
},
"previous_attributes": {
"name": "teste",
"refusable": false,
"updated_at": "2024-08-26T18:02:26.000000Z",
"message": "Please access and electronically sign the document by clicking the button above.",
"ignore_cpf": false
}
},
"created_at": "2024-08-26T18:03:27.387179Z"
}
}Type of Event
Data Object and previous_attributes
How to Begin
Examples of endpoint:
Event Order:
Best practices for Webhook usage
Document Object
Signature Object
Member Object
Types of events
Document Events
Event
Description
Signature Events
Event
Description
Member Events
Event
Description
Webhooks that failed
Last updated