Channel sets

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-channel-sets"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/dc2218e8-f5a0-4da0-9e0b-69d63c5e9215/social-card.svg?v=3e7ae33eec8b" alt="Channel sets" width="600" height="315"></a>
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
id
string
required
organizationId
string
required
name
string
required
channelIds
string[]
required
POST http://localhost:4000/api/v1/sets

Create or update a channel set

Request body

application/json
id
string
name
string
required
channelIds
string[]
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

id
string
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
setId
string
required
organizationId
string
required
description
string
required
parts
required
targets
required
POST http://localhost:4000/api/v1/sets/templates

Store or replace the starting content of a channel set

Request body

application/json
setId
string
required
description
string
parts
object[]
Show child parameters
text
string
required
mediaIds
string[]
= []
delaySeconds
integer
targets
object
= {}
{
  "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