Skip to navigation

Create webhook endpoint

Authentication

AuthorizationBearer

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

Headers

Toden-VersionstringOptional
Myaza-VersionstringOptional
X-Request-IdstringOptional<=128 characters
Idempotency-KeystringRequiredformat: "^[A-Za-z0-9._:~-]+$"8-200 characters

Request

This endpoint expects an object.
urlstringRequiredformat: "uri"
eventslist of enumsRequired
descriptionstringOptional
replayWindowSecondsintegerOptional60-900Defaults to 300
apiVersionenumOptional

v2 is the current version. Its date, 2026-08-11, is an alias that keeps working.

Allowed values:

Response

Success
endpointobject
secretVersioninteger
replayedboolean

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error