v1

latestSwagger 2.0Apache 2.02026-07-13123128517.6 KB
webhooks

Update a webhook

Updates the information in existing webhook

put/webhooks/{id}

Path parameters

idinteger required

An id of a webhook

Request body

idinteger

An id of a webhook

enabledboolean

A parameter which allows the webhook to send requests to unknown ssl endpoints (ssl certificate verification is disabled)

nonStrictSslboolean

A parameter which allows the webhook to send requests to unknown ssl endpoints (ssl certificate verification is disabled)

namestring

A name of a webhook

resourcestring

A resource name that webhook is watching events on. Use GET /webhooks/resources to determine resources and events available (ex: InboundCall, OutboundCall, InboundText, OutboundText, CallBroadcast, TextBroadcast, etc...)

eventsstring[]

Comma separated list of events on resource that will trigger callbacks (ex: STARTED, STOPPED, FINISHED, etc...).

fieldsstring

A limit callback response to a particular fields

callbackstring

URL that webhook will send POST to on resource event trigger

secretstring

Webhook secret token which is used as a signing key to HmacSHA256 hash of json payload which is returned in 'X-CallFire-Signature-256' header. This header can be used to verify callback POST is coming from CallFire. See security guide

singleUseboolean

If true is set then webhook triggers only once. Afterwards the webhook will be deleted

createdAtinteger

A time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000

updatedAtinteger

A time when the given resource was updated, formatted in unix time milliseconds (read only). Example: 1473781817000

expiresAtinteger

~