StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Channels
Update Channel Thread
This endpoint creates a new channel thread
PUT
/
v1
/
channel_thread
curl --location --request PUT 'https://api.stateset.com/v1/channel_thread' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"data": {
"insert_channel_thread": {
"returning": [
{
"id": "",
"name": "",
"uuid": "",
"user_id": ""
}
]
}
}
}
Body
This is the ID of the channel thread to be created.
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request PUT 'https://api.stateset.com/v1/channel_thread' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"data": {
"insert_channel_thread": {
"returning": [
{
"id": "",
"name": "",
"uuid": "",
"user_id": ""
}
]
}
}
}
curl --location --request PUT 'https://api.stateset.com/v1/channel_thread' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"data": {
"insert_channel_thread": {
"returning": [
{
"id": "",
"name": "",
"uuid": "",
"user_id": ""
}
]
}
}
}