v1Recursos/Social Inbox/postAssign an inbox item
Assign an inbox item
Assigns an item to a teammate. An item can have several owners. Assigning the same person again updates the note and does not notify them again; a new assignee is notified in the app. The assignment is recorded as made by the integration.
post
inbox:write/api/v1/inbox/{kind}/{id}/assigneeParâ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
assigneeUserIdstringobrigatório
The teammate's user id.
notestringopcional
An optional note for the assignee, up to 2,000 characters.
Resposta
dataobjectopcional
okbooleanopcional
True when the item was assigned.
assigneeUserIdstringopcional
The teammate it was assigned to.
notifiedbooleanopcional
True when the assignee was notified.
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}/assignee
Sua chave de API
kind *
id *
Corpo da solicitação*
{
"data": {
"ok": true,
"assigneeUserId": "usr_123",
"notified": true
}
}