await seam.webhooks.get({ webhook_id: "e5f1b17c-c67d-469d-a860-9510cf814657" });
/*
{
"event_types": [
"device.connected",
"device.disconnected"
],
"secret": "mySecret",
"url": "https://example.com/webhook",
"webhook_id": "e5f1b17c-c67d-469d-a860-9510cf814657"
}
*/
{
"ok": true,
"webhook": {
"url": "<string>",
"webhook_id": "<string>",
"event_types": [
"<string>"
],
"secret": "<string>"
}
}Webhooks
Get a Webhook
Gets a specified webhook.
POST
/
webhooks
/
get
await seam.webhooks.get({ webhook_id: "e5f1b17c-c67d-469d-a860-9510cf814657" });
/*
{
"event_types": [
"device.connected",
"device.disconnected"
],
"secret": "mySecret",
"url": "https://example.com/webhook",
"webhook_id": "e5f1b17c-c67d-469d-a860-9510cf814657"
}
*/
{
"ok": true,
"webhook": {
"url": "<string>",
"webhook_id": "<string>",
"event_types": [
"<string>"
],
"secret": "<string>"
}
}Authorizations
api_keypat_with_workspaceconsole_session_with_workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
ID of the webhook that you want to get.

