API referenceConnections

Rotate the ingest token

POST/connections/{id}/ingest-token

Dashboard only. Issues a new event-ingest token (shown once). Before verification it also returns a fresh setup_url.

Authorization

apiKey
AuthorizationBearer <token>

A project API key: Authorization: Bearer s0_…

In: header

Path Parameters

id*string
Length1 <= length <= 64

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/connections/string/ingest-token"
{  "object": "ingest_token",  "connection_id": "string",  "ingest": {    "header_name": "x-stamp0-ingest-token",    "token": "string",    "endpoint": "http://example.com"  },  "setup_url": "http://example.com"}