v1Recursos/Social Inbox/postAnswer a comment privately

Answer a comment privately

Sends the comment's author a private direct message (Meta Private Replies, Facebook and Instagram). It sends a real message under the business's name. Meta allows one per comment, within 7 days of it; a second one is refused.

post/api/v1/inbox/{kind}/{id}/private-reply
inbox:write
Parâmetros de consulta
kindstring (comment | message | mention)obrigatório
The kind of item: a comment, a direct message conversation or a mention.
idstringobrigatório
The item's id, from the inbox list.
Corpo da solicitação
textstringobrigatório
The message, up to 1,000 characters.
Resposta
dataobjectopcional
okbooleanopcional
True when the message was sent.
conversationIdstringopcional
The direct message conversation it went into.
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/inbox/{kind}/{id}/private-reply
Sua chave de API
kind *
id *
Corpo da solicitação*
{
  "data": {
    "ok": true,
    "conversationId": "conv_123"
  }
}

Novo na API da Synup?