curl --location --request POST 'https://api.inboxkit.com/v1/api/tags/assign' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"entityType": "domains",
"entityUids": [
"550e8400-e29b-41d4-a716-446655440000"
],
"tagUids": [
"770e8400-e29b-41d4-a716-446655440002"
],
"action": "add"
}'
{
"error": false,
"message": "Tags added to 5 domains successfully",
"data": {
"entitiesUpdated": 5,
"totalEntities": 5,
"tags": [
"string"
],
"action": "add",
"createdTags": [
{
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"name": "string",
"hexColor": "string"
}
],
"updatedEntities": [
{
"uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
"tags": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}
}