Skip to content
myela

Retrieve webhook endpoint

GET/v1/webhook_endpoints/{webhook_endpoint_id}Link

SandboxSecret keywebhookEndpoints.retrieve

Request fields

Edit a field and the generated request updates immediately.

Path parameters
stringrequired

The webhook endpoint id in the request path.

Response contract

The successful wire shape and errors an integration should branch on.

200

Webhook endpoint

application/json
idstringrequired
Unique endpoint identifier.
object"webhook_endpoint"required
Stable resource discriminator.
urlstringrequired
Delivery destination.
descriptionstring | nullrequired
Optional endpoint description.
enabledEventsstring[]required
Subscribed event types.
statusstringrequired
Endpoint state.
secretLast4stringrequired
Last four characters of the signing secret.
createdAtstringrequired
ISO 8601 creation timestamp.
Example response
{
  "id": "whe_01JEXAMPLE",
  "object": "webhook_endpoint",
  "url": "https://example.com/webhooks/myela",
  "description": null,
  "enabledEvents": [
    "invoice.paid",
    "payment.settled"
  ],
  "status": "enabled",
  "secretLast4": "m9Qx",
  "createdAt": "2026-08-10T20:49:51.653Z"
}
Error responses
401authentication_failed

The key is missing, malformed, revoked, or invalid for this environment.

403permission_denied

The key does not have webhookEndpoints.retrieve.

404not_found

The resource does not exist for this merchant.

422invalid_request

One or more request fields are invalid.