Tags
Add ability to get, create, and apply tags from contacts
Get list of current tags
GET: /tags
200 Response Object
Return
CODE | RETURN |
---|---|
200 | Tag Object |
401 | Unauthorized |
404 | Returns account not found error |
500 | Internal Server Error |
Create a new tag
POST: /tags
Body
FIELD | TYPE | Description |
---|---|---|
name | string | the name of the tag |
200 Response Object
Return codes
CODE | RETURN |
---|---|
201 | Created Value |
400 | Neo4j Error |
401 | Unauthorized |
500 | Internal Server Error |
Apply tag to contact
POST: /tags/:tagId
Body
FIELD | TYPE | Description |
---|---|---|
contactIds | array of strings | list of contact ids to apply |
201 Response Object
Return codes
CODE | RETURN |
---|---|
201 | Created Value |
401 | Unauthorized |
404 | Contact or tag not found |
500 | Internal Server Error |
Last updated