Webhooks
Create an endpoint; the signing secret is shown once
POST
projectKeyheader
AuthorizationBearer <token>A project API key (sk_live_…) with read, enroll or admin scope.
application/json- body
url*stringFormat
uriLength
length <= 2048event_types?array<>Items
1 <= items <= 15Default
[ "*"]Default Response
application/json- response
success*trueValue in
truedata*meta*curl -X POST 'http://localhost:8080/v1/webhooks' \ -H 'Content-Type: application/json' \ -d '{ "url": "http://example.com"}'{ "success": true, "data": { "endpoint": { "id": "string", "url": "string", "event_types": [ "string" ], "status": "string", "disabled_reason": "string", "disabled_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "secret": "string" }, "meta": { "request_id": "string" }}