Channel sets
GET
http://localhost:4000/api/v1 /sets List channel sets
A set is a named group of channels to post to together.
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/sets" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
[
{
"id": "string",
"organizationId": "string",
"name": "string",
"channelIds": [
"string"
]
}
]Schema
idstring
required
organizationIdstring
required
namestring
required
channelIdsstring[]
required
POST
http://localhost:4000/api/v1 /sets Create or update a channel set
Request body
application/json
idstring
namestring
required
channelIdsstring[]
required
{
"id": "string",
"name": "string",
"channelIds": [
"string"
]
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/sets" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"string","name":"string","channelIds":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}DELETE
http://localhost:4000/api/v1 /sets/{id} Delete a channel set
Parameters
idstring
path
required
Code samples
cURL
curl -X DELETE "http://localhost:4000/api/v1/sets/{id}" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}GET
http://localhost:4000/api/v1 /sets/templates List the content each channel set starts a new post with
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/sets/templates" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
[
{
"setId": "string",
"organizationId": "string",
"description": "string",
"parts": {},
"targets": {}
}
]Schema
setIdstring
required
organizationIdstring
required
descriptionstring
required
partsrequired
targetsrequired
POST
http://localhost:4000/api/v1 /sets/templates Store or replace the starting content of a channel set
Request body
application/json
setIdstring
required
descriptionstring
partsobject[]
Show child parameters
textstring
required
mediaIdsstring[]
delaySecondsinteger
targetsobject
{
"setId": "string",
"description": "string",
"parts": [
{
"text": "string",
"mediaIds": [],
"delaySeconds": 0
}
],
"targets": {}
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/sets/templates" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"setId":"string","description":"string","parts":[{"text":"string","mediaIds":[],"delaySeconds":0}],"targets":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated