v1Resources/Social Listening/patchUpdate a listening tag

Update a listening tag

Edits a tag. Send only what changes. Changing the criteria of an automatic tag classifies the client's posts again in the background.

patch/api/v1/listening/tags/{id}
listening:write
Query parameters
idstringrequired
The tag's id.
Request body
clientIdstringrequired
The client (business) this concerns.
namestringoptional
The tag's name, up to 60 characters. Unique per client.
definitionstringoptional
What the tag means, in a sentence.
includeCriteriastringoptional
What makes a post belong to the tag.
excludeCriteriastringoptional
What rules a post out. Optional.
keywordsarray of stringoptional
Up to 20 helper keywords.
automaticbooleanoptional
True tags posts automatically from the criteria; false leaves tagging to you.
Response
dataobjectoptional
savedbooleanoptional
True when the change was saved.
classificationQueuedbooleanoptional
Whether a background re-classification was queued.
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.
409The request conflicts with the current state of the resource — for example, changing the email or phone of a recipient who has already been messaged, or a team invite that was already accepted (or hasn't been accepted yet).
429Too many requests. Retry after the number of seconds in the Retry-After header.
patch/api/v1/listening/tags/{id}
Your API key
id *
Request body*
{}

New to the Synup API?