API referenceConnections

Re-run a webhook connection's payload

POST
/connections/{id}/payloads/{payload_id}/rerun

Runs a kept payload through the connection again, as if it had just arrived, and returns what came of it. A whole transcript whose call already has a conversation imports nothing again.

Authorization

apiKey
X-API-Key<token>

API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)

In: header

Path Parameters

id*string

Connection ID

payload_id*string

Payload ID

Header Parameters

Idempotency-Key*string

Idempotency key that prevents processing a request twice. Use a unique UUID v4 per request.

Lengthlength <= 255

Response Body

application/json

application/json

curl -X POST "https://example.com/connections/con_2jxsy8cc8v0348asy6t1/payloads/iwe_2jxsy8cc8v0348asy6t1/rerun" \  -H "Idempotency-Key: string"
{  "conversation_id": "string",  "error_code": "plan_limit"}