Skip to main content
POST
/
projects
/
{project_id}
/
sections
Create Section
curl --request POST \
  --url https://api.everhour.com/projects/{project_id}/sections \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "name": "Section Name",
  "position": 1,
  "status": "open"
}
'
{
  "id": 1234,
  "name": "Section Name",
  "project": "ev:1234567890",
  "position": 1,
  "status": "open"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

project_id
string
required

Project ID

Example:

"ev:1234567789001"

Body

application/json
name
string
required
Example:

"Section Name"

position
number
Example:

1

status
enum<string>
Available options:
open,
archived
Example:

"open"

Response

Created

id
number
required
Example:

1234

name
string
required
Example:

"Section Name"

project
string
required
Example:

"ev:1234567890"

position
number
required
Example:

1

status
enum<string>
Available options:
open,
archived
Example:

"open"