Get
/api/webhooks-management/webhooks/{id}
Returns a single webhook subscription owned by the company.
Behavior:
- Returns 404 when the webhook does not exist for this company.
- For security, secret is returned only during registration and secret rotation.
- In find responses, secret is intentionally sanitized and returned as null.
Security
HTTP
Type bearer
Path parameters
id
integer (int64) Required
Webhook subscription identifier.
Responses
200
Webhook subscription returned successfully.
{
"id": 1,
"creatorId": 300,
"url": "https://api.yoursite.com/webhook",
"eventTypes": [
"variant.added"
],
"status": "ACTIVE",
"secret": null,
"failuresCount": 0
}object
id
integer (int64)
creatorId
integer (int64)
url
string
eventTypes
Array of string
string
status
string
secret
string
createdAt
string (date-time)
updatedAt
string (date-time)
failuresCount
integer (int64)
firstFailureAt
string (date-time)
lastFailureAt
string (date-time)
lastSuccessAt
string (date-time)
404
Webhook subscription was not found for this company.
"Webhook not found"string