v1Ressourcen/Social Inbox/postTag an inbox item

Tag an inbox item

Adds and removes tags on one item. Name tags by id or by name, as listed by the tags endpoint. A tag that does not exist is refused by name, because new tags are created in the app, and an archived tag cannot be added.

post/api/v1/inbox/{kind}/{id}/tags
inbox:write
Query-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
addarray of stringoptional
Tags to add, by id or name.
removearray of stringoptional
Tags to remove, by id or name.
Antwort
dataobjectoptional
okbooleanoptional
True when the tags were changed.
addedarray of stringoptional
The names of the tags that were added.
removedarray of stringoptional
The names of the tags that were removed.
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}/tags
Ihr API-Schlüssel
kind *
id *
Anfragetext
{
  "data": {
    "ok": true,
    "added": [
      "VIP"
    ],
    "removed": []
  }
}

Neu bei der Synup-API?