Create webhook subscription
POST {{baseUrl}}/webhook/webhooks
Create a webhook subscription to receive events
Request Body
{"delivery_url"=>"https://example.com/my/webhook/endpoint", "status"=>"enabled", "events"=>["vault.connection.created", "vault.connection.updated"], "unified_api"=>"crm", "description"=>"A description"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-apideck-app-id | string | (Required) The ID of your Unify application | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status_code":200,"status":"OK","data":{"delivery_url":"https://example.com/my/webhook/endpoint","status":"enabled","events":["vault.connection.created","vault.connection.updated"],"unified_api":"crm","execute_base_url":"https://unify.apideck.com/webhook/webhooks/1234/execute","id":"1234","description":"A description","disabled_reason":"retry_limit","updated_at":"2020-09-30T07:43:32.000Z","created_at":"2020-09-30T07:43:32.000Z"}}