POST /channel-sites.json

POST /channel-sites.json
application/json

Body Required

  • channelId integer(int32) Required

    Channel

  • externalId string | null

    External

  • name string | null

    Name

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • channelId integer(int32) Required

      Channel

    • createdAt string(date-time)

      Created at

    • externalId string | null

      External

    • id integer(int32)

      Id

    • name string | null

      Name

    • updatedAt string(date-time)

      Updated at

POST /channel-sites.json
curl \
 --request POST 'http://api.example.com/v1/channel-sites.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"channelId":42,"externalId":"string","name":"string"}'
Request examples
{
  "channelId": 42,
  "externalId": "string",
  "name": "string"
}
Response examples (200)
{
  "channelId": 42,
  "createdAt": "2025-05-04T09:42:00Z",
  "externalId": "string",
  "id": 42,
  "name": "string",
  "updatedAt": "2025-05-04T09:42:00Z"
}