Create group layout separator
Creates Group Layout Separator using the API key’s account.
POST
/api/v1/groups/{groupId}/layout/separatorsgroupLayout: read_write1,000 requests/minute/key · all plansActive API keys: Free 1, Pro 5, Pro+ 5. The request rate is the same on every plan.
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
groupId | string (uuid) | Required | Identifier of the group. |
Request body
application/json · required
| Name | Type | Required | Description |
|---|---|---|---|
position | number | Required | Position. |
label | string | Optional | Label. |
colorPreset | string | Optional | Color Preset. |
icon | string | Optional | Icon. |
Response schema
201
Created.
| Name | Type | Required | Description |
|---|
Errors
400· JSON errorRequest failed (BAD_REQUEST).
401· JSON errorMissing or invalid API key. Use Authorization: Bearer <token>.
403· JSON errorRequires groupLayout: read_write; ownership or feature restrictions may also deny access.
404· JSON errorRequest failed (NOT_FOUND).
409· JSON errorRequest failed (CONFLICT).
429· JSON errorAPI rate limit exceeded (1000 requests per minute). Retry shortly.
503· JSON errorPostgreSQL is not configured (DATABASE_URL).
Request example
Set FLORALITY_KEY in your environment. These examples use demo identifiers.
curl --request POST 'https://floralitys.com/api/v1/groups/11111111-1111-4111-8111-111111111111/layout/separators' \
--header "Authorization: Bearer $FLORALITY_KEY" \
--header "Content-Type: application/json" \
--data '{
"position": 0
}'Responses
Created.
"demo"Example values are illustrative demo data.
