SupportDashboard
DocsAPI ReferenceWebhooksMethods
  • API Reference
LogoLogo
SupportDashboard
API ReferenceWebhooks

POST
https://api.pinnacle.sh/webhooks
POST
/webhooks
1import { PinnacleClient } from "rcs-js";
2
3async function main() {
4 const client = new PinnacleClient({
5 environment: "https://api.pinnacle.sh",
6 });
7 await client.webhooks.get({});
8}
9main();
Try it
1{
2 "webhooks": [
3 {
4 "endpoint": "https://www.pinnacle.sh/examples/check-payment",
5 "id": 1,
6 "name": "Payment Notification Webhook"
7 },
8 {
9 "endpoint": "https://www.pinnacle.sh/examples/talk-to-my-friends",
10 "id": 2,
11 "name": "SMS Delivery Webhook"
12 }
13 ]
14}
Was this page helpful?
Previous
Built with
Retrieve all webhook that are set up to receive events for specific URLs or phone numbers.
Retrieve Webhooks

Headers

PINNACLE-API-KEYstringRequired

Request

This endpoint expects an object.
identifierslist of stringsRequired
List of URLs or phone numbers in E.164 format that the webhook is attached to.

Response

Returns all webhooks matching the search criteria.

Results are sorted by ID and duplicates are removed.

webhookslist of objects
List of webhooks.

Errors