Skip to main content
POST
/
webhooks
/
list
await seam.webhooks.list();

/*
[
  {
    "event_types": [
      "device.connected",
      "device.disconnected"
    ],
    "secret": "mySecret",
    "url": "https://example.com/webhook",
    "webhook_id": "ffe5cc3c-f3f4-48e8-b377-6f76c05d09a1"
  }
]
*/
{
  "ok": true,
  "webhooks": [
    {
      "url": "<string>",
      "webhook_id": "<string>",
      "event_types": [
        "<string>"
      ],
      "secret": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

OK

ok
boolean
required
webhooks
object[]
required