Docs
list_webhook_endpoints
The workspace's outgoing webhook endpoints: URL, chosen events, on/off, and delivery health (failures in a row, last success and failure). Never returns signing secrets. `eventTypes` lists every event. With `endpointId`, only that endpoint plus its `deliveries`, newest first (kept 30 days, up to `limit`): event, status (pending while retrying, delivered, failed, skipped), attempts, last HTTP status and error; bodies aren't returned. Owners add and change endpoints in Settings > Webhooks.
The workspace's outgoing webhook endpoints: URL, chosen events, on/off, and delivery health (failures in a row, last success and failure). Never returns signing secrets. eventTypes lists every event. With endpointId, only that endpoint plus its deliveries, newest first (kept 30 days, up to limit): event, status (pending while retrying, delivered, failed, skipped), attempts, last HTTP status and error; bodies aren't returned. Owners add and change endpoints in Settings > Webhooks.
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"endpointId": {
"format": "uuid",
"type": "string"
},
"limit": {
"default": 25,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"workspaceId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"endpoints": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"url": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"events": {
"items": {
"enum": [
"content.created",
"content.updated",
"comment.created",
"proposal.created",
"review.verdict",
"post.awaiting_confirmation",
"post.scheduled",
"post.published",
"post.failed",
"post.needs_attention",
"post.removed",
"post.removal_failed",
"results.updated",
"comments.updated",
"channel.connected",
"channel.disconnected"
],
"type": "string"
},
"type": "array"
},
"status": {
"enum": [
"active",
"disabled"
],
"type": "string"
},
"disabledAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"disabledReason": {
"type": [
"string",
"null"
]
},
"consecutiveFailures": {
"type": "integer"
},
"failingSince": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"lastSuccessAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"lastFailureAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"lastFailureMessage": {
"type": [
"string",
"null"
]
},
"createdAt": {
"format": "date-time",
"type": "string"
}
},
"required": [
"id",
"url",
"description",
"events",
"status",
"disabledAt",
"disabledReason",
"consecutiveFailures",
"failingSince",
"lastSuccessAt",
"lastFailureAt",
"lastFailureMessage",
"createdAt"
],
"type": "object"
},
"type": "array"
},
"eventTypes": {
"items": {
"additionalProperties": false,
"properties": {
"type": {
"enum": [
"content.created",
"content.updated",
"comment.created",
"proposal.created",
"review.verdict",
"post.awaiting_confirmation",
"post.scheduled",
"post.published",
"post.failed",
"post.needs_attention",
"post.removed",
"post.removal_failed",
"results.updated",
"comments.updated",
"channel.connected",
"channel.disconnected"
],
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"type",
"label"
],
"type": "object"
},
"type": "array"
},
"deliveries": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"eventId": {
"type": "string"
},
"eventType": {
"type": "string"
},
"status": {
"enum": [
"pending",
"delivered",
"failed",
"skipped"
],
"type": "string"
},
"attempts": {
"type": "integer"
},
"lastAttemptAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"lastStatusCode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"lastError": {
"type": [
"string",
"null"
]
},
"deliveredAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"format": "date-time",
"type": "string"
}
},
"required": [
"id",
"eventId",
"eventType",
"status",
"attempts",
"lastAttemptAt",
"lastStatusCode",
"lastError",
"deliveredAt",
"createdAt"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"endpoints",
"eventTypes"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "List webhook endpoints"
}