API, MCP and CLI on every plan
One set of 239 operations, served three ways: REST under /api/v1, MCP tools at /mcp, and the indrava command. None of them is a paid add-on.
Schedule a post in one call
Create an API key in the app on the Developers screen, choose its scopes, and send it as a bearer token. action is draft, schedule or now.
More than one part makes a thread. More than one target cross-posts. Scheduling and publishing need the posts:publish scope on top of posts:write: a key without it can only save drafts.
If the workspace requires approval, schedule and now are refused with 403: save a draft, then submit it for approval with POST /posts/{postId}/submit.
curl -X POST http://localhost:4000/api/v1/posts \
-H "Authorization: Bearer $INDRAVA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"parts": [{ "text": "Hello from the Indrava API" }],
"targets": [{ "channelId": "CHANNEL_ID" }],
"action": "schedule",
"scheduledAt": "2027-01-31T09:00:00Z"
}'
Every operation
Each row is a REST route and an MCP tool with the same input and the same JSON result.
| REST | MCP tool | What it does | Scope |
|---|---|---|---|
GET /publishing/pause | pause_get | Where publishing is paused | publishing:read |
POST /publishing/pause | pause_pause | Pause all publishing for the workspace or one client | publishing:write |
POST /publishing/resume | pause_resume | Resume publishing, and say what happens to posts whose time passed | publishing:write |
GET /slots/best-times | queue_bestTimes | Best times to post on a channel | slots:read |
GET /slots/queue | queue_status | Queue status: goals, streaks and queue length per channel | slots:read |
GET /slots/{channelId}/queue | queue_order | The queued posts of a channel in order | slots:read |
POST /slots/goals | queue_setGoal | Set a channel's weekly posting goal | slots:write |
POST /slots/{channelId}/shuffle | queue_shuffle | Shuffle a channel's queued posts across their existing times | slots:write |
POST /slots/{channelId}/move | queue_move | Move a queued post to the top or the bottom of its channel's queue | slots:write |
POST /slots/{channelId}/duplicate | queue_duplicate | Copy a posting time to other weekdays | slots:write |
POST /slots/{channelId}/recommended | queue_recommend | Use the recommended times as a channel's posting times | slots:write |
PUT /slots/{channelId}/timezone | queue_setZone | Set the timezone a channel's posting times are read in | slots:write |
GET /slots/categories | queue_categories | Categories (tags) used by posting times, with their pause state | slots:read |
POST /slots/categories/pause | queue_pauseCategory | Pause or resume a category: its posting times are skipped while paused | slots:write |
GET /media/generate/options | ai_generation | List the image and video generators and the credits left | media:read |
POST /media/generate/image | ai_image | Generate an image into the media library | media:write |
POST /media/generate/video | ai_videoStart | Start generating a video into the media library | media:write |
GET /media/generate/video/{id} | ai_videoStatus | Get the state of a video generation | media:read |
POST /ai/draft | aiTools_draft | Write a post from a brief, a text or a web page | ai:write |
POST /ai/rewrite | aiTools_rewrite | Change a post, or a passage of it, by any instruction | ai:write |
POST /ai/translate | aiTools_translate | Translate a post into one or more languages | ai:write |
POST /ai/hashtags | aiTools_hashtags | Suggest hashtags for a post | ai:write |
POST /ai/alt-text | aiTools_altText | Write alt text for pictures in the media library | ai:write |
POST /ai/transcribe | aiTools_transcribe | Transcribe an audio or video file | ai:write |
POST /ai/check | aiTools_check | Check a text for harmful content | ai:write |
POST /ai/score | aiTools_score | Predict how a draft will engage on a channel | ai:write |
GET /analytics/overview | analytics_overview | Totals for a period, with change against the period before | analytics:read |
GET /analytics/channels | analytics_channels | Daily numbers per channel for a period | analytics:read |
GET /analytics/posts | analytics_topPosts | The best-performing posts of a period | analytics:read |
GET /analytics/channels/{id} | analytics_channel | One channel's own platform numbers for its last 7, 30 or 90 days | analytics:read |
GET /analytics/best-time | analytics_bestTime | The weekdays and hours whose posts did best in a period | analytics:read |
GET /analytics/tags | analytics_tags | Performance per tag in a period | analytics:read |
GET /analytics/export | analytics_export | Export one analytics table as CSV, Markdown or an Excel workbook | analytics:read |
GET /analytics/breakdowns | analytics_breakdowns | Hashtags, post types, lengths, hooks, authors, frequency and rates of a period | analytics:read |
GET /analytics/channels/{id}/audience | analytics_audience | A channel's audience by age, gender, country, city and language | analytics:read |
GET /analytics/posts/lookup | analytics_lookup | The numbers of one post, found by its link | analytics:read |
POST /analytics/sync-external | analytics_syncExternal | Read posts made outside Indrava and the audience split now | analytics:write |
GET /analytics/takeaways | analyticsPrefs_takeaways | The weekly score and suggestions of each channel | analytics:read |
GET /channels/providers | channels_providers | List the platforms Indrava can post to | None, public |
GET /channels | channels_list | List connected channels | channels:read |
GET /channels/{id} | channels_get | Get one channel with its platform's rules | channels:read |
PATCH /channels/{id} | channels_rename | Give a channel a display name of your own | channels:write |
DELETE /channels/{id} | channels_remove | Remove a channel | channels:write |
GET /channels/{channelId}/options | channels_fieldOptions | List the choices of a live settings field | channels:read |
POST /channels/connect | channels_connect | Connect a channel with credential fields | channels:write |
PUT /channels/{id}/credentials | channels_updateCredentials | Replace the credentials of a channel that connects with fields | channels:write |
POST /channels/{id}/disable | channels_disable | Pause a channel | channels:write |
POST /channels/{id}/enable | channels_enable | Resume a paused channel | channels:write |
GET /channels/{id}/impact | channels_impact | What removing or pausing a channel touches | channels:read |
PUT /channels/{id}/preferences | channels_setPreferences | Save a channel's own preferences | channels:write |
GET /posts | posts_list | List posts | posts:read |
POST /posts | posts_save | Create or update a post | posts:write |
GET /posts/count | posts_count | Count the posts a list filter matches | posts:read |
GET /posts/{id} | posts_get | Get one post | posts:read |
DELETE /posts/{id} | posts_remove | Move a post to the trash, or remove it from some of its channels | posts:write |
PATCH /posts/{id} | posts_patch | Change a post's time, status, settings or attachments | posts:write |
POST /posts/{id}/reschedule | posts_reschedule | Move a draft, scheduled or waiting post to another time | posts:write |
POST /posts/validate | posts_validate | Check a post against each channel's rules without saving it | posts:write |
POST /posts/{id}/retry | posts_retry | Retry the failed channels of a post | posts:write |
PUT /posts/{id}/remote | posts_setRemote | Record the link of a published post the platform returned none for | posts:write |
POST /posts/bulk | posts_bulk | Create or update up to 100 posts in one call | posts:write |
GET /posts/export | posts_export | Export the posts a list filter matches as CSV | posts:read |
POST /posts/{id}/copy | posts_copy | Copy a post to other clients as drafts | posts:write |
GET /sets | channelSets_list | List channel sets | sets:read |
POST /sets | channelSets_save | Create or update a channel set | sets:write |
DELETE /sets/{id} | channelSets_remove | Delete a channel set | sets:write |
GET /posts/series | recurring_list | List recurring series | posts:read |
POST /posts/series | recurring_create | Start a recurring series | posts:write |
PUT /posts/series/{id} | recurring_update | Change a series' rule and content | posts:write |
DELETE /posts/series/{id} | recurring_remove | Skip the next occurrence, end a series, or delete it | posts:write |
GET /signatures | signatures_list | List signatures | signatures:read |
POST /signatures | signatures_save | Create or update a signature | signatures:write |
DELETE /signatures/{id} | signatures_remove | Delete a signature | signatures:write |
GET /slots | slots_list | List posting slots | slots:read |
PUT /slots/{channelId} | slots_set | Replace the posting slots of a channel | slots:write |
GET /slots/preview | slots_preview | Preview the next free slots per channel | slots:read |
POST /posts/{postId}/enqueue | slots_enqueue | Schedule a post at the next free slot of each of its channels | posts:write |
GET /tags | tags_list | List tags | tags:read |
POST /tags | tags_save | Create or update a tag | tags:write |
DELETE /tags/{id} | tags_remove | Delete a tag | tags:write |
GET /feeds | feeds_list | List feeds | feeds:read |
POST /feeds | feeds_save | Create or update a feed that turns new items into posts | feeds:write |
GET /feeds/preview | feeds_preview | Read the newest items of a feed address without saving anything | feeds:read |
DELETE /feeds/{id} | feeds_remove | Delete a feed | feeds:write |
GET /feeds/{id}/articles | feeds_articles | List the articles a feed has listed | feeds:read |
POST /feeds/{id}/sync | feeds_sync | Read a feed now | feeds:write |
GET /links | links_list | List short links with their clicks, newest first | links:read |
POST /links | links_create | Create a short link that is not tied to a post | links:write |
DELETE /links/{id} | links_remove | Delete a short link | links:write |
GET /links/stats | links_stats | Clicks per day and referrer, for one link or all of them | links:read |
POST /posts/{postId}/submit | approvals_submit | Submit a draft: for approval, or straight to the calendar when none is needed | posts:write |
POST /posts/submissions | approvals_requestMany | Submit up to 100 drafts for approval in one call | posts:write |
POST /approvals/{postId}/decision | approvals_decide | Approve or reject a post that is awaiting approval | approvals:write |
POST /approvals/decisions | approvals_decideMany | Approve or reject up to 100 posts at once | approvals:write |
POST /posts/{postId}/withdraw | approvals_withdraw | Take a post back from approval: it becomes a draft again | posts:write |
GET /approvals | approvals_list | List approval requests (pending ones unless `status` says otherwise) | approvals:read |
GET /clients | clients_list | List clients | clients:read |
GET /posts/{postId}/comments | comments_list | List a post's comments | posts:read |
POST /posts/{postId}/comments | comments_add | Comment on a post, or on a passage of it, or suggest an edit | posts:write |
POST /posts/comments/{id}/replies | comments_reply | Reply to a comment | posts:write |
PATCH /posts/comments/{id} | comments_edit | Edit your own comment | posts:write |
DELETE /posts/comments/{id} | comments_remove | Delete your own comment (or any, for those who manage the workspace) | posts:write |
POST /posts/comments/{id}/resolve | comments_resolve | Settle or reopen a comment thread | posts:write |
POST /posts/comments/{id}/suggestion | comments_suggestion | Accept or reject a suggested edit | posts:write |
GET /posts/review-links | reviewLinks_list | List share links, newest first | posts:read |
POST /posts/review-links | reviewLinks_create | Create a share link for a post, or for a client's posts awaiting approval | posts:write |
DELETE /posts/review-links/{id} | reviewLinks_revoke | Revoke a share link | posts:write |
GET /media | media_list | List the media library | media:read |
GET /media/{id} | media_get | Get one file of the media library | media:read |
PATCH /media/{id} | media_update | Rename a file or set its alt text | media:write |
DELETE /media/{id} | media_remove | Delete a file | media:write |
POST /media/import | media_importUrl | Add a file to the media library from a public URL | media:write |
POST /channels/oauth/start | connections_start | Get the sign-in URL that connects a channel on an OAuth platform | channels:write |
POST /channels/oauth/complete | connections_complete | Finish an OAuth connection after the sign-in | channels:write |
GET /channels/{channelId}/status | connections_status | Live state of a channel's connection | channels:read |
POST /channels/{channelId}/reconnect | connections_reconnect | Get a hosted link that signs a channel in again | channels:write |
POST /channels/invites | connections_inviteLink_create | Create a one-hour link that lets someone without an account connect a channel | channels:write |
GET /channels/invites | connections_inviteLink_list | List the connect links that still work | channels:read |
DELETE /channels/invites/{id} | connections_inviteLink_revoke | Stop a connect link from working | channels:write |
GET /notifications | notifications_feed | List notifications | notifications:read |
POST /notifications/read | notifications_markRead | Mark every notification as read | notifications:write |
POST /notifications/clear | notifications_clear | Clear every notification | notifications:write |
POST /tags/{tagId}/posts | postTags_add | Add a tag to many posts, whatever their status | tags:write |
GET /automations | automations_list | List automation rules | automations:read |
POST /automations | automations_save | Create an automation rule, or with `id` change one | automations:write |
DELETE /automations/{id} | automations_remove | Delete an automation rule and its run history | automations:write |
GET /automations/{ruleId}/runs | automations_runs | A rule's 50 newest runs: what it did, or why it could not | automations:read |
GET /automations/numbers | automations_numbers | Per rule: triggered, sent, answered, failed, link clicks and each flow step | automations:read |
GET /automations/posts | automations_postRanking | Posts ranked by how many automation runs they brought | automations:read |
GET /automations/history | automations_history | Automation run history across rules, filtered by rule, status and dates | automations:read |
GET /automations/contacts | automations_contacts | People who gave an address in an automation flow | automations:read |
GET /automations/follow-ups | automations_followUps | Quotes, reposts and plugs still to go out in a time range | automations:read |
DELETE /posts/{id}/published | automations_deletePublished | Delete a published post at the platform (the post stays in Indrava) | posts:write |
PATCH /posts/{id}/published | automations_editPublished | Edit the text of a published post at the platform | posts:write |
GET /inbox | inbox_list | List inbox conversations, latest activity first | inbox:read |
GET /inbox/{id} | inbox_thread | One conversation with its messages | inbox:read |
POST /inbox/{id}/reply | inbox_reply | Reply to the person's latest message, as the channel: in public, as a private message, or as the answer to a review | inbox:write |
POST /inbox/assign | inbox_assign | Hand conversations to a member, or to nobody | inbox:write |
POST /inbox/state | inbox_setState | Mark conversations done, reopen them, or snooze them until a time | inbox:write |
GET /inbox/reviews | inbox_reviews | List reviews, newest first | inbox:read |
PUT /inbox/{id}/answer | inbox_answer | Edit or delete (text null) our answer to a review | inbox:write |
POST /inbox/moderate | inbox_moderate | Hide, unhide, delete, like or block the author of comments, at the platform | inbox:write |
POST /inbox/labels/apply | inbox_labelMany | Put a label on conversations, or take it off | inbox:write |
GET /inbox/labels | inbox_labels_list | List the inbox labels, with how many conversations each holds | inbox:read |
GET /inbox/saved-replies | inbox_savedReplies_list | List the workspace's saved replies | inbox:read |
GET /analytics/inbox | inboxIntel_stats | Inbox numbers: volume, reply times, SLA breaches, sentiment, comment score | analytics:read |
GET /links/bio | bio_list | List link-in-bio pages with their public addresses | links:read |
GET /links/bio/{id}/stats | bio_stats | Views, clicks and click-through of a bio page | links:read |
GET /reports | reports_list | List client reports | reports:read |
POST /reports/{id}/generate | reports_generate | Generate a report now | reports:write |
GET /reports/runs | reports_runs | List generated reports, newest first | reports:read |
GET /analytics/posts/{postId}/history | postStats_get | One post's numbers over time | analytics:read |
GET /me | info_me | Who this key or token is: workspace, scopes, plan and timezone | me:read |
GET /analytics/posts/{id} | info_postAnalytics | The latest numbers of one post, per channel | analytics:read |
GET /channels/{channelId}/mentions | mentions_search | Search accounts to mention from a channel | channels:read |
GET /sets/templates | setTemplates_list | List the content each channel set starts a new post with | sets:read |
POST /sets/templates | setTemplates_save | Store or replace the starting content of a channel set | sets:write |
POST /posts/assistant | agent_ask | Ask Indrava's assistant to draft or plan posts | posts:write |
GET /media/{id}/status | mediaJobs_status | Get the processing state of a file | media:read |
POST /media/{id}/adjust | mediaJobs_adjust | Convert a file to fit a platform's media limits | media:write |
POST /media/{id}/thumbnail | mediaJobs_setThumbnail | Choose a video's preview picture | media:write |
POST /media/{id}/clips | mediaJobs_clip | Cut short clips out of a video | media:write |
GET /media/{id}/clips | mediaJobs_clips | List the clip jobs of a video | media:read |
POST /media/edit | mediaJobs_editVideo | Edit videos into a new video | media:write |
POST /media/slideshow | mediaJobs_slideshow | Make a video of several pictures | media:write |
GET /media/jobs/{id} | mediaJobs_job | Get an editing job | media:read |
POST /media/clips-from-url | mediaJobs_clipsFromUrl | Import a video file from a link and cut clips from it | media:write |
GET /media/folders | mediaOrganise_folders_list | List the media library's folders | media:read |
POST /media/folders | mediaOrganise_folders_create | Create a media folder | media:write |
PATCH /media/folders/{id} | mediaOrganise_folders_update | Rename a media folder or move it under another | media:write |
DELETE /media/folders/{id} | mediaOrganise_folders_remove | Delete a media folder | media:write |
GET /media/labels | mediaOrganise_labels_list | List the media library's labels | media:read |
POST /media/labels | mediaOrganise_labels_save | Create or update a media label | media:write |
DELETE /media/labels/{id} | mediaOrganise_labels_remove | Delete a media label | media:write |
POST /media/labels/apply | mediaOrganise_labels_apply | Add or remove a label on several files | media:write |
POST /media/move | mediaOrganise_files_move | Move files into a folder | media:write |
GET /media/{id}/usage | mediaOrganise_files_usedBy | List what uses a media file | media:read |
POST /embed/tenants | embed_tenants_create | Create (or update) a workspace for one of your customers | embed:write |
GET /embed/tenants | embed_tenants_list | List the workspaces you created for your customers | embed:read |
POST /embed/tenants/{externalId}/key | embed_tenants_rotateKey | Replace a tenant workspace's API key | embed:write |
DELETE /embed/tenants/{externalId} | embed_tenants_remove | Delete a tenant workspace and everything in it | embed:write |
POST /embed/tenants/{externalId}/connect | embed_tenants_connectUrl | Get a one-hour link where your customer connects a channel | embed:write |
GET /embed/tenants/{externalId}/channels | embed_tenants_channels | List a tenant workspace's channels | embed:read |
DELETE /embed/tenants/{externalId}/channels/{channelId} | embed_tenants_removeChannel | Disconnect one of a tenant workspace's channels | embed:write |
GET /embed/tenants/{externalId}/plan | embed_tenants_plan | Get the plan a tenant workspace runs | embed:read |
PUT /embed/tenants/{externalId}/plan | embed_tenants_setPlan | Choose the plan of one tenant workspace | embed:write |
GET /embed/tenants/{externalId}/credits | embed_tenants_credits | Read a tenant workspace's AI credit balance | embed:read |
GET /embed/tenants/{externalId}/members | embed_tenants_members | List the members of a tenant workspace | embed:read |
POST /embed/tenants/{externalId}/members | embed_tenants_addMember | Add a member to a tenant workspace | embed:write |
PATCH /embed/tenants/{externalId}/members/{userId} | embed_tenants_setMemberRole | Change a member's role in a tenant workspace | embed:write |
DELETE /embed/tenants/{externalId}/members/{userId} | embed_tenants_removeMember | Remove a member from a tenant workspace | embed:write |
GET /embed/tenants/{externalId}/branding | embed_tenants_branding | Get a tenant workspace's branding and connect-page options | embed:read |
PUT /embed/tenants/{externalId}/branding | embed_tenants_setBranding | Set a tenant workspace's branding and connect-page options | embed:write |
GET /members | members_list | List the workspace's members | members:read |
GET /signatures/snippets | snippets_list | List snippets | signatures:read |
POST /signatures/snippets | snippets_save | Create or update a snippet | signatures:write |
DELETE /signatures/snippets/{id} | snippets_remove | Delete a snippet | signatures:write |
GET /posts/{id}/notes | postNotes_get | Get a post's title, private notes and UTM values | posts:read |
PUT /posts/{id}/notes | postNotes_save | Set a post's title, private notes and UTM values | posts:write |
GET /posts/trash | postHistory_trash_list | List the deleted posts still in the trash | posts:read |
POST /posts/trash/{id}/restore | postHistory_trash_restore | Restore a post from the trash | posts:write |
DELETE /posts/trash/{id} | postHistory_trash_purge | Delete a post from the trash for good | posts:write |
GET /posts/{postId}/versions | postHistory_versions_list | List the earlier versions of a post | posts:read |
POST /posts/{postId}/versions/{id}/restore | postHistory_versions_restore | Restore an earlier version of a post | posts:write |
GET /posts/{postId}/activity | postHistory_activity | List what happened to a post | posts:read |
GET /posts/rules | postRules_get | Get the workspace's post rules and custom fields | posts:read |
PUT /posts/{postId}/fields | postRules_setValues | Set the custom fields of a post | posts:write |
GET /ideas | ideas_list | List the ideas library | ideas:read |
POST /ideas | ideas_create | Save an idea | ideas:write |
GET /posts/import/template | bulk_template | Download the CSV template for bulk import | posts:read |
POST /posts/import | bulk_import | Import many posts from a CSV or a list of rows | posts:write |
GET /posts/export/plan | bulk_export | Export the plan as a CSV | posts:read |
GET /posts/{postId}/tasks | tasks_forPost | List the tasks on a post | posts:read |
POST /posts/{postId}/tasks | tasks_create | Give a teammate a task on a post | posts:write |
POST /posts/tasks | tasks_assignMany | Give a teammate the same task on up to 100 posts | posts:write |
PATCH /posts/tasks/{id} | tasks_update | Change a task, or mark it done | posts:write |
DELETE /posts/tasks/{id} | tasks_remove | Delete a task | posts:write |
GET /competitors | competitors_list | List the followed competitors with their numbers | competitors:read |
POST /competitors | competitors_add | Follow a public account as a competitor | competitors:write |
GET /lookup/profile | lookup_profile | Look up the public profile of any account | lookup:read |
GET /media/watermarks | watermarks_list | List the saved watermarks | media:read |
POST /media/{id}/watermark | watermarks_apply | Make a watermarked copy of a picture or video | media:write |
GET /designs/templates | designs_templates_list | List design templates | designs:read |
POST /designs/render | designs_render | Render a template into library images | designs:write |
GET /designs/render/{id} | designs_renderStatus | Get the state of a render | designs:read |
GET /webhooks | webhooks_list | List the workspace's webhook endpoints | webhooks:read |
POST /webhooks | webhooks_create | Add a webhook endpoint | webhooks:write |
GET /webhooks/{id} | webhooks_get | Get one webhook endpoint | webhooks:read |
PATCH /webhooks/{id} | webhooks_update | Change a webhook endpoint | webhooks:write |
DELETE /webhooks/{id} | webhooks_remove | Delete a webhook endpoint | webhooks:write |
POST /webhooks/{id}/rotate-secret | webhooks_rotateSecret | Make a new signing secret | webhooks:write |
POST /webhooks/{id}/test | webhooks_test | Send a test event to a webhook endpoint | webhooks:write |
GET /webhooks/{id}/deliveries | webhooks_deliveries | The delivery log of a webhook endpoint | webhooks:read |
POST /webhooks/{id}/deliveries/{deliveryId}/redeliver | webhooks_redeliver | Send a delivery again | webhooks:write |
GET /channels/{id}/limits | limits_channel | What a channel's platform allows and how much is used | channels:read |
GET /usage | usage_get | The workspace's plan and what it has used of each limit | usage:read |
GET /advocacy/stories | advocacy_stories | List advocacy stories | advocacy:read |
POST /advocacy/stories | advocacy_storySave | Create or update an advocacy story (a draft until published) | advocacy:write |
GET /advocacy/leaderboard | advocacy_leaderboard | Advocacy leaderboard: points, shares and clicks per advocate | advocacy:read |
A write scope includes its read scope. A key with no scopes can call nothing. Operations that put a post on the calendar, or set up something that publishes later, also need posts:publish.
An MCP server for agents
Point an MCP client at /mcp. It signs in with OAuth in the browser, or sends an API key.
- Streamable HTTP, with no session kept between requests
- Read tools are marked read-only and delete tools destructive, so a client can ask first
- Give an agent a key without
posts:publishand it can only save drafts; with an approval workflow on, it can submit them for approval
# with an API key
claude mcp add --transport http indrava http://localhost:4000/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
# with OAuth: leave the header out, then authenticate from /mcp
claude mcp add --transport http indrava http://localhost:4000/mcp
The indrava command
A thin client of the REST API: each command is one call. It needs Node 26 and nothing else. Sign in with a device code in the browser or with an API key, and add --json for output a script can read.
The command is not on npm yet. It installs from the apps/cli folder of the Indrava repository.
indrava <command> [options]
login sign in in the browser (device code)
login --key paste an API key instead (or pipe it on stdin)
logout forget the stored credential
whoami the workspace, scopes, plan and timezone of the credential
commands every command, one per API operation
posts list [--status draft|scheduled|published|failed ...] [--limit n]
posts create save a draft --text "..." --channel <id>
posts schedule publish at a time --text "..." --channel <id> --at <ISO time>
posts publish publish now --text "..." --channel <id>
posts submit <id> send a draft on its way: for approval where the workspace asks
posts enqueue <id> schedule a draft at the next free slot of each channel
posts delete <id> delete a post
media upload <file> add an image or video; prints the id for --media
posts import <file.csv> create many posts [--mode draft|schedule|queue] [--format ISO|...] [--timezone Zone] [--dry-run] [--batch-key k]
analytics overview totals for a period --from <ISO time> --to <ISO time>
usage the plan, what is used of each limit, API requests per day
webhooks list|get|create|update|delete|test|deliveries manage webhook endpoints
webhooks rotate-secret <id> a new signing secret (the old one works 24 h)
webhooks redeliver <id> <delivery-id> send a delivery again
Every API operation is also a command, named after it: "indrava commands" lists them.
indrava channels list
indrava media import-url --url https://example.com/a.png
indrava feeds save --data @feed.json
Values in the address come first (<id>), every other input is --name value; repeat a
flag for a list. --data takes the whole input as JSON: text, @file, or - for stdin.
--text, --channel and --media repeat: several --text make a thread, several --channel
cross-post, --media attaches files to the first part.
--idempotency-key <key> with posts create/schedule/publish: a retry returns the same post
--json machine-readable output on stdout (errors as JSON on stderr)
--api-url API to talk to (default: $INDRAVA_API_URL, else the one you logged in to)
$INDRAVA_API_KEY overrides the stored credential (for CI and agents).
Exit codes: 0 ok, 1 the API refused or failed, 2 bad usage, 3 not signed in.
35 webhook events
Add an HTTPS endpoint in the app, choose its events and verify each delivery with the signing secret. The delivery log shows what your server answered and lets you send a delivery again.
| Event | Sent when |
|---|---|
post.created | A post was saved for the first time, as a draft or scheduled. |
post.updated | A post's text, channels or time were changed. |
post.deleted | A post was deleted. |
post.scheduled | A post was scheduled or rescheduled. |
post.rescheduled | A post waiting for approval was moved to another time. |
post.published | Every channel of a post was published. |
post.failed | A post finished with at least one channel failed. |
target.published | A post was published to one channel. |
target.failed | Publishing a post to one channel failed for good. |
channel.connected | A channel was connected or reconnected. |
channel.needs_reauth | A channel's access expired and must be reconnected. |
channel.removed | A channel was removed. |
approval.requested | A post was submitted for approval. |
approval.decided | A post was approved or rejected. |
media.uploaded | A file was added to the media library. |
automation.triggered | An automation with the notify action was triggered. |
inbox.message_received | Someone replied to or mentioned one of your channels. |
post.partial | A post published on some channels and failed on others. |
post.cancelled | A scheduled post was cancelled and taken off the calendar. |
post.recycled | A copy of a post was queued by evergreen recycling or a content list. |
analytics.synced | Numbers of the platforms' own posts were refreshed. |
media.job_finished | A media job (watermark, clip, conversion) finished or failed. |
generation.finished | An AI image, voice or video generation finished or failed. |
channel.paused | A channel was paused by a member. |
publishing.paused | Publishing was paused for the workspace or a client. |
review.received | A new review arrived on one of your channels. |
message.received | A private message arrived on one of your channels. |
inbox.spike | A channel received far more messages than usual this hour. |
approval.reminder | A post waiting for approval is close to its time. |
queue.low | A channel's queue or content list is running low. |
queue.reminder | A channel is behind its weekly posting goal with the week nearly over. |
publishing.resumed | Publishing was resumed after a pause. |
post.reminder_due | A post for a reminder-only channel is due to be posted by hand. |
comment.mentioned | A member was mentioned in a comment or note. |
task.assigned | A task on a post was assigned to a member. |
Keys, scopes and limits
- Scoped keys
- A key belongs to the workspace and carries only the scopes chosen for it. It is shown once and can be revoked at any time.
- OAuth for people
- The command line and MCP clients can act as a signed-in member, approved in the browser, with nothing to paste.
- Rate limits you can read
- 120 requests a minute per key by default, reported in the
RateLimit-*headers of every answer.
Developer docs, service status and the community forum.
Get an API key, free
The Free plan costs nothing and includes 30 scheduled posts a month. Connect a channel, schedule a post and watch it report back.