API ReferenceConnections

/public/connections

POST
/public/connections

Header Parameters

X-API-Version?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://companion-api.napster.com/public/connections" \  -H "Content-Type: application/json" \  -d '{}'
{
  "token": "string",
  "connection": {
    "id": "string"
  }
}
{
  "code": "string",
  "description": "string",
  "type": "failure",
  "numericType": 0
}