API Reference
Create a Webhook
/v1/webhooksCreates a new webhook for this tenant.
Roles
Analytics Events
Authorization
bearerAuth In: header
Request Body
application/json
The webhook payload
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/webhooks" \ -H "Content-Type: application/json" \ -d '{ "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com" }'{ "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c", "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com", "disabled": false}Retrieve all Webhooks
/v1/webhooksRetrieves a list of webhooks configured on the tenant.
Roles
Analytics Events
Authorization
bearerAuth In: header
Query Parameters
Range size of returned list.
1 <= value <= 1000100Starting point for the list of entries.
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/webhooks"{ "data": [ { "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c", "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com", "disabled": false }, { "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c", "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com", "disabled": false } ], "nextCursor": "Y3JlYXRlZEF0PTIwMjItMDgtMjJUMDElM0E1OSUzQTE5LjYyMFomaWQ9MGMwOTk2MTEtMTljNC00ZjI5LTg3MjQtNmI5ZTViYTFlZjdj"}Retrieve a Webhook
/v1/webhooks/{webhookId}Retrieve a specific Webhook by providing its ID.
Roles
Analytics Events
Authorization
bearerAuth In: header
Path Parameters
The requested Webhook ID.
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/v1/webhooks/41458e5a-9092-40b7-9a26-d4eb43c5792f"{ "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c", "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com", "disabled": false}Update a Webhook
/v1/webhooks/{webhookId}Updates an existing Webhook by providing its ID.
Roles
Analytics Events
Authorization
bearerAuth In: header
Path Parameters
Webhook ID
uuidRequest Body
application/json
Update Webhook
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/webhooks/41458e5a-9092-40b7-9a26-d4eb43c5792f" \ -H "Content-Type: application/json" \ -d '{ "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com" }'{ "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c", "events": [ "OpenIdCredentialIssued" ], "url": "https://example.com", "disabled": false}Delete a Webhook
/v1/webhooks/{webhookId}Deletes a Webhook by providing its ID.
Roles
Analytics Events
Authorization
bearerAuth In: header
Path Parameters
Webhook ID
uuidResponse Body
application/json
application/json
curl -X DELETE "https://example.com/v1/webhooks/41458e5a-9092-40b7-9a26-d4eb43c5792f"Retrieve Webhook JWKs
/v1/webhooks/jwksRetrieves a list of Webhook JWKs (JSON Web Keys) from the tenant. These keys can be used to verify the HTTP signature and validate the integrity and authorship of generated Webhooks.
This endpoint is intended for public consumption, and as such does not require authentication.
Response Body
application/json
curl -X GET "https://example.com/v1/webhooks/jwks"{ "keys": [ { "kty": "OKP", "crv": "Ed25519", "x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo", "use": "sig", "kid": "FdFYFzERwC2uCBB46pZQi4GG85LujR8obt-KWRBICVQ" } ]}How would you rate this page?
Last updated on