API referenceConnections

Rotate the receiver URL

POST
/connections/{id}/rotate-url

Gives the connection a new receiver URL, shown only in this response. The old URL stops at once: update it in the vendor's settings before calls resume.

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.

Lengthlength <= 255

Response Body

application/json

application/json

curl -X POST "https://example.com/connections/con_2jxsy8cc8v0348asy6t1/rotate-url" \  -H "Idempotency-Key: string"
{  "created_at": "2019-08-24T14:15:22Z",  "environment": "test",  "has_credentials": true,  "id": "con_2jxsy8cc8v0348asy6t1",  "last_error_code": "plan_limit",  "last_event_at": "2019-08-24T14:15:22Z",  "mode": "transcript",  "moment_types": [    "string"  ],  "name": "string",  "organization_id": "string",  "receiver_url": "string",  "signing_secret": "string",  "status": "active",  "tenant_id": "string",  "updated_at": "2019-08-24T14:15:22Z",  "vendor": "recall"}