Skip to main content
POST
/
tabs
Create Tab
curl --request POST \
  --url https://backend.anglera.com/tabs \
  --header 'Content-Type: application/json' \
  --header 'X-Anglera-API-Key: <api-key>' \
  --data '
{
  "sheet_id": "<string>",
  "name": "<string>"
}
'
{
  "tab": {
    "id": 123,
    "name": "<string>",
    "sheet_id": 123,
    "position": 123
  }
}
Creates a new tab in a sheet. Tab names must be unique within a sheet (case-insensitive). The new tab is automatically positioned after the last existing tab.

Request

curl -X POST "https://backend.anglera.com/tabs" \
  -H "X-Anglera-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "sheet_id": "100",
    "name": "Batch 2026-03-04"
  }'

Body Parameters

sheet_id
string
required
ID of the sheet to create the tab in
name
string
required
Display name for the new tab. Must be unique within the sheet (case-insensitive).

Response

tab
object
The newly created tab
Example Response
{
  "tab": {
    "id": 42,
    "name": "Batch 2026-03-04",
    "sheet_id": 100,
    "position": 20
  }
}
Use the returned id as the tab_id parameter in Batch Create Products to assign products to this tab.

Errors

Status CodeDescription
400Missing required fields (sheet_id or name)
401Invalid API key
404Sheet not found
409A tab with this name already exists in the sheet
500Internal server error