Webhooks
Get a list of webhooks
API Documentation
Public
- Introduction
- Flow
- Status
- Passcode
- Password
- WebAuthn
- .well-known
- Third Party
- Token
- User Management
- Email Management
- Session Management
Admin
- Introduction
- Status
- User Management
- Email Management
- Password Management
- WebAuthn credential Management
- OTP Management
- Session Management
- Webhooks
- Audit Logs
- Metrics
Webhooks
Get a list of webhooks
Returns a list of all configured webhooks.
GET
/
webhooks
Copy
curl --request GET \
--url https://{tenant_id}.hanko.io/admin/webhooks \
--header 'Authorization: Bearer <token>'
Copy
{
"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
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
Required range:
x > 0
Time of last update of the audit log
Was this page helpful?
Copy
curl --request GET \
--url https://{tenant_id}.hanko.io/admin/webhooks \
--header 'Authorization: Bearer <token>'
Copy
{
"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"
]
}
]
}