Create Domain Tags
Testing
Request
Body Params application/jsonRequired
[{"name": "Production", "tagColor": "#FF5733"}]
Request Code Samples
curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/tags' \
--header 'x-auth-zapmail: YOUR_API_KEY' \
--header 'x-workspace-key;' \
--header 'Content-Type: application/json' \
--data-raw '[{"name": "Production", "tagColor": "#FF5733"}]'
Responses
application/json {"status": 200, "message": "Tags created successfully", "data": {"tagIds": ["uuid"], "domainTagsCreated": []}}
Modified at 2026-01-16 08:43:40