profiles
Create profile
Creates a new profile with a name, optional description, and color.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
namestring
description?string
color?string
Response Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/profiles" \ -H "Content-Type: application/json" \ -d '{ "name": "Marketing Team", "description": "Profile for marketing campaigns", "color": "#4CAF50" }'{
"message": "Profile created successfully",
"profile": {
"_id": "64f0a1b2c3d4e5f6a7b8c9d0",
"userId": "6507a1b2c3d4e5f6a7b8c9d0",
"name": "Marketing Team",
"description": "Profile for marketing campaigns",
"color": "#4CAF50",
"isDefault": false,
"createdAt": "2024-11-01T10:00:00Z"
}
}Empty
{
"error": "Unauthorized"
}Empty