v1Recursos/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/api/v1/listening/opportunities/{id}/post-ideas
listening:write
Parâmetros de consulta
idstringobrigatório
The opportunity's id.
Corpo da solicitação
clientIdstringobrigatório
The client (business) this concerns.
Resposta
dataobjectopcional
postIdeaIdsarray of stringopcional
The ids of the post ideas.
createdbooleanopcional
False when the ideas already existed.
Erros
400Falta um parâmetro obrigatório na solicitação, ou ela é inválida de outra forma.
401Chave de API ausente, inválida, expirada ou revogada.
403A chave não tem a permissão exigida, ou não está autorizada para este cliente/local.
404O recurso não foi encontrado, ou não pertence à sua agência.
429Muitas solicitações. Tente novamente após o número de segundos indicado no cabeçalho Retry-After.
post/api/v1/listening/opportunities/{id}/post-ideas
Sua chave de API
id *
Corpo da solicitação*
{}

Novo na API da Synup?