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)obligatorio
The kind of item: a comment, a direct message conversation or a mention.
idstringobligatorio
The item's id, from the inbox list.
Cuerpo de la solicitud
assigneeUserIdstringobligatorio
The teammate's user id.
notestringopcional
An optional note for the assignee, up to 2,000 characters.
Respuesta
dataobjectopcional
okbooleanopcional
True when the item was assigned.
assigneeUserIdstringopcional
The teammate it was assigned to.
notifiedbooleanopcional
True when the assignee was notified.
Errores
400A la solicitud le falta un parámetro obligatorio o es inválida de otra forma.
401La clave de API falta, es inválida, expiró o fue revocada.
403A la clave le falta el permiso requerido, o no está autorizada para este cliente/ubicación.
404El recurso no se encontró, o no pertenece a su agencia.
429Demasiadas solicitudes. Reintente tras el número de segundos indicado en el encabezado Retry-After.
post/api/v1/inbox/{kind}/{id}/assignee
Su clave de API
kind *
id *
Cuerpo de la solicitud*
{
"data": {
"ok": true,
"assigneeUserId": "usr_123",
"notified": true
}
}