Skip to Content
📘 Infrabox developer docs — API reference for mailbox & domain infrastructure.

Tags

Free-form labels you can attach to domains or mailboxes to organize them — by client, campaign, sending pool, or anything else useful in your own workflow.

MethodPathDescription
GET/v1/api/tagsList all tags in the workspace
POST/v1/api/tagsCreate a new tag
DELETE/v1/api/tags/{uid}Delete a tag
POST/v1/api/tags/assignAssign tag(s) to domain(s) or mailbox(es)

Create and assign a tag

curl -X POST https://api.infrabox.software/v1/api/tags \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "X-Workspace-Id: YOUR_WORKSPACE_UID" \ -H "Content-Type: application/json" \ -d '{ "name": "client-acme" }'
curl -X POST https://api.infrabox.software/v1/api/tags/assign \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "X-Workspace-Id: YOUR_WORKSPACE_UID" \ -H "Content-Type: application/json" \ -d '{ "tag_uids": ["tag_123"], "mailbox_uids": ["mb_111", "mb_222"] }'

Errors

StatusMeaning
400Invalid body
401Missing/invalid API key
404Tag, domain, or mailbox not found
500Internal error
Last updated on