Sprout Social
sprout_socialSprout Social provides social media analytics, listening, publishing, inbox, media, and customer-care APIs.
Acciones disponibles (20)
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.
Complete Multipart Media UploadSPROUT_SOCIAL_COMPLETE_MULTIPART_MEDIA_UPLOADAcciónFinalize a Sprout media submission and wait through bounded HTTP 202 processing responses until the completed media ID is ready.
SPROUT_SOCIAL_COMPLETE_MULTIPART_MEDIA_UPLOADAcciónFinalize a Sprout media submission and wait through bounded HTTP 202 processing responses until the completed media ID is ready.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
submission_idstringObligatorioMedia submission ID returned by Start Multipart Media Upload.
poll_timeout_secondsnumberMaximum total seconds to wait for the media submission to become ready.
poll_interval_secondsnumberSeconds between readiness checks. A future wait_until value from Sprout can delay the first check further.
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 Publishing Post DraftSPROUT_SOCIAL_CREATE_PUBLISHING_POSTAcciónCreate draft posts on the Sprout Publishing Calendar for one or more profiles and optional future delivery times. This never publishes immediately and returns every profile/time fan-out item created by Sprout.
SPROUT_SOCIAL_CREATE_PUBLISHING_POSTAcciónCreate draft posts on the Sprout Publishing Calendar for one or more profiles and optional future delivery times. This never publishes immediately and returns every profile/time fan-out item created by Sprout.
Parámetros de entrada
textstringPost text. Whether text is required depends on the target network.
mediaobject[]Ordered media attachments previously uploaded to Sprout. Unsupported profile/media combinations may be silently omitted from the fan-out.
tag_idsinteger[]Sprout tag IDs to apply to the draft.
deliveryobjectOptional scheduling configuration for the draft deliveries.
group_idintegerObligatorioSprout group containing every selected customer profile.
is_draftbooleanObligatorioMust be true because the public API supports only draft creation.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
customer_profile_idsinteger[]ObligatorioOne or more customer profile IDs that all belong to group_id.
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
Filter CasesSPROUT_SOCIAL_FILTER_CASESAcciónRetrieve one page of Sprout social-care cases by case ID or date-bounded filters, with a continuation cursor when more cases are available.
SPROUT_SOCIAL_FILTER_CASESAcciónRetrieve one page of Sprout social-care cases by case ID or date-bounded filters, with a continuation cursor when more cases are available.
Parámetros de entrada
sortstring[]Case sort order. Sprout supports one created_time or updated_time expression in ascending or descending order.
limitintegerMaximum cases to return on this page (1-100).
filtersstring[]ObligatorioSprout case filter expressions. Use case_id.eq(...) alone for up to 100 case IDs, or include at least one created_time, latest_activity_time, or updated_time range of at most one week. Optional filters are queue_id, message_id, tag_id, assigned_by, created_by, assigned_to, type (GENERAL, SUPPORT, LEAD, QUESTION, FEEDBACK), priority (HIGH, LOW, CRITICAL, MEDIUM, UNDEFINED), and status (OPEN, ON_HOLD, CLOSED).
timezonestringICANN time zone used to interpret case date and datetime filters.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
page_cursorstringContinuation cursor returned as next_cursor by a prior call; omit for the first page.
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 PostSPROUT_SOCIAL_GET_PUBLISHING_POSTAcciónRetrieve one Sprout Publishing Calendar post by ID, including its profile and scheduled-time fan-out. The returned delivery_status is not evidence that a post was delivered or published; use Query Messages to find a sent post.
SPROUT_SOCIAL_GET_PUBLISHING_POSTAcciónRetrieve one Sprout Publishing Calendar post by ID, including its profile and scheduled-time fan-out. The returned delivery_status is not evidence that a post was delivered or published; use Query Messages to find a sent post.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
publishing_post_idintegerObligatorioPublishing Post ID returned by Create Publishing Post Draft.
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 ClientsSPROUT_SOCIAL_LIST_CLIENTSAcciónList the Sprout customers the connected credential can access, including each customer ID needed by customer-scoped actions.
SPROUT_SOCIAL_LIST_CLIENTSAcciónList the Sprout customers the connected credential can access, including each customer ID needed by customer-scoped actions.
Parámetros de entrada
Sin parámetros.
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 Customer Case QueuesSPROUT_SOCIAL_LIST_CUSTOMER_CASE_QUEUESAcciónList active social-care case queues for a Sprout customer and the teams associated with each queue.
SPROUT_SOCIAL_LIST_CUSTOMER_CASE_QUEUESAcciónList active social-care case queues for a Sprout customer and the teams associated with each queue.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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 Customer GroupsSPROUT_SOCIAL_LIST_CUSTOMER_GROUPSAcciónList the Sprout groups available to a customer, including group IDs required by message and publishing workflows.
SPROUT_SOCIAL_LIST_CUSTOMER_GROUPSAcciónList the Sprout groups available to a customer, including group IDs required by message and publishing workflows.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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 Customer ProfilesSPROUT_SOCIAL_LIST_CUSTOMER_PROFILESAcciónList owned social profiles accessible for a Sprout customer, including network, native identifiers, and group memberships.
SPROUT_SOCIAL_LIST_CUSTOMER_PROFILESAcciónList owned social profiles accessible for a Sprout customer, including network, native identifiers, and group memberships.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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 Customer TagsSPROUT_SOCIAL_LIST_CUSTOMER_TAGSAcciónList active and archived message tags for a Sprout customer. Deleted tags are not returned.
SPROUT_SOCIAL_LIST_CUSTOMER_TAGSAcciónList active and archived message tags for a Sprout customer. Deleted tags are not returned.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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 Customer TeamsSPROUT_SOCIAL_LIST_CUSTOMER_TEAMSAcciónList active teams configured for a Sprout customer.
SPROUT_SOCIAL_LIST_CUSTOMER_TEAMSAcciónList active teams configured for a Sprout customer.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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 Customer Listening TopicsSPROUT_SOCIAL_LIST_CUSTOMER_TOPICSAcciónList Listening Topics available to a Sprout customer, including topic IDs, themes, groups, and data availability times.
SPROUT_SOCIAL_LIST_CUSTOMER_TOPICSAcciónList Listening Topics available to a Sprout customer, including topic IDs, themes, groups, and data availability times.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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 Customer UsersSPROUT_SOCIAL_LIST_CUSTOMER_USERSAcciónList active Sprout users for a customer with their IDs, names, and email addresses. The response contains sensitive customer user data and should only be used for authorized customer workflows.
SPROUT_SOCIAL_LIST_CUSTOMER_USERSAcciónList active Sprout users for a customer with their IDs, names, and email addresses. The response contains sensitive customer user data and should only be used for authorized customer workflows.
Parámetros de entrada
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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
Query Listening Topic MessagesSPROUT_SOCIAL_QUERY_LISTENING_TOPIC_MESSAGESAcciónQuery raw messages, selected fields, and optional per-message metrics from one Sprout Listening Topic. Returns one provider page; Listening excludes X and does not provide message-level Reddit data.
SPROUT_SOCIAL_QUERY_LISTENING_TOPIC_MESSAGESAcciónQuery raw messages, selected fields, and optional per-message metrics from one Sprout Listening Topic. Returns one provider page; Listening excludes X and does not provide message-level Reddit data.
Parámetros de entrada
pageintegerOne-indexed result page; omit to request the first page.
sortstring[]Sort by message creation time in ascending or descending order.
limitintegerMaximum Listening messages to return on this page (1-100).
fieldsstring[]ObligatorioOne or more documented Listening Message Fields to return.
filtersstring[]ObligatorioListening filter expressions using Sprout's gt, gte, lt, lte, in, eq, neq, exists, or match operators. Common filters select created_time and network.
metricsstring[]Optional documented per-message Listening metric keys to return.
timezonestringICANN time zone used to interpret date/time filters; responses remain UTC.
topic_idstringObligatorioListening Topic ID returned by List Customer Listening Topics.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
scale_metrics_with_repostsbooleanWhether Bluesky reposts count toward volume metrics. This setting affects Bluesky only.
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
Query Listening Topic MetricsSPROUT_SOCIAL_QUERY_LISTENING_TOPIC_METRICSAcciónAggregate metrics for one Sprout Listening Topic, optionally grouped by documented dimensions.
SPROUT_SOCIAL_QUERY_LISTENING_TOPIC_METRICSAcciónAggregate metrics for one Sprout Listening Topic, optionally grouped by documented dimensions.
Parámetros de entrada
sortstring[]Metric or dimension sort expressions in field:asc or field:desc format.
limitintegerMaximum number of metric objects to return. This endpoint does not paginate.
filtersstring[]ObligatorioOne or more Sprout Listening filter expressions, commonly selecting created_time and network.
metricsstring[]ObligatorioOne or more documented Listening metric keys to aggregate.
timezonestringICANN time zone used to interpret date/time filters, such as America/Chicago. Response timestamps remain UTC.
topic_idstringObligatorioListening Topic ID returned by List Customer Listening Topics.
dimensionsstring[]Documented dimensions used to bucket the aggregate metric results.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
scale_metrics_with_repostsbooleanWhether Bluesky reposts count toward volume metrics. This option affects Bluesky only.
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
Query MessagesSPROUT_SOCIAL_QUERY_MESSAGESAcciónRetrieve one page of owned-profile inbox messages and selected metadata for a Sprout customer, with a continuation cursor when more messages are available.
SPROUT_SOCIAL_QUERY_MESSAGESAcciónRetrieve one page of owned-profile inbox messages and selected metadata for a Sprout customer, with a continuation cursor when more messages are available.
Parámetros de entrada
sortstring[]Message created-time sort order. Sprout supports one ascending or descending expression.
limitintegerMaximum messages to return on this page (1-100).
fieldsstring[]Documented Message Fields to return. Sprout returns only guid when this is omitted. inbox_permalink requires a group_id filter. Direct-message text and metadata work, but returned DM image and video URLs do not.
filtersstring[]ObligatorioSprout message filter expressions. Use message_id.eq(...) by itself for up to 100 message GUIDs, or combine documented group, profile, time, action, post-type, tag, language, and author filters.
timezonestringICANN time zone used to interpret date and datetime filter values, such as America/Chicago.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
page_cursorstringContinuation cursor returned as next_cursor by a prior call; omit for the first page.
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
Query Post AnalyticsSPROUT_SOCIAL_QUERY_POST_ANALYTICSAcciónQuery sent-post fields and lifetime metrics for a Sprout customer. Returns one provider page and supports Sprout's filter-encoded GUID continuation pattern for result sets beyond the 10,000-row page-mode limit.
SPROUT_SOCIAL_QUERY_POST_ANALYTICSAcciónQuery sent-post fields and lifetime metrics for a Sprout customer. Returns one provider page and supports Sprout's filter-encoded GUID continuation pattern for result sets beyond the 10,000-row page-mode limit.
Parámetros de entrada
pageintegerOne-indexed page for page-based results. Omit when using a guid.gt(...) or guid.lt(...) deep-pagination filter.
sortstring[]Field:direction sort expressions, such as created_time:asc. A GUID cursor requires guid:asc for guid.gt or guid:desc for guid.lt.
limitintegerNumber of posts to return on this page. Sprout defaults to 50 but does not document a maximum.
fieldsstring[]Documented Message Fields to return. When omitted, Sprout returns guid along with the requested metrics.
filtersstring[]ObligatorioSprout post filter expressions, typically customer_profile_id and created_time. Up to 100 profiles are supported. For deep pagination, use one standalone guid.gt(...) with guid:asc or guid.lt(...) with guid:desc, and omit page.
metricsstring[]Optional documented network-specific lifetime post metric keys to return. Omit metrics when using a guid.gt(...) or guid.lt(...) cursor.
timezonestringICANN time zone used to interpret date/time filters, such as America/Chicago. Response timestamps remain UTC.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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
Query Profile AnalyticsSPROUT_SOCIAL_QUERY_PROFILE_ANALYTICSAcciónQuery daily metrics for up to 100 owned social profiles over a reporting period of at most one year.
SPROUT_SOCIAL_QUERY_PROFILE_ANALYTICSAcciónQuery daily metrics for up to 100 owned social profiles over a reporting period of at most one year.
Parámetros de entrada
pageintegerOne-indexed result page; omit to request the first page.
limitintegerNumber of profile metric rows to request per page. Sprout defaults to 1000 but does not document a maximum.
filtersstring[]ObligatorioSprout filter expressions selecting customer_profile_id and reporting_period. Select at most 100 profiles and a reporting period of at most one year.
metricsstring[]ObligatorioNetwork-specific profile metric keys to return. A metric must be available for each selected profile's social network and account tier.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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
Start Multipart Media UploadSPROUT_SOCIAL_START_MULTIPART_MEDIA_UPLOADAcciónStart a Sprout multipart media submission with its first file part, or start an asynchronous download from one public media URL. A file part may be smaller than 5 MiB only when no later parts will be uploaded.
SPROUT_SOCIAL_START_MULTIPART_MEDIA_UPLOADAcciónStart a Sprout multipart media submission with its first file part, or start an asynchronous download from one public media URL. A file part may be smaller than 5 MiB only when no later parts will be uploaded.
Parámetros de entrada
mediaobjectFirst media part, mutually exclusive with media_url. Supply at most 5 MiB (5,242,880 bytes). A part smaller than 5 MiB is valid only when it is the only and final part; otherwise the first part must be exactly 5 MiB.
media_urlstringuriPublicly reachable HTTP or HTTPS media URL for Sprout to download asynchronously; mutually exclusive with media.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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
Upload MediaSPROUT_SOCIAL_UPLOAD_MEDIAAcciónUpload one media file of at most 50 MiB to Sprout, or have Sprout synchronously download one public HTTP or HTTPS media URL. Uploaded media normally expires after 24 hours unless it is attached to a publishing post. Sprout accepts PNG, GIF, WebP, JPEG/HEIF-family images, common AVI/MOV/MP4/MPEG/WebM/Matroska video, SRT subtitles, and PDF documents; target social networks may impose additional restrictions.
SPROUT_SOCIAL_UPLOAD_MEDIAAcciónUpload one media file of at most 50 MiB to Sprout, or have Sprout synchronously download one public HTTP or HTTPS media URL. Uploaded media normally expires after 24 hours unless it is attached to a publishing post. Sprout accepts PNG, GIF, WebP, JPEG/HEIF-family images, common AVI/MOV/MP4/MPEG/WebM/Matroska video, SRT subtitles, and PDF documents; target social networks may impose additional restrictions.
Parámetros de entrada
mediaobjectMedia file to upload. Provide exactly one of media or media_url. The file must use a Sprout-supported media type and be at most 50 MiB (52,428,800 bytes).
media_urlstringuriPublicly reachable HTTP or HTTPS media URL for Sprout to download synchronously. Provide exactly one of media_url or media.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
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
Upload Multipart Media PartSPROUT_SOCIAL_UPLOAD_MULTIPART_MEDIA_PARTAcciónUpload one subsequent non-empty chunk to an existing Sprout media submission. Part numbers begin at 2; each non-final chunk must be exactly 5 MiB, while the final chunk may be smaller.
SPROUT_SOCIAL_UPLOAD_MULTIPART_MEDIA_PARTAcciónUpload one subsequent non-empty chunk to an existing Sprout media submission. Part numbers begin at 2; each non-final chunk must be exactly 5 MiB, while the final chunk may be smaller.
Parámetros de entrada
mediaobjectObligatorioNon-empty media chunk. Use exactly 5 MiB for every non-final part; the final part may contain any positive number of bytes.
customer_idintegerObligatorioSprout customer ID returned by List Clients.
part_numberintegerObligatorioSequential part number for this chunk, starting at 2.
submission_idstringObligatorioMedia submission ID returned by Start Multipart Media Upload.
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