agentlyleads docs
Tags API

Errors

Every error is a JSON object with a single error string, written to be shown to a person.

StatusMeaning
200Success, or POST /api/v1/tags found an existing tag with that name
201 CreatedThe tag was created
400 Bad RequestA missing or invalid field
401 UnauthorizedMissing, malformed, expired, or revoked API key
403 ForbiddenThe key lacks read:tags (for GET) or write:tags (everything else)
404 Not FoundA tag or record ID that is not in this workspace
409 ConflictA rename to a name another tag already has
429 Too Many RequestsRate limit exceeded. See the Retry-After header

Examples

{ "error": "name is required." }
{ "error": "entity must be one of: CONTACT, LEAD, COMPANY, DEAL." }
{ "error": "At most 500 recordIds per request." }
{ "error": "No contact with id cmq2cont9alk34567899 in this workspace. Nothing was changed." }
{ "error": "Tag not found: cmq5tag9alk34567899. Nothing was changed." }
{ "error": "A tag named \"Key account\" already exists." }

On this page