Skip to content
API reference

Outgoing webhooks

Signed notifications of what happens in a workspace.

GET/webhooks

List outgoing webhooks

Needs the permission integrations:read.

curl -X GET https://crm.anibrosdesign.com/api/v1/webhooks \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 401 403 429

POST/webhooks

Create an outgoing webhook

The signing secret is shown once.

Needs the permission integrations:manage.

ParameterInTypeNotes
Idempotency-KeyheaderstringAny unique string up to 128 characters. Repeating the request with the same key returns the first response. up to 128 characters
Body fieldTypeNotes
name requiredstringat least 1 characters. up to 100 characters
url requiredstringat least 8 characters. up to 2000 characters
events requiredlist of one of lead.created, lead.assigned, lead.stage_changed, lead.updated, lead.deleted, activity.created, task.created, task.completed, contact.createdat least 1 items. up to 20 items
curl -X POST https://crm.anibrosdesign.com/api/v1/webhooks \
  -H "Authorization: Bearer crm_live_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"name":"text","url":"text","events":["lead.created"]}'

Responses: 201 400 401 402 403 429

GET/webhooks/deliveries

Get deliveries (webhooks)

Needs the permission integrations:manage.

ParameterInTypeNotes
limitqueryintegerat least 1. up to 100. default 25
cursorquerystringup to 512 characters
endpointIdquerystring (uuid)
statusqueryone of pending, delivered, failed, dead, skipped
curl -X GET https://crm.anibrosdesign.com/api/v1/webhooks/deliveries \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 400 401 403 429

POST/webhooks/deliveries/{id}/retry

Retry (webhooks)

Needs the permission integrations:manage.

ParameterInTypeNotes
id requiredpathstring (uuid)
curl -X POST https://crm.anibrosdesign.com/api/v1/webhooks/deliveries/{id}/retry \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 204 400 401 402 403 404 429

GET/webhooks/events

Get events (webhooks)

Needs the permission integrations:read.

curl -X GET https://crm.anibrosdesign.com/api/v1/webhooks/events \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 401 403 429

GET/webhooks/{id}

Get a webhook

Needs the permission integrations:read.

ParameterInTypeNotes
id requiredpathstring (uuid)
curl -X GET https://crm.anibrosdesign.com/api/v1/webhooks/{id} \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 400 401 403 404 429

PATCH/webhooks/{id}

Change a webhook

Needs the permission integrations:manage.

ParameterInTypeNotes
id requiredpathstring (uuid)
Body fieldTypeNotes
namestringat least 1 characters. up to 100 characters
urlstringat least 8 characters. up to 2000 characters
eventslist of one of lead.created, lead.assigned, lead.stage_changed, lead.updated, lead.deleted, activity.created, task.created, task.completed, contact.createdat least 1 items. up to 20 items
statusone of active, paused
curl -X PATCH https://crm.anibrosdesign.com/api/v1/webhooks/{id} \
  -H "Authorization: Bearer crm_live_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"name":"text","url":"text","events":["lead.created"]}'

Responses: 200 400 401 402 403 404 412 429

DELETE/webhooks/{id}

Delete a webhook

Needs the permission integrations:delete.

ParameterInTypeNotes
id requiredpathstring (uuid)
curl -X DELETE https://crm.anibrosdesign.com/api/v1/webhooks/{id} \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 204 400 401 402 403 404 429

POST/webhooks/{id}/rotate-secret

Rotate secret (webhooks)

Needs the permission integrations:manage.

ParameterInTypeNotes
id requiredpathstring (uuid)
curl -X POST https://crm.anibrosdesign.com/api/v1/webhooks/{id}/rotate-secret \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 201 400 401 402 403 404 429

POST/webhooks/{id}/test

Test (webhooks)

Needs the permission integrations:manage.

ParameterInTypeNotes
id requiredpathstring (uuid)
curl -X POST https://crm.anibrosdesign.com/api/v1/webhooks/{id}/test \
  -H "Authorization: Bearer crm_live_xxxxxxxx"

Responses: 200 400 401 402 403 404 429

Something missing or unclear? Tell us.

Chat on WhatsApp