Skip to content
Sign in Create account

Get a webhook endpoint by ID

GET /api/v1/webhooks/endpoints/{id}

Returns one webhook endpoint belonging to the authenticated organization, without its HMAC secret. A missing or other-organization endpoint returns 404.

Authenticate with a portal session token.

Parameters

  • id integer path required

Responses

200 Webhook endpoint metadata.

application/json WebhookEndpoint

  • created_at string (date-time) required
  • events array of string or null required
  • id integer required
    Example: 42
  • is_active boolean required
  • url string (uri) required
    Length: at most 512 characters

Generated sample

{
  "created_at": "2026-01-01T00:00:00Z",
  "events": [
    "receipt.signed",
    "compliance.pack.*"
  ],
  "id": 42,
  "is_active": true,
  "url": "https://example.com"
}
401 Missing or invalid bearer token.

application/json object

Any keys are accepted.

403 An authenticated user with an unverified email address receives 403.

application/json object

Any keys are accepted.

404 Endpoint was not found in this organization.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The request was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string