color is optional and must be a 6-digit hex string including the leading #.{
"userId": "K5PF9Y068AMDGENV5BTCNJJZK55F",
"account": "andrew.lawyer@aurumlawyer.com",
"labelName": "Priority",
"color": "#FF5500"
}curl --location 'https://customers.coldmailreseller.com/api/v1/integration/onebox/labels' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "K5PF9Y068AMDGENV5BTCNJJZK55F",
"account": "andrew.lawyer@aurumlawyer.com",
"labelName": "Priority",
"color": "#FF5500"
}'{
"status": 201,
"message": "Label created",
"data": {
"id": "21b287e4-dbb1-4fec-b8b9-3d4042747a37",
"labelName": "Priority",
"color": "#FF5500"
}
}