Create Webhook
Creates a new webhook for this tenant.
Analytic events
- WEBHOOK_CREATE_START
- WEBHOOK_CREATE_SUCCESS
- WEBHOOK_CREATE_FAIL
SecuritybearerAuth
Request
Request Body schema: application/jsonrequired
The webhook payload
Responses
201
Webhook created
400
Bad Request
post/core/v1/webhooks
Request samples
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
Response samples
- 201
- 400
application/json
{- "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
SecuritybearerAuth
Request
Responses
200
Webhooks retrieved
400
Bad Request
get/core/v1/webhooks
Request samples
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
Response samples
- 200
- 400
application/json
{- "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
SecuritybearerAuth
Request
Responses
200
Webhook retrieved
400
Bad Request
get/core/v1/webhooks/{id}
Request samples
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
Response samples
- 200
- 400
application/json
{- "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
SecuritybearerAuth
Request
Request Body schema: application/jsonrequired
Update Webhook
Responses
200
Webhook updated
400
Bad Request
404
The webhook is not found
put/core/v1/webhooks/{id}
Request samples
- Payload
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
application/json
{- "events": [
- "OpenIdCredentialIssued"
], - "disabled": true
}
Response samples
- 200
- 400
- 404
application/json
{- "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
SecuritybearerAuth
Request
Responses
204
Webhook deleted
400
Bad Request
404
The webhook is not found
delete/core/v1/webhooks/{id}
Request samples
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
Response samples
- 400
- 404
application/json
{- "code": "BadRequest",
- "message": "Validation Error",
- "details": [
- {
- "location": "params",
- "msg": "Invalid value",
- "param": "webhookId",
- "value": "abc"
}
]
}
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.
SecuritybearerAuth
Responses
200
Webhook JWKs retrieved
get/core/v1/webhooks/jwks
Request samples
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
Response samples
- 200
application/json
{- "keys": [
- {
- "kty": "OKP",
- "crv": "Ed25519",
- "x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",
- "use": "sig",
- "kid": "FdFYFzERwC2uCBB46pZQi4GG85LujR8obt-KWRBICVQ"
}
]
}