v1Resources/Social Inbox/postResolve or reopen an inbox item

Resolve or reopen an inbox item

Sets an item to resolved or open. Setting a state it is already in answers success with changed false, so repeating it is safe.

post/api/v1/inbox/{kind}/{id}/status
inbox:write
Query parameters
kindstring (comment | message | mention)required
The kind of item: a comment, a direct message conversation or a mention.
idstringrequired
The item's id, from the inbox list.
Request body
statusstring (open | resolved)required
The status to set.
Response
dataobjectoptional
okbooleanoptional
True when the request succeeded.
statusstringoptional
The status now.
changedbooleanoptional
False when the item was already in that status.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/inbox/{kind}/{id}/status
Your API key
kind *
id *
Request body*
{
  "data": {
    "ok": true,
    "status": "resolved",
    "changed": true
  }
}

New to the Synup API?