Social
getPostInsightsAndCommentsForSocialChannel
Changed onReturns the platform's own engagement payload and comments for one published post on one connected channel.
get/api/v4/social/posts/{postId}/insights
Request
- Base URLhttps://listingsapi.com
- Auth
- API key in header Authorization
- or API key in header X-RapidAPI-Key and API key in header X-RapidAPI-Host
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
postIdstring required
Post UUID, the socialPostId returned by POST /social/posts.
Query parameters
socialConnectedChannelIdstring required
UUID of the connection to read insights for, the id of a row from the brand's connections list. Insights are per channel, so this is required even when the post targeted one platform. Note the name: this endpoint takes socialConnectedChannelId, while disconnect takes socialProfileConnectedChannelId for the same ID.
Response
Successful response
Changes
- breaking
added to the response body
oneOflist for the response status - info
removed from the response body
oneOflist for the response status
- breaking
- info
endpoint added
- info