Auth API reference

Auth API · App-Outbound-Webhooks

get/v1/apps/{app_id}/webhook/attemptsAuth

Webhook delivery attempts to any of this app's endpoints, newest first, with status code, latency and error. Filter with `?outcome=failed` to see only the deliveries that did not land. Deprecated: use `/v1/apps/{appId}/webhooks/endpoints` (several endpoints, event descriptions, Send test, event log, replay). This route acts on the app's first endpoint. Responses carry `Deprecation: true` and `Sunset: Fri, 15 Jan 2027 00:00:00 GMT`.

Path parameters

app_id*string

Id of the app.

Query parameters

limitinteger

Page size. Defaults to 50, clamped to 200.

cursorstring

Opaque `next_cursor` from the previous page.

outcomeenum (2)

`succeeded` is a 2xx response. `failed` is every other status AND every attempt that got no response at all (timeout, DNS failure, TLS error). Omit for both. An unrecognised value is ignored rather than rejected.

Response · 200 Page of attempts with `next_cursor` and `has_more`.

data*array
pagination*object
next_cursor*string

Opaque cursor for the next page. `null` when no more pages are available.

Example: "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQwMDowMDowMFoifQ"

has_more*boolean

True iff another page exists; if true, pass `next_cursor` on the next request.

Example: false

Example

Request

GET https://api.auth.productcraft.co/v1/apps/{app_id}/webhook/attempts
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "id": "string",
      "event_id": "string",
      "event_type": "user.email_verified",
      "attempt_number": 1,
      "status_code": 0,
      "error_message": "string",
      "latency_ms": 0,
      "attempted_at": "2026-01-01T00:00:00.000Z",
      "url": "string"
    }
  ],
  "pagination": {
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQwMDowMDowMFoifQ",
    "has_more": false
  }
}