Skip to main content
GET
/
workspaces
/
{ws_id}
/
attempts
/
{id}
Retrieve a webhook attempt
curl --request GET \
  --url http://localhost:8080/workspaces/{ws_id}/attempts/{id}
{
  "id": "<string>",
  "event_id": "<string>",
  "endpoint_id": "<string>",
  "status": "INIT",
  "attempt_number": 123,
  "scheduled_at": 123,
  "attempted_at": 123,
  "trigger_mode": "INITIAL",
  "exhausted": true,
  "error_code": "TIMEOUT",
  "request": {
    "method": "<string>",
    "url": "<string>",
    "headers": {},
    "body": "<string>"
  },
  "response": {
    "status": 123,
    "latency": 123,
    "headers": {},
    "body": "<string>"
  },
  "created_at": 123,
  "updated_at": 123
}

Path Parameters

ws_id
string
required

The workspace id

Example:

"default"

id
string
required

Response

200 - application/json

OK

id
string
event_id
string
endpoint_id
string
status
enum<string>
Available options:
INIT,
QUEUED,
SUCCESSFUL,
FAILED,
CANCELED
attempt_number
integer
scheduled_at
integer
attempted_at
integer | null
trigger_mode
enum<string>
Available options:
INITIAL,
MANUAL,
AUTOMATIC
exhausted
boolean
error_code
enum<string> | null
Available options:
TIMEOUT,
UNKNOWN,
ENDPOINT_DISABLED,
ENDPOINT_NOT_FOUND
request
object | null
response
object | null
created_at
integer
updated_at
integer