Update webhook subscription
PUT/unified/webhook/{id}
Parameters
idstring required
ID of the Webhook
Payload
A webhook is used to POST new/updated information to your server.
idstring read-only
created_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
workspace_idstring read-only
(reference to KmsSpace)
connection_idstring required
hook_urlstring
The URL of the webhook
object_type enum required
Valid values:
The object to return (eg. CRM "contact")
intervalnumber
The interval (in minutes) to check for updated/new objets.
checked_atdate read-only
The last date/time that a check was done on this object (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
integration_typestring read-only
environmentstring read-only
event enum required
Valid values:
"updated"
"created"
"deleted"
runsstring array read-only
An array of the most revent virtual webhook runs
fieldsstring
webhook_type enum
Valid values:
"virtual"
"native"
is_healthyboolean read-only
page_max_limitnumber
filtersstring dictionary of string
db_urlstring
db_schemastring
db_name_prefixstring
is_pausedboolean
is_betaboolean
Returns
A webhook is used to POST new/updated information to your server.
idstring read-only
created_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate read-only
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
workspace_idstring read-only
(reference to KmsSpace)
connection_idstring required
hook_urlstring
The URL of the webhook
object_type enum required
Valid values:
The object to return (eg. CRM "contact")
intervalnumber
The interval (in minutes) to check for updated/new objets.
checked_atdate read-only
The last date/time that a check was done on this object (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
integration_typestring read-only
environmentstring read-only
event enum required
Valid values:
"updated"
"created"
"deleted"
runsstring array read-only
An array of the most revent virtual webhook runs
fieldsstring
webhook_type enum
Valid values:
"virtual"
"native"
is_healthyboolean read-only
page_max_limitnumber
filtersstring dictionary of string
db_urlstring
db_schemastring
db_name_prefixstring
is_pausedboolean
is_betaboolean
const options = {
method: 'PUT',
url: 'https://api.unified.to/unified/webhook/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
};
const results = await axios.request(options); Are we missing anything? Let us know