---
title: "Retrieve a webhook attempt"
method: GET
path: "/workspaces/{ws_id}/attempts/{id}"
tags: ["Attempt"]
---

# Retrieve a webhook attempt

`GET /workspaces/{ws_id}/attempts/{id}`

## Path parameters

- `id` string, required

## Response `200`

OK

- Attempt
  - `id` string
  - `event_id` string
  - `endpoint_id` string
  - `status` 'INIT' | 'QUEUED' | 'SUCCESSFUL' | 'FAILED' | 'CANCELED'
  - `attempt_number` integer
  - `scheduled_at` integer
  - `attempted_at` integer, nullable
  - `trigger_mode` 'INITIAL' | 'MANUAL' | 'AUTOMATIC'
  - `exhausted` boolean
  - `error_code` 'TIMEOUT' | 'UNKNOWN' | 'ENDPOINT_DISABLED' | 'ENDPOINT_NOT_FOUND', nullable
  - `request` object, nullable
    - `method` string
    - `url` string
    - `headers` object, nullable
    - `body` string, nullable
  - `response` object, nullable
    - `status` number
    - `latency` integer — Latancy of response in milliseconds
    - `headers` object, nullable
    - `body` string, nullable
  - `created_at` integer
  - `updated_at` integer

---

[API](https://skmtc.net/webhookx-io/apis/webhookx-admin-api.md) · [All operations](https://skmtc.net/webhookx-io/apis/webhookx-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/webhookx-io/webhookx-admin-api/versions/af64d4e6c0c3/schema)
