Ask Indrava's assistant to draft or plan posts

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-agent-ask"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/d40ecd32-033b-4bb0-ba06-470802b5c8db/social-card.svg?v=3e7ae33eec8b" alt="Ask Indrava's assistant to draft or plan posts" width="600" height="315"></a>
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
threadId
string
text
string
required
channelIds
string[]
= []
{
  "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