Skip to content

Replay a captured event against an alternate target

POST
/v1/endpoints/{endpointId}/events/{eventId}/replay
curl --request POST \
--url https://api.catchbin.io/v1/endpoints/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/replay \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "mode": "example", "target_url": "example", "target_secret": "example" }'
endpointId
required
string format: uuid
eventId
required
string format: uuid
Media typeapplication/json
object
mode
string
target_url
required
string
>= 1 characters
target_secret
string
Examplegenerated
{
"mode": "example",
"target_url": "example",
"target_secret": "example"
}

OK

Media type*/*
object
result
string
target_status
integer format: int32
network_failure_reason
string
duration_ms
integer format: int64
response_excerpt_base64
string
excerpt_truncated
boolean
source_body_truncated
boolean
mode
string
target_url
string
event_id
string format: uuid
audit_id
string format: uuid

Per-account daily replay limit reached (issue #293). The response carries a Retry-After header (seconds to the next UTC midnight) and RateLimit-Limit / RateLimit-Remaining / RateLimit-Reset headers.

Media type*/*
object
result
string
target_status
integer format: int32
network_failure_reason
string
duration_ms
integer format: int64
response_excerpt_base64
string
excerpt_truncated
boolean
source_body_truncated
boolean
mode
string
target_url
string
event_id
string format: uuid
audit_id
string format: uuid
Download OpenAPI spec:YAML · JSON