v1Resources/Social Listening/postTurn an opportunity into post ideas
Turn an opportunity into post ideas
Creates post ideas from an opportunity's example posts. Needs the Post Ideas & Content Series write scope as well. Answers 200 when the ideas already existed, 201 when they were created, and 422 when the opportunity has no example posts to turn into ideas.
post
listening:write/api/v1/listening/opportunities/{id}/post-ideasQuery parameters
idstringrequired
The opportunity's id.
Request body
clientIdstringrequired
The client (business) this concerns.
Response
dataobjectoptional
postIdeaIdsarray of stringoptional
The ids of the post ideas.
createdbooleanoptional
False when the ideas already existed.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/listening/opportunities/{id}/post-ideas
Your API key
id *
Request body*
{}