Get one event endpoint with its delivery health (failure count, last success / failure).

GEThttps://api.appgoat.ai/v1/webhooks/{id}
FreeoperationId getWebhook

Request

curl "https://api.appgoat.ai/v1/webhooks/123" \
  -H "x-api-key: $APPGOAT_API_KEY"

Path parameters

idintegerrequired

Response

200 with data: WebhookEndpoint. See the envelope for meta.

idinteger
kind"webhook" | "slack" | "github"
urlstring
github: owner/repo; slack: shortened (the URL is a credential).
descriptionstring | null
event_typesEventType[] | null
activeboolean
disabled_reasonstring | null
failure_countinteger
Consecutive failed attempts.
last_success_atstring | null
last_failure_atstring | null
secretstring
kind webhook: the signing secret, only in the create / rotate response.
secret_hintstring
created_atstring
updated_atstring
Example
{
  "data": {
    "id": 1,
    "kind": "webhook",
    "url": "string",
    "description": "string",
    "event_types": [
      "new_version"
    ],
    "active": false,
    "disabled_reason": "string",
    "failure_count": 1,
    "last_success_at": "2026-10-22T10:00:00Z",
    "last_failure_at": "2026-10-22T10:00:00Z",
    "secret": "string",
    "secret_hint": "string",
    "created_at": "2026-10-22T10:00:00Z",
    "updated_at": "2026-10-22T10:00:00Z"
  },
  "meta": {
    "credits_used": 0,
    "credits_remaining": 9981,
    "request_id": "req_123"
  }
}

Status codes

200
The endpoint.
Missing or invalid API key.
Not found.
Too many requests per second for your plan.