![]() ![]() The content body for all requests are JSON objects. You’re limited to the following number of requests:Īll requests have the following format: Request Headers Type Due to the backwards compatibility of minor versions, you only need to specify the major version in the URL path. ![]() Minor versions are reflected in documentation, but not the API URL itself. You can specify only the major number in requests, but the full version is included in responses.Ī major version represents a breaking change to the API, including updates to the syntax and semantics for making requests of the APIs and the syntax and semantics of the response of the API.Ī minor version represents a backwards compatible change to the API, such as adding new metrics, new endpoints, metric updates, etc. The Sprout API is versioned using a MAJOR.MINOR version format. version is the API major version number.Messages Endpoint - This endpoint provides detailed data and metadata about your Sprout messages.Īll endpoints use the following naming structure: ///.Analytics Endpoints - These endpoints provide information about your Sprout profiles and posts.Customer Metadata Endpoints - Use these endpoints to obtain high-level information about your Sprout customer account and profiles you have access to many of these endpoints provide data needed to make requests to other Sprout API endpoints.Sprout API endpoints are grouped into three collections: This appears at the top of the API Tokens settings page. After Twitter approves your use case, the Account Owner needs to accept the Analytics API Twitter Content End User License Agreement. You’re required to undergo a brief Twitter review and approval process before you can access Twitter's data through the Sprout API.Ĭontact your Sprout Social account representative to initiate the review process with Twitter. Note: Twitter has additional review and compliance requirements around exposing data through the API. Twitter Data: Twitter Content End User License Agreement Click Create API Token in the upper left corner.Accept Sprout’s Analytics API Terms of Service, if you haven’t already.Scroll down to the reporting section and click API Tokens.Log in to Sprout and navigate to Settings.on a native social network, like Twitter or Instagram.Ĭreating an access token as an Account Owner Profile: A profile refers to an account, page, handle, etc.All posts are messages, but not all messages are posts. Message: A message refers to any message that was published by or received by an owned profile.Post: A post refers to a message that was published by an owned profile.prevent the tokens from being used for client requests). The Account Owner can create new access tokens via the dialog, view existing access tokens or invalidate existing tokens (i.e. To do so, follow the steps in the Creating an access token as an Account Owner section. Once the account is provisioned, you must obtain an access token. □ The Sprout API does not currently include:īefore accessing the API, your account must be provisioned for API use by your Sprout account representative. This includes messages received by and replied to from your profiles.įor specific data and metrics, reference the Metrics & Fields sections of this doc. ✅ Message Data - Get detailed information, including metadata, about your messages.✅ Post Data - This matches the data available in Sprout’s Post Performance Report.✅ Owned Profile Data - This matches the data available in Sprout’s Profile Performance, Twitter Profiles, Facebook Pages, Instagram Business Profiles, LinkedIn Pages, Pinterest Profiles, TikTok Profiles and YouTube Videos Report.The Sprout API provides an externally accessible API for you to access your owned social profile data so you can use that data to power dashboards and automate your reporting. ![]()
0 Comments
Leave a Reply. |