Create a custom alert status with a display name and colour. Statuses are per organization and can be used when updating an alert’s status.
Request structure
curl -X POST 'https://api.cloud.blnkfinance.com/alerts/statuses' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "Pending Review",
"colour": "#3B82F6"
}'
Display name for the status (e.g. “Pending Review”, “In Progress”). If key is omitted, a key is derived from this (e.g. “Pending Review” → PENDING_REVIEW). Names must be unique per org when key is auto-derived.
Hex colour code for the status. Must be one of the values in allowed_colours from the list statuses response.
Optional. Custom key for the status (e.g. PENDING_REVIEW). If omitted, a key is derived from name. Must be unique per organization.
Response structure
{
"organization_id": "org_01ABC123",
"key": "PENDING_REVIEW",
"name": "Pending Review",
"colour": "#3B82F6",
"created_at": "2025-01-29T14:00:00Z",
"updated_at": "2025-01-29T14:00:00Z"
}
Organization ID that owns the status.
The status key (supplied or derived from name).
Display name of the status.
Hex colour code of the status.
ISO 8601 timestamp when the status was created.
ISO 8601 timestamp when the status was last updated.
Need help?
If you’re having trouble with Blnk Cloud, don’t hesitate to send us a message via email at [email protected] or send us a message here.