API referenceConnections
Send a test call
Sends a sample call of the connection's vendor through its receiver path, signed as the vendor signs it: one turn asking for work, then the call's end. The call becomes a test conversation, whatever the connection's environment, so its moments arrive as any call's do.
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
Header Parameters
Idempotency-Key*string
Idempotency key that prevents processing a request twice. Use a unique UUID v4 per request.
Length
length <= 255Response Body
application/json
application/json
curl -X POST "https://example.com/connections/con_2jxsy8cc8v0348asy6t1/test" \ -H "Idempotency-Key: string"{ "conversation_id": "string", "error_code": "plan_limit"}