Docs
Email Accounts

Create workspace tag

Create a workspace tag

POST
/v2/workspaces/{workspaceId}/tags

Path Parameters

workspaceIdnumber
namestring

Tag name (trimmed, 1–50 chars).

Lengthlength <= 50

Response Body

curl -X POST "https://lynx-api.trulyinbox.com/v2/workspaces/0/tags" \  -H "Content-Type: application/json" \  -d '{    "name": "Q1 Campaign"  }'
{
  "data": {
    "id": 0,
    "name": "string",
    "color": "string",
    "accountCount": 0
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}