APITelemetry

Create an ingest key

Create an ingest key. Returns the full token once.

POST/ingest-keys

Create an ingest key. Returns the full token once.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/ingest-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "key": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "last_four": "string",    "created_at": "2019-08-24T14:15:22Z"  },  "token": "string",  "endpoint": "http://example.com"}
{  "code": "bad_request",  "message": "string",  "validation_errors": [    {      "field": "string",      "message": "string",      "rule": "string"    }  ]}