Webhooks
Create webhook endpoint
Changed onRegister a URL to receive the account's webhook events. An account can have 1 endpoint, or up to 3 on paid plans; creating one past the limit returns 403. Each endpoint of a workspace must have a different url (400 otherwise). When signing_enabled is true, a signing secret is generated: read it with Get webhook endpoint signing secret. Requires the webhooks:write OAuth scope.
post/v1/accounts/{accountId}/webhooks/endpoints
Request
- Base URL: https://api.assinafy.com.br
- URL: https://api.assinafy.com.br/v1/accounts/{accountId}/webhooks/endpoints
- Auth: one of:
- HTTP bearer
- API key in header X-Api-Key
Path parameters
accountIdstring required
Workspace account ID.
Request body
Example request
{
"url": "https://example.com/webhooks/assinafy",
"email": "ops@example.com",
"events": [
"document_ready",
"signer_signed_document"
],
"name": "ERP",
"is_active": true,
"signing_enabled": true
}Response
The created endpoint
Example response
{
"status": 200,
"data": {
"id": "65f1c2a9b3e4d5f60718293a4b5c6d7e",
"name": "ERP",
"url": "https://example.com/webhooks/assinafy",
"email": "ops@example.com",
"events": [
"document_ready",
"signer_signed_document"
],
"is_active": true,
"signing_enabled": true,
"created_at": "2026-10-01T12:00:00Z",
"updated_at": "2026-10-01T12:00:00Z"
}
}Changes
- ○
endpoint added
- ○