Get a Webhook
Gets a specified webhook.
Gets a specified webhook.
Code
await seam.webhooks.get({ webhook_id: "e5f1b17c-c67d-469d-a860-9510cf814657" });
Output
{
"event_types": ["device.connected", "device.disconnected"],
"secret": "mySecret",
"url": "https://example.com/webhook",
"webhook_id": "e5f1b17c-c67d-469d-a860-9510cf814657"
}
Request Parameters
webhook_id
String (Required)
ID of the webhook that you want to get.
Response
{
"event_types": ["device.connected", "device.disconnected"],
"secret": "mySecret",
"url": "https://example.com/webhook",
"webhook_id": "ffe5cc3c-f3f4-48e8-b377-6f76c05d09a1"
}
Last updated
Was this helpful?