Curae Platform
API referencePlatform Webhooks

Retrieve a Platform webhook endpoint

Retrieves a webhook endpoint owned by the API key's customer account.

GET
/api/platform/v1/webhook-endpoints/{id}

Retrieves a webhook endpoint owned by the API key's customer account.

Authorization

platformApiKey
headerAuthorizationBearer <token>

Curae Platform API key using the format Bearer . Keys are opaque credentials such as cae_live_..., not JWTs.

Path Parameters

id*string

Webhook endpoint identifier.

Formatuuid

Header Parameters

If-None-Match?string

Optional weak or strong entity tag. Matching validators return 304 Not Modified.

Response Body

Webhook endpoint

application/json
  1. response
id*string
Formatuuid
resourceType*string
url*string
Formaturi
eventTypes*array<>

The event types the endpoint subscribes to. Empty for a deletion-only endpoint, which receives only the event types every ACTIVE endpoint is always sent.

Items0 <= items
status*string
Value in"ACTIVE""DISABLED""SUSPENDED"
consecutiveFailures*integer
Range0 <= value
lastDeliveryAttemptAt*string
Formatdate-time
lastSuccessfulDeliveryAt*string
Formatdate-time
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
_version*string

Strong ETag-compatible version that changes only when the customer-visible configuration (url, eventTypes, status) changes. Operational fields (consecutiveFailures, lastDeliveryAttemptAt, lastSuccessfulDeliveryAt) mutate on every outbound delivery and do NOT affect _version, so conditional GET requests return 304 Not Modified for unchanged configuration even on busy endpoints.

_links*
Example Request
curl -X GET 'https://api.curaeai.com/api/platform/v1/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "resourceType": "WebhookEndpoint",  "url": "http://example.com",  "eventTypes": [],  "status": "ACTIVE",  "consecutiveFailures": 0,  "lastDeliveryAttemptAt": "2019-08-24T14:15:22Z",  "lastSuccessfulDeliveryAt": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "_version": "string",  "_links": {    "self": {      "href": "string"    }  }}