๐Ÿ† Omniagent API Hackathon ยท May 18 โ€“ June 15 โ€” Register now and start building
API ReferenceConnections

/public/connections

POST
/public/connections

Authorization

ApiKeyAuth
X-Api-Key<token>

API key for authentication. Passed as a header on every request.

In: header

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 '{    "companionId": "string",    "providerConfig": {      "voiceId": "string"    }  }'
{
  "token": "string",
  "connection": {
    "id": "string"
  }
}
{
  "code": "string",
  "description": "string",
  "type": "failure",
  "numericType": 0
}