A configurable notification that submits external JSON-API-formatted HTTP requests whenever resources are modified.
action | string or null <= 255 characters
The action that will trigger this webhook (e.g. "*", "created", "updated", "destroyed"). Webhooks will only execute if both the action and resource match. |
active | boolean or null
A boolean value indicating whether the webhook is active. |
createdAt | string or null <date-time> The date and time the webhook was created. |
disabledReason | string or null <= 1024 characters The reason why webhook got temporarily disabled. Any update to a webhook resets this to a null value. |
disabledSince | string or null <date-time> The date and time when the webhook got temporarily disabled for the first time. Any update to a webhook resets this to a null value. |
disabledUntil | string or null <date-time> The date and time till when the webhook got temporarily disabled. Any update to a webhook resets this to a null value. |
payloadVersion | integer or null Format of the body data sent when the webhook makes a request. Valid values are 1 or 2. |
resource | string or null <= 255 characters
The resource that will trigger this webhook (e.g. "*", "prospect", "sequenceState"). Webhooks will only execute if both the action and resource match. |
secret | string or null <= 255 characters A private token used to verify the authenticity of incoming webhook payloads. |
updatedAt | string or null <date-time> The date and time the webhook was last updated. |
url | string or null <= 1024 characters The URL where the webhook will route its POST HTTP request. |
{- "action": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledReason": "string",
- "disabledSince": "2019-08-24T14:15:22Z",
- "disabledUntil": "2019-08-24T14:15:22Z",
- "payloadVersion": 0,
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
object The authorizer of the webhook. The webhook will not deliver results if the authorizer does not have permission to read the resource being returned. Relationship authorizer cannot be used as a filter. | |
object The creator of the webhook. You can use only the attribute id to filter webhooks by creator (e.g. filter[creator][id]=X). | |
object The most recent updater of the webhook. You can use only the attribute id to filter webhooks by updater (e.g. filter[updater][id]=X). |
{
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canWrite | A boolean value indicating whether the current API user has write access to this resource. | provideAuthorizationMeta |
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
OK
JSON error message
{- "data": [
- {
- "attributes": {
- "action": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledReason": "string",
- "disabledSince": "2019-08-24T14:15:22Z",
- "disabledUntil": "2019-08-24T14:15:22Z",
- "payloadVersion": 0,
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "action": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledReason": "string",
- "disabledSince": "2019-08-24T14:15:22Z",
- "disabledUntil": "2019-08-24T14:15:22Z",
- "payloadVersion": 0,
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "relationships": {
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "action": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledReason": "string",
- "disabledSince": "2019-08-24T14:15:22Z",
- "disabledUntil": "2019-08-24T14:15:22Z",
- "payloadVersion": 0,
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "action": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledReason": "string",
- "disabledSince": "2019-08-24T14:15:22Z",
- "disabledUntil": "2019-08-24T14:15:22Z",
- "payloadVersion": 0,
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "action": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledReason": "string",
- "disabledSince": "2019-08-24T14:15:22Z",
- "disabledUntil": "2019-08-24T14:15:22Z",
- "payloadVersion": 0,
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "action": "string",
- "active": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledReason": "string",
- "disabledSince": "2019-08-24T14:15:22Z",
- "disabledUntil": "2019-08-24T14:15:22Z",
- "payloadVersion": 0,
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
}, - "type": "string"
}
}