Wire Docs

Retrieve a webhook endpoint

GET
/v1/webhook_endpoints/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

API key as a bearer token (Authorization: Bearer sk_live_...).

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/webhook_endpoints/string"
{
  "id": "string",
  "object": "webhook_endpoint",
  "url": "string",
  "enabled_events": [
    "string"
  ],
  "status": "enabled",
  "livemode": true,
  "created": 0
}
{
  "error": {
    "type": "invalid_request_error",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string",
    "doc_url": "string",
    "operator_decline_code": "string"
  }
}