At most 10. The URL must be https on port 443 and a public host (400 webhook_url_not_allowed). profile_id limits it to one profile. The signing secret is returned only here.
Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
application/json- body
url*stringurilength <= 2000events*array<>1 <= itemsprofile_id?string1 <= length <= 128The endpoint with its secret.
application/json- response
id*stringuuidurl*stringevents*array<>profile_id*|null: events of every profile.
active*booleanfailure_count*integerdisabled_at*|nullcreated_at*stringdate-timesecret*stringSigning secret, shown only once.
curl -X POST 'https://api.mulaichat.com/v1/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com", "events": [ "account.connected" ]}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "events": [ "account.connected" ], "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8", "active": true, "failure_count": 0, "disabled_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "secret": "string"}Update a profile PATCH
external_id null removes it; one used by another profile: 409 external_id_taken. Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.
Delete a webhook endpoint DELETE
Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.