Skip to content

Webhooks

Webhooks notify your application when events happen in Driftwood — contacts created, companies updated, activities logged, etc. Configure an HTTPS endpoint and select which events to subscribe to.

FieldTypeDescription
iduuid
account_iduuid
created_byuuid
urlstring
descriptionstring
secret_prefixstring
eventsstring[]
is_activebool
created_atdatetime
updated_atdatetime

Endpoint: webhooks-create

FieldTypeRequiredDescription
urlstringYes
descriptionstringNo
eventsstring[]Yes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/webhooks-create \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url": "...", "events": []}'

Endpoint: webhooks-delete

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/webhooks-delete \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: webhooks-deliveries

FieldTypeRequiredDescription
endpoint_idstringYes
limitintNo
Terminal window
curl -X POST https://api.driftwoodapp.com/api/webhooks-deliveries \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"endpoint_id": "..."}'

Endpoint: webhooks-get

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/webhooks-get \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: webhooks-list

Endpoint: webhooks-update

FieldTypeRequiredDescription
idstringYes
urlstring?No
descriptionstring?No
eventsstring[]No
is_activebool?No
Terminal window
curl -X POST https://api.driftwoodapp.com/api/webhooks-update \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'