Logs & webhooks
Create a webhook endpoint
POST/v1/applications/{app_id}/webhooks
At most 10 endpoints per application (422 webhook_limit). The
signing secret is returned only in this response; store it, it
cannot be read back. See the WebhookDelivery schema for the
delivery shape and headers.
Yol parametreleri
app_idstringzorunluÖrnek:
app_seller
Gövde application/json
urlstring (uri)zorunluMust be https, a public hostname (no IP literal, port, credentials, localhost or .internal/.local suffix), at most 500 characters.
Örnek:
https://hooks.anka.com.tr/foxeventsstring | "*"[]zorunluDeğerler:
user.createduser.signed_insign_in.failedpassword.resetmfa.enrolledmfa.removedsign_in.mfa_required
Yanıtlar
201CreatedWebhookEndpointWithSecret
Created. The secret is returned only once.
idstringÖrnek:
whe_8f2c91a7urlstringeventsstring[]secretstringSigns deliveries (Standard Webhooks). Shown only in this response.
Örnek:
whsec_8f2c91a7b3d04e5f...
400Bad RequestError
invalid_webhook_urlorinvalid_events.errorobjectzorunlu5 alan
codestringzorunluStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Örnek:
region_unavailablemessagestringzorunluPlain English, for developers
regionstringboş olabilirRegion that produced the error, if any
Değerler:
EUTRretryablebooleanzorunludetailsobject
422Unprocessable ContentError
webhook_limit: the application already has 10 endpoints.errorobjectzorunlu5 alan
codestringzorunluStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Örnek:
region_unavailablemessagestringzorunluPlain English, for developers
regionstringboş olabilirRegion that produced the error, if any
Değerler:
EUTRretryablebooleanzorunludetailsobject