POST
/
v1
/
collections
/
{collectionID}
/
threads
curl --request POST \
  --url https://api.storytell.ai/v1/collections/{collectionID}/threads \
  --header 'Content-Type: application/json' \
  --data '{
  "collectionId": [
    127
  ],
  "flags": [
    "<string>"
  ],
  "threadIds": [
    [
      127
    ]
  ]
}'
{
  "code": "<string>",
  "data": [
    {
      "collectionId": [
        127
      ],
      "joinId": [
        127
      ],
      "threadId": [
        127
      ]
    }
  ],
  "details": {
    "consumption": {
      "units": 123
    },
    "operation": {
      "duration": 123,
      "operationId": "<string>"
    }
  },
  "done": true,
  "eventKey": "<string>",
  "message": "<string>"
}

Path Parameters

collectionID
string
required

Body

application/json
collectionId
integer[]
required
flags
string[]
required
threadIds
array
required

Response

200
application/json
Success response
code
string
required
data
object[]
required
details
object
required
done
boolean
required
eventKey
string
required
message
string
required