POST
/
monetization
/
integrations
/
v1
/
cleeng
curl --request POST \
  --url https://api.mottostreaming.com/monetization/integrations/v1/cleeng \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "broadcaster_id": "<string>",
  "api_key": "<string>",
  "is_production": true
}'
{
  "integration": {
    "id": "<string>",
    "project_id": "<string>",
    "broadcaster_id": "<string>",
    "api_key": "<string>",
    "is_production": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

CleengIntegration

project_id
string
required

The Motto project to which this integration belongs

broadcaster_id
string
required

The Cleeng broadcaster ID (sometimes called the Cleeng publisher ID)

api_key
string
required

The Cleeng API key (sometimes called the Cleeng publisher token)

is_production
boolean
required

Whether the integration is in production (true) or sandbox (false)

Response

200
application/json
OK
integration
object

CleengIntegration