Update a webhook subscriptionComing soon
Changes the endpoint, the events, or turns the subscription off or on.
Coming soon. Changes the endpoint, the events, or turns the subscription off or on.
Scopes: webhooks:manage
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: webhooks:manage
webhook_subscription_id*stringWebhook subscription id.
1 <= length <= 64application/json- body
1 <= propertiesurl?stringYour endpoint.
urievents?array<>Replaces the list.
1 <= itemsdescription?|Your note.
length <= 200status?stringRe-enabling a subscription that was failing resumes deliveries from now on.
"enabled""disabled"The subscription.
application/json- response
id*stringSubscription id.
1 <= length <= 64url*stringYour endpoint. https only.
uridescription?|Your note.
events*array<>Events sent to this endpoint.
status*string"enabled""disabled"disabled_reason?|nullcreated_at*stringCreated.
date-timeupdated_at*stringLast changed.
date-timecurl -X PATCH 'https://api.matchai.co/v1/webhook-subscriptions/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "url": "http://example.com", "description": "string", "events": [ "lead.created" ], "status": "enabled", "disabled_reason": "by_you", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}