v1Ressourcen/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}/assigneeQuery-Parameter
kindstring (comment | message | mention)erforderlich
The kind of item: a comment, a direct message conversation or a mention.
idstringerforderlich
The item's id, from the inbox list.
Anfragetext
assigneeUserIdstringerforderlich
The teammate's user id.
notestringoptional
An optional note for the assignee, up to 2,000 characters.
Antwort
dataobjectoptional
okbooleanoptional
True when the item was assigned.
assigneeUserIdstringoptional
The teammate it was assigned to.
notifiedbooleanoptional
True when the assignee was notified.
Fehler
400Der Anfrage fehlt ein erforderlicher Parameter, oder sie ist anderweitig fehlerhaft.
401API-Schlüssel fehlt, ist ungültig, abgelaufen oder widerrufen.
403Dem Schlüssel fehlt die erforderliche Berechtigung, oder er ist für diesen Kunden/Standort nicht autorisiert.
404Die Ressource wurde nicht gefunden oder gehört nicht zu Ihrer Agentur.
429Zu viele Anfragen. Versuchen Sie es nach der im Retry-After-Header angegebenen Anzahl Sekunden erneut.
post/api/v1/inbox/{kind}/{id}/assignee
Ihr API-Schlüssel
kind *
id *
Anfragetext*
{
"data": {
"ok": true,
"assigneeUserId": "usr_123",
"notified": true
}
}