id string required
Unique status identifier. Format: sts_ followed by alphanumeric characters.
name string required
Status name (e.g., Active, Inactive, InvitationSent).
description string | null optional
Human-readable description of the status.
organization_id string required
Reference to the Organization this status belongs to.
is_base_status boolean required
Whether this is a mandatory base status. Base statuses cannot be deleted. Default: false.
is_custom boolean required
Whether this is a custom organization-specific status. Default: false.
can_be_deleted boolean required
Whether the status can be deleted. Base statuses cannot be deleted. Default: true.
color string | null optional
Hex color code for UI display (e.g., #4CAF50 for active, #F44336 for inactive).
icon string | null optional
Icon identifier for UI display.
order integer optional
Display order in UI lists. Lower values appear first. Default: 0.
selectable_in_ui boolean required
Whether users can manually select this status in the UI. Default: true.
is_active boolean required
Whether the status is active and can be assigned. Default: true.
created_at string required
Timestamp when the status was created. Format: ISO 8601 datetime string.
updated_at string required
Timestamp when the status was last updated. Format: ISO 8601 datetime string.
Every organization is created with these mandatory base statuses:
User is active and has full access to the organization.
User account is temporarily inactive but not deleted.
User has been invited but hasn't accepted yet.
User has been removed from the organization (soft delete).
Base Status: Active
{
"id": "sts_active_abc123",
"name": "Active",
"description": "User is active and has full access to the organization",
"organization_id": "ORG_A1B2C3D4E5F6G7H8",
"is_base_status": true,
"is_custom": false,
"can_be_deleted": false,
"color": "#4CAF50",
"icon": "check_circle",
"order": 1,
"selectable_in_ui": true,
"is_active": true,
"created_at": "2025-01-10T09:00:00Z",
"updated_at": "2025-01-10T09:00:00Z"
}Base Status: InvitationSent
{
"id": "sts_invitation_def456",
"name": "InvitationSent",
"description": "User has been invited but hasn't accepted yet",
"organization_id": "ORG_A1B2C3D4E5F6G7H8",
"is_base_status": true,
"is_custom": false,
"can_be_deleted": false,
"color": "#FF9800",
"icon": "mail_outline",
"order": 3,
"selectable_in_ui": false,
"is_active": true,
"created_at": "2025-01-10T09:00:00Z",
"updated_at": "2025-01-10T09:00:00Z"
}Custom Status: OnBoarding
{
"id": "sts_onboarding_ghi789",
"name": "OnBoarding",
"description": "User is currently going through onboarding process",
"organization_id": "ORG_A1B2C3D4E5F6G7H8",
"is_base_status": false,
"is_custom": true,
"can_be_deleted": true,
"color": "#2196F3",
"icon": "school",
"order": 2,
"selectable_in_ui": true,
"is_active": true,
"created_at": "2025-01-12T10:00:00Z",
"updated_at": "2025-01-12T10:00:00Z"
}