GET
/
webhooks
curl --request GET \
  --url https://{tenant_id}.hanko.io/admin/webhooks \
  --header 'Authorization: Bearer <token>'
{
  "database": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "callback": "<string>",
      "enabled": true,
      "failures": 1,
      "expires_at": "2023-11-07T05:31:56Z",
      "events": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "event": "user"
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2022-09-14T12:15:09.788784Z"
    }
  ],
  "config": [
    {
      "callback": "<string>",
      "events": [
        "user"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.

Response

200 - application/json
config
object[]
database
object[]