A configurable notification that submits external JSON-API-formatted HTTP requests whenever resources are modified.
action | string <= 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
A boolean value indicating whether the webhook is active. |
createdAt | string <date-time> The date and time the webhook was created. |
disabledReason | string <= 1024 characters The reason why webhook got temporarily disabled. Any update to a webhook resets this to a null value. |
disabledSince | string <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 <date-time> The date and time till when the webhook got temporarily disabled. Any update to a webhook resets this to a null value. |
resource | string <= 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 <= 255 characters A private token used to verify the authenticity of incoming webhook payloads. |
updatedAt | string <date-time> The date and time the webhook was last updated. |
url | string <= 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",
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}
data (object) or links (object) (user) 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. | |
data (object) or links (object) (user) The creator of the webhook. You can use only the attribute id to filter webhooks by creator (e.g. filter[creator][id]=X). | |
data (object) or links (object) (user) 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). |
{- "authorizer": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}
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",
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
- "authorizer": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "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",
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "relationships": {
- "authorizer": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "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",
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
- "authorizer": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "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",
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
- "authorizer": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "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",
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
- "authorizer": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "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",
- "resource": "string",
- "secret": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "url": "string"
}, - "id": 0,
- "relationships": {
- "authorizer": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}