Skip to content
Chatwise
Skip to Content
Developer docs

Get a webhook endpoint

GET /v1/webhook-endpoints/{endpointId}. Reads one endpoint and how its deliveries are going.

View as Markdown

GEThttps://api.chatwise.so/v1/webhook-endpoints/{endpointId}

Reads one endpoint and how its deliveries are going.

The API key needs the webhooks:read scope. See authentication and scopes.

Example

curl 'https://api.chatwise.so/v1/webhook-endpoints/we_01JE2Z3K8Q9V7W5X4Y3Z2A1B0C' \
  -H "Authorization: Bearer $CHATWISE_API_KEY"

Path parameters

NameTypeDescription
endpointIdstringRequired. The endpoint's id (we_…).

Response

200. The endpoint.

{
  "data": {
    "id": "we_01JE2Z3K8Q9V7W5X4Y3Z2A1B0C",
    "name": "Order support",
    "url": "https://example.com/webhooks/chatwise",
    "events": [
      "message.received"
    ],
    "accountIds": [],
    "status": "ACTIVE",
    "apiVersion": "2026-12-01",
    "health": {
      "lastSuccessAt": "2026-11-12T09:21:08.000Z",
      "lastFailureAt": null,
      "consecutiveFailures": 0,
      "disabledAt": null,
      "disabledReason": null
    },
    "createdAt": "2026-11-02T10:00:00.000Z",
    "updatedAt": "2026-11-12T09:21:08.000Z"
  }
}
FieldTypeDescription
data.idstringThe endpoint's id.
data.namestringThe endpoint's name.
data.urlstringWhere events are sent.
data.eventsarray of stringsThe events it receives. Each one of message.received, message.sent, message.delivered, message.read, message.failed, comment.received.
data.accountIdsarray of stringsThe accounts it receives events for. Empty means every account.
data.statusstringACTIVE, PAUSED by the workspace, or DISABLED by Chatwise (see health.disabledReason).
data.apiVersionstringThe payload format it receives, as a date.
data.healthobjectHow its deliveries are going.
data.health.lastSuccessAtstring or nullWhen an attempt last succeeded. ISO 8601, in UTC.
data.health.lastFailureAtstring or nullWhen an attempt last failed. ISO 8601, in UTC.
data.health.consecutiveFailuresintegerFailed attempts since the last success.
data.health.disabledAtstring or nullWhen Chatwise disabled it. ISO 8601, in UTC.
data.health.disabledReasonstring or nullWhy Chatwise disabled it.
data.createdAtstringWhen it was created. ISO 8601, in UTC.
data.updatedAtstringWhen it, or its health, last changed. ISO 8601, in UTC.

Errors

StatusMessageWhat it means
400Validation failedA parameter or body field is missing, unknown or malformed. errors lists each one.
401A valid Bearer API key is requiredThe Authorization header is missing or isn't Bearer <API key>.
401Invalid or revoked API keyThe key doesn't exist, was revoked, or has expired.
401Invalid API keyChatwise couldn't check the key. Try again.
403API key does not have the required scope: webhooks:readThe key lacks the route's scope. Create a key that has it.
404Webhook endpoint not foundNo endpoint with this id in the key's workspace.
429API key rate limit exceededWait the number of seconds in the Retry-After header.
500Internal server errorSomething failed in Chatwise. Retry reads with backoff.

The body of an error is described in errors.

On this page