Create Webhook
Creates a new webhook for this tenant.
Analytic events
- WEBHOOK_CREATE_START
- WEBHOOK_CREATE_SUCCESS
- WEBHOOK_CREATE_FAIL
Request Body schema: application/jsonrequired
The webhook payload
Webhook created
Bad Request. The request was malformed or missing required parameters.
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 201
- 400
{- "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
- "events": [
- "OpenIdCredentialIssued"
], - "disabled": false
}
Retrieve all Webhooks
Retrieves a list of webhooks configured on the tenant.
Analytic events
- WEBHOOK_RETRIEVE_LIST_START
- WEBHOOK_RETRIEVE_LIST_SUCCESS
- WEBHOOK_RETRIEVE_LIST_FAIL
Webhooks retrieved
Bad Request. The request was malformed or missing required parameters.
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
{- "data": [
- {
- "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
- "events": [
- "OpenIdCredentialIssued"
], - "disabled": false
}, - {
- "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
- "events": [
- "OpenIdCredentialIssued"
], - "disabled": false
}
], - "nextCursor": "Y3JlYXRlZEF0PTIwMjItMDgtMjJUMDElM0E1OSUzQTE5LjYyMFomaWQ9MGMwOTk2MTEtMTljNC00ZjI5LTg3MjQtNmI5ZTViYTFlZjdj"
}
Retrieve Webhook
Retrieve a specific Webhook by providing its ID.
Analytic events
- WEBHOOK_RETRIEVE_START
- WEBHOOK_RETRIEVE_SUCCESS
- WEBHOOK_RETRIEVE_FAIL
Webhook retrieved
Bad Request. The request was malformed or missing required parameters.
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
- 400
{- "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
- "events": [
- "OpenIdCredentialIssued"
], - "disabled": false
}
Update Webhook
Updates an existing Webhook by providing its ID.
Analytic events
- WEBHOOK_UPDATE_START
- WEBHOOK_UPDATE_SUCCESS
- WEBHOOK_UPDATE_FAIL
Request Body schema: application/jsonrequired
Update Webhook
Webhook updated
Bad Request. The request was malformed or missing required parameters.
Not Found. The specified resource was not found.
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
{- "events": [
- "OpenIdCredentialIssued"
], - "disabled": true
}
- 200
- 400
- 404
{- "id": "0c099611-19c4-4f29-8724-6b9e5ba1ef7c",
- "events": [
- "OpenIdCredentialIssued"
], - "disabled": false
}
Delete Webhook
Deletes a Webhook by providing its ID.
Analytic events
- WEBHOOK_DELETE_START
- WEBHOOK_DELETE_SUCCESS
- WEBHOOK_DELETE_FAIL
Webhook deleted
Bad Request. The request was malformed or missing required parameters.
Not Found. The specified resource was not found.
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 400
- 404
{- "code": "string",
- "type": "string",
- "message": "string",
- "details": [
- {
- "value": "string",
- "msg": "Invalid value",
- "param": "id",
- "location": "body"
}
]
}
Retrieve Webhook JWKs
Retrieves 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 does not require authentication and is publicly available by design.
Webhook JWKs retrieved
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
- 200
{- "keys": [
- {
- "kty": "OKP",
- "crv": "Ed25519",
- "x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
- "use": "sig",
- "kid": "FdFYFzERwC2uCBB46pZQi4GG85LujR8obt-KWRBICVQ"
}
]
}