Profiles
Creates a new profile with a name and optional color.
Authorization
bearerAuth AuthorizationBearer <token>
API key with fh_ prefix. Pass as Authorization: Bearer fh_...
In: header
Request Body
application/json
name*string
Profile name
color?string
Hex color code
Default
"#f5d76e"Response Body
application/json
application/json
curl -X POST "https://app.feedhorizon.dev/api/v1/profiles" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"data": {
"id": "string",
"name": "string",
"color": "#f5d76e",
"userId": "string",
"isDefault": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "string",
"details": [
{
"field": "string",
"message": "string"
}
]
}
}