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"
}Gets a specified webhook.
Code:
curl --include --request POST "https://connect.getseam.com/webhooks/get" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"webhook_id": "e5f1b17c-c67d-469d-a860-9510cf814657"
}
EOFOutput:
{
"webhook": {
"event_types": ["device.connected", "device.disconnected"],
"secret": "mySecret",
"url": "https://example.com/webhook",
"webhook_id": "e5f1b17c-c67d-469d-a860-9510cf814657"
}
}Gets a specified webhook.
Code:
Output:
Gets a specified webhook.
Code:
Output:
Gets a specified webhook.
Code:
Output:
Gets a specified webhook.
Code:
Output:
Request Parameters
webhook_id String (Required)
ID of the webhook that you want to get.
Response
Returns: webhook
Last updated
Was this helpful?

