POST /channel-sites.json
Body Required
-
Channel
-
externalId string | null
External
-
name string | null
Name
POST
/channel-sites.json
curl \
-X POST http://api.example.com/v1/channel-sites.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channelId":42,"externalId":"string","name":"string"}'
Request example
{
"channelId": 42,
"externalId": "string",
"name": "string"
}
Response examples (200)
{
"channelId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"externalId": "string",
"id": 42,
"name": "string",
"updatedAt": "2024-05-04T09:42:00+00:00"
}