Ask Indrava's assistant to draft or plan posts
POST
http://localhost:4000/api/v1 /posts/assistant One message in, the assistant's answer out. It reads channels, posts, slots and analytics and saves drafts by itself; anything that schedules, publishes, edits or deletes is returned in pending and runs only after a member approves it in the app (Assistant, the conversation threadId). Send threadId to continue a conversation. Counts one AI call.
Request body
application/json
threadIdstring
textstring
required
channelIdsstring[]
{
"threadId": "string",
"text": "string",
"channelIds": []
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/posts/assistant" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"threadId":"string","text":"string","channelIds":[]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated