Post to Threads and answer replies with an AI agent
The agent publishes text, images, video or a carousel through the Threads API, answers and moderates replies, and reads the insights back onto the issue.
The Threads API lets apps publish posts, read media and profiles, moderate replies and read insights.
- Tools
- 17: Publish, reply, moderate replies, insights, keyword search
- Key
- Access token
- Edition
- Free in Community
- Starts on
- Delegate, mention, chat or a schedule
See each call the agent makes to Threads
Every Threads tool call is a step of the run, with what the agent sent and what came back.
- Agent
- @social · Internal
- Trigger
- Delegate
- Started
- Nov 21, 12:00
- Run
- #418
Result
The post is live on Threads. The link is in a comment on SOC-71.
What the agent did
- 12:00:03get_issue{"key":"SOC-71"}
- 12:00:05threads_publishing_limit{}
- 12:00:08threads_publish{"text":"What we shipped…"}
- 12:00:33add_comment{"issue":"SOC-71"}
- 12:00:36The post is live. The link is in a comment on SOC-71.
threads_publish12:00:08
Input{
"text": "What we shipped in November: bulk edit, saved filters and…",
"imageUrls": ["https://plan.example.com/files/cover.png"]
}Output{ "id": "1801…", "permalink": "https://www.threads.com/@…/post/…" }17 Threads API tools, each with its own switch
Each tool needs the matching permission on your token, such as threads_content_publish to post and threads_manage_insights for insights.
Publishing
Publish Post
Publish a new post to Threads.
threads_publishReply
Reply to an existing Threads post or reply.
threads_replyDelete Post
Delete one of your own Threads posts or replies by its media id.
threads_deletePublishing Limit
Get your current Threads publishing quota usage and limits for posts and replies.
threads_publishing_limitReplies
Hide/Unhide Reply
Hide or unhide a reply to one of your posts, by the reply's media id.
threads_manage_replyApprove/Reject Pending Reply
Approve or reject a pending reply (on a post with a restricted reply audience), by the reply's media id.
threads_manage_pending_replyList Replies
List the top-level replies to a Threads post, by the post's media id.
threads_list_repliesGet Conversation
Get the full nested reply conversation under one of your posts, by the post's media id.
threads_get_conversationList My Replies
List your own Threads replies, newest first.
threads_list_user_repliesList Pending Replies
List pending replies awaiting your approval on a post with a restricted reply audience, by the post's media id.
threads_pending_repliesPosts and profile
Get Profile
Get your Threads profile: id, username, name, biography, and profile picture URL.
threads_get_profileList My Posts
List your own Threads posts, newest first.
threads_list_postsGet Post
Get a single Threads post or reply by its media id, with its fields.
threads_get_postInsights
Post Insights
Get lifetime insights (views, likes, replies, reposts, quotes, shares) for one of your Threads posts, by its media id.
threads_media_insightsAccount Insights
Get account-level Threads insights (views, likes, replies, reposts, quotes, clicks, followers_count, follower_demographics).
threads_user_insightsSearch
Keyword Search
Search public Threads posts by keyword or tag.
threads_keyword_searchLocation Search
Search for locations to tag in a Threads post, by name and/or coordinates.
threads_location_searchConnect Threads once for the team
Generate an access token
Create a long-lived Threads user token with the permissions of the tools you turn on.
Add the token to the team
It’s a Plan checks the token with Threads before you save it and stores it encrypted.
Pick the tools
Add the Threads tools for the team, then turn on the ones each agent may use.
Search tools
Brand account
Add credentialRequired token permissionsthreads_basicthreads_content_publish
Threads work you can hand an agent
Column
When a post moves to Ready, @social publishes it on Threads and links it on the issue.
Schedule
Every day at 17:00, @social answers the new replies and hides the spam.
Delegate
Delegate SOC-80 to @social: it reads the insights of the last ten posts and writes what worked.
Threads comes with the free edition
Threads and 11 more integrations, on every agent trigger: delegate, mention, chat and schedules.
HTTP tools for services not on the list, agent workflows, and an agent that starts on every new issue.
See ProThreads AI agent FAQ
Does it use the official Threads API?
Yes. The tools call Meta’s Threads API with your own access token.
Can it schedule Threads posts?
Yes. A schedule starts the agent at the time you set, and it publishes the posts that are ready.
Can it read Threads insights?
Yes: views, likes, replies, reposts, quotes and shares per post, and account totals with follower data. The token needs threads_manage_insights.
Can it moderate replies?
Yes. It hides or unhides a reply and approves or rejects a pending one.
Does the agent see my Threads token?
No. It is stored encrypted on your server. The agent calls a tool by name and gets back only what the tool returns.
What does it cost?
The Threads tools are free in the Community edition. You pay your AI provider for the model.
More integrations
- Jina AIRead a page as markdown, search the web and fact-check a statement.
- FirecrawlScrape, crawl and map websites, and pull structured data from pages.
- TelegramSend a message to a Telegram chat from your bot.
- InstagramPublish posts and reels, answer comments and read insights.
- NotionSearch, read and write Notion pages and answer their comments.
- Gitea / ForgejoList, create, update and comment on issues on your own Git server.
- GitHubList, create and update issues and discussions in your repositories.
- PDFRead a PDF from a link as markdown, with pdf-inspector. Needs no key.
- KeenableSearch the web and read pages. Works without a key.
- DataForSEOGet Google results, keyword data, backlinks and page audits.
- KieGenerate images, video, music and speech with Veo, Kling, Nano Banana and Suno.
Hand your next Threads post to an agent
Try the free edition on your computer with one setup command.
Or deploy to Railway in one click