API referencePublic tokens
POST /public-ingest-tokens
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/public-ingest-tokens" \ -H "Content-Type: application/json" \ -d '{ "channelId": "string", "environmentId": "string", "name": "string" }'{ "$schema": "https://example.com/schemas/CreateTokenOutputBody.json", "active": true, "appId": "string", "channelId": "string", "createdAt": "string", "environmentId": "string", "lastUsedAt": "string", "name": "string", "orgId": "string", "prefix": "string", "token": "string", "tokenId": "string"}channelId*string
Channel the token can ingest into
environmentId*string
Environment the token is bound to
name*string
Human-readable token label
Length
1 <= length <= 60