Skip to main content
POST
/
statuses
/
create
Create status
curl --request POST \
  --url https://api.obselite.com/v0/statuses/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "colorKey": "AMBER",
  "statusGroupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "icon": "<string>",
  "color": "<string>",
  "order": 123,
  "isEnabled": true,
  "lockedAt": "<string>",
  "cycles": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "resources": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "tasks": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "teams": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "color": "<string>",
  "colorKey": "AMBER",
  "organization": {},
  "statusGroup": {},
  "cycles": [
    {}
  ],
  "resources": [
    {}
  ],
  "tasks": [
    {}
  ],
  "teams": [
    {}
  ],
  "activities": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

The API token generated from the Obselite dashboard

Body

application/json
colorKey
enum<string>
Available options:
AMBER,
BLACK,
BLUE,
CYAN,
EMERALD,
FUCHSIA,
GRAY,
GREEN,
INDIGO,
LIME,
NEUTRAL,
ORANGE,
PINK,
PRIMARY,
PURPLE,
RED,
ROSE,
SKY,
SLATE,
STONE,
TEAL,
VIOLET,
WHITE,
YELLOW,
ZINC
statusGroupId
string<uuid> | null

Status Group UUID

name
string
description
string | null
icon
string | null
color
string | null
order
integer
isEnabled
boolean
lockedAt
string | null
cycles
string<uuid>[]
resources
string<uuid>[]
tasks
string<uuid>[]
teams
string<uuid>[]

Response

Successful response

id
string<uuid>
required

Status UUID

name
string
required
colorKey
enum<string>
required
Available options:
AMBER,
BLACK,
BLUE,
CYAN,
EMERALD,
FUCHSIA,
GRAY,
GREEN,
INDIGO,
LIME,
NEUTRAL,
ORANGE,
PINK,
PRIMARY,
PURPLE,
RED,
ROSE,
SKY,
SLATE,
STONE,
TEAL,
VIOLET,
WHITE,
YELLOW,
ZINC
description
string | null
color
string | null
organization
object | null

The organization that owns this status, following the organization schema

statusGroup
object | null

The status group that this status belongs to, following the status group schema

cycles
array
resources
array
tasks
array
teams
array
activities
array