v1Resources/Social Listening/postTag posts by hand
Tag posts by hand
Marks up to 100 of the client's own posts as belonging to a tag (include), as not belonging (exclude, which keeps the automatic classifier from tagging them) or back to the automatic call (clear). If any post is not the client's, nothing is applied. This changes tags only; nothing is collected or re-classified.
post
listening:write/api/v1/listening/tags/{id}/assignmentsQuery parameters
idstringrequired
The tag's id.
Request body
clientIdstringrequired
The client (business) this concerns.
postIdsarray of stringrequired
The posts' ids, as returned by the listening posts reads. 1 to 100.
decisionstring (include | exclude | clear)required
include, exclude, or clear to go back to the automatic call.
Response
dataobjectoptional
assignedintegeroptional
How many posts the decision applied to.
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/listening/tags/{id}/assignments
Your API key
id *
Request body*
{
"data": {
"assigned": 2
}
}