Get list of available statuses for the organization.
GET/v1/organizations/{organization_id}/statuses
organization_id string required
Organization ID
Returns a list of available statuses.
selectable_in_uiindicates if status can be manually assigned by admins- Only returns active statuses
Requires Admin or Owner role.
Bash
- Bash
- Python
- JavaScript
curl https://api.aitronos.com/v1/organizations/org_abc123/statuses \
-H "X-API-Key: $FREDDY_API_KEY"Response:
{
"statuses": [
{
"id": "status_abc123",
"name": "Active",
"selectable_in_ui": true
},
{
"id": "status_def456",
"name": "Inactive",
"selectable_in_ui": true
},
{
"id": "status_xyz789",
"name": "Pending",
"selectable_in_ui": false
}
]
}