Threads
threadsThreads is Meta's social network for publishing posts, managing replies, discovering public content, and analyzing profile and post performance.
Acciones disponibles (24)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create and Share PostTHREADS_CREATE_AND_SHARE_POSTAcciónCreate and publish a top-level Threads post and cross-share it to the linked Instagram account as a Story. Returns crossreshare_to_ig_status to report whether the Story cross-share succeeded independently of Threads publication.
THREADS_CREATE_AND_SHARE_POSTAcciónCreate and publish a top-level Threads post and cross-share it to the linked Instagram account as a Story. Returns crossreshare_to_ig_status to report whether the Story cross-share succeeded independently of Threads publication.
Parámetros de entrada
textstringPost or caption text, up to 500 UTF-8 bytes. TEXT posts require this or text_attachment.
user_idstringThreads user ID to publish for; use `me` for the connected profile.
alt_textstringAccessibility description for a single image or video, up to 1,000 characters.
image_urlstringPublicly reachable image URL, required when media_type is IMAGE.
topic_tagstringTopic tag of 1-50 characters; periods and ampersands are not allowed.
video_urlstringPublicly reachable video URL, required when media_type is VIDEO.
media_typestringObligatorioenumPrimary post media type.
TEXTIMAGEVIDEOCAROUSELlocation_idstringLocation ID from THREADS_SEARCH_LOCATIONS.
poll_optionsstring[]Two to four poll choices of 1-25 characters each; valid only for text posts.
tag_locationbooleanWhether to attach location_id; set true only when location tagging is intended.
is_ghost_postbooleanCreate a text ghost post that expires after 24 hours.
quote_post_idstringThreads post ID to quote.
text_entitiesobject[]Up to 10 spoiler ranges in the post text, each with a type, offset, and length.
carousel_itemsobject[]Two to twenty image or video items for a CAROUSEL post.
gif_attachmentobjectOptional GIPHY attachment for a text post.
link_attachmentstringURL to attach to a text post.
text_attachmentobjectOptional long-form text attachment for a text post.
is_spoiler_mediabooleanBlur media as a spoiler until the viewer reveals it.
allowlisted_country_codesstring[]Two-letter ISO country codes allowed to view the post.
instagram_story_dark_modebooleanUse dark mode for the Instagram Story cross-share.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PostTHREADS_CREATE_POSTAcciónCreate and publish a top-level Threads text, image, video, carousel, quote, poll, ghost, GIF, or text-attachment post, optionally with a location tag.
THREADS_CREATE_POSTAcciónCreate and publish a top-level Threads text, image, video, carousel, quote, poll, ghost, GIF, or text-attachment post, optionally with a location tag.
Parámetros de entrada
textstringPost or caption text, up to 500 UTF-8 bytes. TEXT posts require this or text_attachment.
user_idstringThreads user ID to publish for; use `me` for the connected profile.
alt_textstringAccessibility description for a single image or video, up to 1,000 characters.
image_urlstringPublicly reachable image URL, required when media_type is IMAGE.
topic_tagstringTopic tag of 1-50 characters; periods and ampersands are not allowed.
video_urlstringPublicly reachable video URL, required when media_type is VIDEO.
media_typestringObligatorioenumPrimary post media type.
TEXTIMAGEVIDEOCAROUSELlocation_idstringLocation ID from THREADS_SEARCH_LOCATIONS.
poll_optionsstring[]Two to four poll choices of 1-25 characters each; valid only for text posts.
tag_locationbooleanWhether to attach location_id; set true only when location tagging is intended.
is_ghost_postbooleanCreate a text ghost post that expires after 24 hours.
quote_post_idstringThreads post ID to quote.
reply_controlstringenumWho may reply to the new post.
everyoneaccounts_you_followmentioned_onlyparent_post_author_onlyfollowers_onlytext_entitiesobject[]Up to 10 spoiler ranges in the post text, each with a type, offset, and length.
carousel_itemsobject[]Two to twenty image or video items for a CAROUSEL post.
gif_attachmentobjectOptional GIPHY attachment for a text post.
link_attachmentstringURL to attach to a text post.
text_attachmentobjectOptional long-form text attachment for a text post.
is_spoiler_mediabooleanBlur media as a spoiler until the viewer reveals it.
enable_reply_approvalsbooleanRequire approval before replies become visible; unsupported for ghost posts.
allowlisted_country_codesstring[]Two-letter ISO country codes allowed to view the post.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ReplyTHREADS_CREATE_REPLYAcciónCreate and publish a reply to a Threads post, including a text, image, video, carousel, quote, poll, GIF, or text-attachment reply.
THREADS_CREATE_REPLYAcciónCreate and publish a reply to a Threads post, including a text, image, video, carousel, quote, poll, GIF, or text-attachment reply.
Parámetros de entrada
textstringPost or caption text, up to 500 UTF-8 bytes. TEXT posts require this or text_attachment.
user_idstringThreads user ID to publish for; use `me` for the connected profile.
alt_textstringAccessibility description for a single image or video, up to 1,000 characters.
image_urlstringPublicly reachable image URL, required when media_type is IMAGE.
topic_tagstringTopic tag of 1-50 characters; periods and ampersands are not allowed.
video_urlstringPublicly reachable video URL, required when media_type is VIDEO.
media_typestringObligatorioenumPrimary post media type.
TEXTIMAGEVIDEOCAROUSELlocation_idstringLocation ID from THREADS_SEARCH_LOCATIONS.
reply_to_idstringObligatorioThreads post ID that the new post replies to.
poll_optionsstring[]Two to four poll choices of 1-25 characters each; valid only for text posts.
reply_sourcestringObligatorioenumHow the target post was obtained: owned for the connected user's content, keyword_search for search results, or mention for posts mentioning the user.
ownedkeyword_searchmentiontag_locationbooleanWhether to attach location_id; set true only when location tagging is intended.
is_ghost_postbooleanCreate a text ghost post that expires after 24 hours.
quote_post_idstringThreads post ID to quote.
reply_controlstringenumWho may reply to the new post.
everyoneaccounts_you_followmentioned_onlyparent_post_author_onlyfollowers_onlytext_entitiesobject[]Up to 10 spoiler ranges in the post text, each with a type, offset, and length.
carousel_itemsobject[]Two to twenty image or video items for a CAROUSEL post.
gif_attachmentobjectOptional GIPHY attachment for a text post.
link_attachmentstringURL to attach to a text post.
text_attachmentobjectOptional long-form text attachment for a text post.
is_spoiler_mediabooleanBlur media as a spoiler until the viewer reveals it.
enable_reply_approvalsbooleanRequire approval before replies become visible; unsupported for ghost posts.
allowlisted_country_codesstring[]Two-letter ISO country codes allowed to view the post.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete PostTHREADS_DELETE_POSTAcciónPermanently delete a Threads post owned by the connected profile.
THREADS_DELETE_POSTAcciónPermanently delete a Threads post owned by the connected profile.
Parámetros de entrada
post_idstringObligatorioID of the owned Threads post to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get LocationTHREADS_GET_LOCATIONAcciónRetrieve one Threads location by ID for inspection or post tagging.
THREADS_GET_LOCATIONAcciónRetrieve one Threads location by ID for inspection or post tagging.
Parámetros de entrada
fieldsstring[]Location fields to return from id, name, address, city, country, latitude, longitude, and postal code. Omit to use the provider default.
location_idstringObligatorioLocation ID returned by THREADS_SEARCH_LOCATIONS.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get My ProfileTHREADS_GET_MY_PROFILEAcciónReturn the connected or app-scoped Threads user's profile and identity fields.
THREADS_GET_MY_PROFILEAcciónReturn the connected or app-scoped Threads user's profile and identity fields.
Parámetros de entrada
fieldsstring[]Profile fields to return from id, username, name, profile picture URL, biography, verification status, geo-gating eligibility, and recently searched keywords. Omit to use the provider default.
user_idstringApp-scoped Threads user ID; use `me` for the connected profile.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PostTHREADS_GET_POSTAcciónRetrieve one Threads post by ID. Third-party posts may be unavailable until the Meta app has advanced access.
THREADS_GET_POSTAcciónRetrieve one Threads post by ID. Third-party posts may be unavailable until the Meta app has advanced access.
Parámetros de entrada
fieldsstring[]Post fields to return. Defaults to identity, content, media, relationship, location, poll, spoiler, and attachment fields. The unsupported is_repost field is rejected; use media_type and reposted_post instead.
post_idstringObligatorioThreads post ID to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Post EmbedTHREADS_GET_POST_EMBEDAcciónReturn embeddable HTML and oEmbed metadata for a public Threads post.
THREADS_GET_POST_EMBEDAcciónReturn embeddable HTML and oEmbed metadata for a public Threads post.
Parámetros de entrada
urlstringObligatorioPermanent URL of the public Threads post to embed.
maxwidthintegerMaximum embed width in pixels, from 320 through 658.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Post InsightsTHREADS_GET_POST_INSIGHTSAcciónReturn selected lifetime engagement metrics for one post owned by the connected Threads profile.
THREADS_GET_POST_INSIGHTSAcciónReturn selected lifetime engagement metrics for one post owned by the connected Threads profile.
Parámetros de entrada
metricsstring[]ObligatorioOne or more lifetime post metrics to return.
post_idstringObligatorioOwned Threads post ID to analyze.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Profile InsightsTHREADS_GET_PROFILE_INSIGHTSAcciónReturn one time-window page of selected profile time-series, totals, link clicks, follower counts, or follower demographics for a Threads profile.
THREADS_GET_PROFILE_INSIGHTSAcciónReturn one time-window page of selected profile time-series, totals, link clicks, follower counts, or follower demographics for a Threads profile.
Parámetros de entrada
sinceintegerStart of the insight window as a Unix timestamp. Supply together with until. Unsupported for followers_count and follower_demographics.
untilintegerEnd of the insight window as a Unix timestamp. Supply together with since. Unsupported for followers_count and follower_demographics.
cursorstringOpaque continuation cursor from next_cursor in a previous response. Pass it back unchanged with the same metrics to fetch the next time window.
metricsstring[]ObligatorioProfile metrics to return. Supported values are views, likes, replies, reposts, quotes, clicks, followers_count, and follower_demographics.
user_idstringApp-scoped Threads user ID; use me for the connected profile.
breakdownstringenumDemographic dimension. Required exactly when follower_demographics is requested; that metric requires at least 100 followers.
countrycityagegender
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Publishing LimitsTHREADS_GET_PUBLISHING_LIMITSAcciónReturn current usage and configured quota for Threads posts, replies, deletes, location searches, or all publishing categories.
THREADS_GET_PUBLISHING_LIMITSAcciónReturn current usage and configured quota for Threads posts, replies, deletes, location searches, or all publishing categories.
Parámetros de entrada
user_idstringApp-scoped Threads user ID; use `me` for the connected profile.
quota_typestringenumQuota category to return. Selecting all requires the permissions for post publishing, replies, deletion, and location search.
postreplydeletelocation_searchall
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Ghost PostsTHREADS_LIST_GHOST_POSTSAcciónList active and archived ghost posts created by the connected Threads profile, one cursor page at a time.
THREADS_LIST_GHOST_POSTSAcciónList active and archived ghost posts created by the connected Threads profile, one cursor page at a time.
Parámetros de entrada
limitintegerMaximum ghost posts to return in this page.
sinceanyEarliest ghost-post time as a Unix timestamp or provider-supported date string.
untilanyLatest ghost-post time as a Unix timestamp or provider-supported date string.
cursorstringOpaque continuation cursor from a previous response. Omit for the first page and pass it back unchanged to continue.
fieldsstring[]Ghost-post fields to return. Defaults to id, text, timestamp, and ghost_post_status.
user_idstringApp-scoped Threads user ID; use me for the connected profile.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List My MentionsTHREADS_LIST_MY_MENTIONSAcciónList public Threads posts that mention the connected profile, one cursor page at a time. With development access, Threads may return only mentions made by app testers, so an empty page does not prove that no public mentions exist.
THREADS_LIST_MY_MENTIONSAcciónList public Threads posts that mention the connected profile, one cursor page at a time. With development access, Threads may return only mentions made by app testers, so an empty page does not prove that no public mentions exist.
Parámetros de entrada
limitintegerMaximum mentions to return in this page.
sinceanyEarliest mention time as a Unix timestamp or provider-supported date string.
untilanyLatest mention time as a Unix timestamp or provider-supported date string.
cursorstringOpaque continuation cursor from a previous response. Omit for the first page and pass it back unchanged to continue.
fieldsstring[]Mentioned-post fields to return. Defaults to id, text, timestamp, username, and permalink.
user_idstringApp-scoped Threads user ID; use me for the connected profile.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List My PostsTHREADS_LIST_MY_POSTSAcciónList posts created by the connected Threads profile, one cursor page at a time.
THREADS_LIST_MY_POSTSAcciónList posts created by the connected Threads profile, one cursor page at a time.
Parámetros de entrada
limitintegerMaximum posts to return in this page.
sinceanyEarliest post time as a Unix timestamp or provider-supported date string.
untilanyLatest post time as a Unix timestamp or provider-supported date string.
cursorstringOpaque continuation cursor from a previous response. Omit for the first page and pass it back unchanged to continue.
fieldsstring[]Post fields to return. Defaults to id, text, timestamp, media_type, and permalink.
user_idstringApp-scoped Threads user ID; use me for the connected profile.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List My RepliesTHREADS_LIST_MY_REPLIESAcciónList replies created by the connected Threads profile, one cursor page at a time.
THREADS_LIST_MY_REPLIESAcciónList replies created by the connected Threads profile, one cursor page at a time.
Parámetros de entrada
limitintegerMaximum replies to return in this page.
sinceanyEarliest reply time as a Unix timestamp or provider-supported date string.
untilanyLatest reply time as a Unix timestamp or provider-supported date string.
cursorstringOpaque continuation cursor from a previous response. Omit for the first page and pass it back unchanged to continue.
fieldsstring[]Reply fields to return. Defaults to id, text, timestamp, username, and replied_to.
user_idstringApp-scoped Threads user ID; use me for the connected profile.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Pending RepliesTHREADS_LIST_PENDING_REPLIESAcciónList one page of pending or ignored replies for an owned Threads post. The post must have been created with reply approvals enabled.
THREADS_LIST_PENDING_REPLIESAcciónList one page of pending or ignored replies for an owned Threads post. The post must have been created with reply approvals enabled.
Parámetros de entrada
cursorstringOpaque continuation cursor from a previous response. Omit for the first page and pass it back unchanged to continue.
fieldsstring[]Reply fields to return. Defaults to id, text, timestamp, username, and reply_approval_status.
post_idstringObligatorioOwned Threads post ID that was created with reply approvals enabled.
reversebooleanWhether to request reverse chronological/order behavior from Threads.
approval_statusstringenumRestrict results to pending or ignored replies; omit to return both.
pendingignored
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Post RepliesTHREADS_LIST_POST_REPLIESAcciónReturn either immediate replies or the flattened full conversation for a Threads post, one cursor page at a time.
THREADS_LIST_POST_REPLIESAcciónReturn either immediate replies or the flattened full conversation for a Threads post, one cursor page at a time.
Parámetros de entrada
viewstringenumUse immediate for top-level replies only, or conversation for a flattened list including nested replies.
immediateconversationcursorstringOpaque continuation cursor from a previous response. Omit for the first page and pass it back unchanged to continue.
fieldsstring[]Reply fields to return. Defaults to id, text, timestamp, username, and replied-to metadata.
post_idstringObligatorioRoot Threads post ID whose replies to list.
reversebooleanWhether to request reverse chronological/order behavior from Threads.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Public Profile PostsTHREADS_LIST_PUBLIC_PROFILE_POSTSAcciónList one cursor page of posts from a qualifying public Threads profile by exact username. Standard or unreviewed app access is restricted to selected official Meta accounts, and returned post IDs may not support direct retrieval until the app has advanced access.
THREADS_LIST_PUBLIC_PROFILE_POSTSAcciónList one cursor page of posts from a qualifying public Threads profile by exact username. Standard or unreviewed app access is restricted to selected official Meta accounts, and returned post IDs may not support direct retrieval until the app has advanced access.
Parámetros de entrada
limitintegerMaximum posts to return in this page.
sinceanyEarliest post time as a Unix timestamp or provider-supported date string.
untilanyLatest post time as a Unix timestamp or provider-supported date string.
cursorstringOpaque continuation cursor from a previous response. Omit for the first page and pass it back unchanged to continue.
fieldsstring[]Post fields to return. Defaults to id, text, timestamp, username, and permalink. The owner field is unavailable for public-profile posts.
usernamestringObligatorioExact public Threads username without @. The profile generally needs at least 100 followers.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Lookup Public ProfileTHREADS_LOOKUP_PUBLIC_PROFILEAcciónLook up a qualifying public Threads profile by exact username. Profiles generally need at least 100 followers, and standard or unreviewed app access is restricted to selected official Meta accounts.
THREADS_LOOKUP_PUBLIC_PROFILEAcciónLook up a qualifying public Threads profile by exact username. Profiles generally need at least 100 followers, and standard or unreviewed app access is restricted to selected official Meta accounts.
Parámetros de entrada
usernamestringObligatorioExact public Threads username without @. The profile generally needs at least 100 followers.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Repost PostTHREADS_REPOST_POSTAcciónRepost an existing Threads post to the connected profile; this creates a visible post.
THREADS_REPOST_POSTAcciónRepost an existing Threads post to the connected profile; this creates a visible post.
Parámetros de entrada
post_idstringObligatorioThreads post ID to repost.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Review Pending ReplyTHREADS_REVIEW_PENDING_REPLYAcciónApprove or ignore one pending reply; an ignored reply can later be approved.
THREADS_REVIEW_PENDING_REPLYAcciónApprove or ignore one pending reply; an ignored reply can later be approved.
Parámetros de entrada
decisionstringObligatorioenumModeration decision. Approve makes the reply visible; ignore keeps it hidden.
approveignorereply_idstringObligatorioPending or ignored Threads reply ID to review.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search LocationsTHREADS_SEARCH_LOCATIONSAcciónSearch Threads locations by text, coordinates, or both. Returns the provider-ranked unpaginated result set.
THREADS_SEARCH_LOCATIONSAcciónSearch Threads locations by text, coordinates, or both. Returns the provider-ranked unpaginated result set.
Parámetros de entrada
querystringLocation name, address, or other text to search for.
fieldsstring[]Location fields to return from id, name, address, city, country, latitude, longitude, and postal code.
latitudenumberLatitude for coordinate search; requires longitude.
longitudenumberLongitude for coordinate search; requires latitude.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search PostsTHREADS_SEARCH_POSTSAcciónSearch one page of Threads posts by keyword or topic tag. Broader public results require Meta advanced access, so an empty page may reflect app-review limits rather than no public matches.
THREADS_SEARCH_POSTSAcciónSearch one page of Threads posts by keyword or topic tag. Broader public results require Meta advanced access, so an empty page may reflect app-review limits rather than no public matches.
Parámetros de entrada
limitintegerMaximum posts to return in this page.
querystringObligatorioKeyword or topic-tag text to search for.
sinceanyEarliest result time as a Unix timestamp or provider-supported date string.
untilanyLatest result time as a Unix timestamp or provider-supported date string.
fieldsstring[]Post fields to return. Defaults to id, text, timestamp, username, permalink, and media_type.
media_typestringenumRestrict results to one media type.
TEXTIMAGEVIDEOsearch_modestringenumInterpret query as ordinary keywords or as a topic tag.
KEYWORDTAGsearch_typestringenumRank results by top relevance or recency.
TOPRECENTauthor_usernamestringRestrict results to this exact Threads username, without @.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Reply VisibilityTHREADS_SET_REPLY_VISIBILITYAcciónHide or unhide a top-level reply and its nested replies on a post managed by the connected profile.
THREADS_SET_REPLY_VISIBILITYAcciónHide or unhide a top-level reply and its nested replies on a post managed by the connected profile.
Parámetros de entrada
reply_idstringObligatorioTop-level Threads reply ID to update.
visibilitystringObligatorioenumDesired reply visibility. Threads also applies the change to nested replies.
hiddenvisible
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not