Write Operations
These endpoints create profile tags, and apply or remove them on profiles.
Endpoints
POST api/profile-tags/bulk-create/
POST api/profile-tags/assign/
POST api/profile-tags/unassign/Create profile tags
Accepts a single object or a list of objects. Tag titles are unique within an organization, so a title that already exists is skipped and reported back rather than failing the request. That means you can safely re-run the same import.
POST api/profile-tags/bulk-create/tag_title (
string, required): The title of the tag.
Example Request Payload
[
{ "tag_title": "Board Member" },
{ "tag_title": "First Aid Certified" }
]Example Response
{
"created": [
{
"id": "ec007482-7c9a-4ec0-963d-8cb0048ff2fc",
"tag_title": "Board Member"
}
],
"skipped": [
{
"tag_title": "First Aid Certified",
"reason": "already exists"
}
]
}Assign tags to profiles
Applies every listed tag to every listed profile. Tags are added to what the profile already has, so this never removes a tag applied elsewhere.
user_ids (
array, required): The profiles to tag, by Vome ID. A single user_id is also accepted.tag_ids (
array, required): The tags to apply, by ID. A single tag_id is also accepted.
Example Request Payload
Example Response
Remove tags from profiles
Removes every listed tag from every listed profile. The body is the same shape as the assign endpoint.