Attach Webhook
Attach a webhook to one or more senders (phone numbers or RCS agent IDs) to receive real-time event notifications. <br>
You can attach an existing webhook by providing its ID, or create a new webhook by specifying a name and URL. Supports bulk operations with up to 50 senders per request. <br>
Subscriptions are additive — attaching new senders does not remove existing ones. Re-attaching the same sender updates the event type filter without creating duplicates. <br>
Custom headers may be provided in either case via the optional headers field. When attaching a new webhook, the headers are stored on the webhook and sent on every delivery. When attaching an existing webhookId, supplying headers overwrites the stored headers on that webhook — omit the field to leave them unchanged, or pass an empty object {} to clear them. The reserved PINNACLE-SIGNING-SECRET header is always set by Pinnacle and cannot be overridden.
Request
- Base URL: https://api.pinnacle.sh
- URL: https://api.pinnacle.sh/webhooks/attach
- Auth: API key in header PINNACLE-API-KEY
Request body
Response
Successfully attached webhook to the specified senders. <br>
Senders that could not be found are returned in the failed array with error details.
Changes
No recorded changes to this operation across all 1 revision of this API.