Cue
API ReferenceProfiles

Create a profile

Create a new profile to organize social accounts.

POST
/profiles

Authorization

bearerAuth
AuthorizationBearer <token>

API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.

Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234

In: header

Request Body

application/json

name*string

Profile name

Length1 <= length <= 100
groupId?string

Optional group to organize profiles

Response Body

application/json

application/json

application/json

curl -X POST "https://api.oncue.so/v1/profiles" \  -H "Content-Type: application/json" \  -d '{    "name": "Marketing Team",    "groupId": "grp_m4k9n2x7pqhj"  }'
{
  "data": {
    "id": "prf_n8k3m7x2pqhj",
    "userId": "usr_x9k4m2n7pqhj",
    "name": "Marketing Team",
    "groupId": "grp_m4k9n2x7pqhj",
    "active": true,
    "createdAt": "2025-01-15T10:00:00Z",
    "updatedAt": "2025-01-15T10:00:00Z"
  }
}
{
  "error": "Unauthorized"
}
{
  "error": "Group not found"
}