Webhooks
Create a new database webhook
POST
https://{tenant_id}.hanko.io/admin
/
webhooks
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your API key. Must only be used when using Hanko Cloud.
Body
application/json
callback
string
requiredevents
enum<string>[]
requiredAvailable options:
user
, user.create
, user.delete
, user.update
, user.update.email
, user.update.email.create
, user.update.email.delete
, user.update.email.primary
Response
201 - application/json
id
string
callback
string
enabled
boolean
failures
integer
Required range:
x > 0
expires_at
string
events
object[]
created_at
string
updated_at
string
Time of last update of the audit log
Was this page helpful?