curl --request POST \
--url https://thalamus.nerds.nl/api/v1/partner/reference/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "waiting_on_customer",
"label": "Waiting on Customer",
"mapped_status": "pending",
"source_system": "freshdesk",
"status": "active"
}
'{
"success": true,
"data": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "waiting_on_customer",
"label": "Waiting on Customer",
"status": "active",
"mapped_status": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "pending",
"label": "Pending",
"sort_order": 4,
"color": "#8b5cf6",
"description": "Ticket is pending awaiting response from the ticket requester"
}
},
"message": "Status variant created successfully"
}Upserts a partner-specific status variant. If a status with the same id
already exists for this partner, it will be updated. Otherwise a new status is created.
The mapped_status field must be one of the 6 internal categories:
new, open, pending, hold, solved, closed.
curl --request POST \
--url https://thalamus.nerds.nl/api/v1/partner/reference/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "waiting_on_customer",
"label": "Waiting on Customer",
"mapped_status": "pending",
"source_system": "freshdesk",
"status": "active"
}
'{
"success": true,
"data": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "waiting_on_customer",
"label": "Waiting on Customer",
"status": "active",
"mapped_status": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "pending",
"label": "Pending",
"sort_order": 4,
"color": "#8b5cf6",
"description": "Ticket is pending awaiting response from the ticket requester"
}
},
"message": "Status variant created successfully"
}Partner API key (e.g. nerds_live_a8f3d9k2m5n7p1q4r6t8v0w2x4y6z8)
Create or update a partner-specific status variant.
The mapped_status maps this variant to one of the 6 internal categories.
Machine-readable status identifier (unique per partner)
1 - 256"waiting_on_customer"
Human-readable display label
1 - 128"Waiting on Customer"
Internal category this status maps to
new, open, pending, hold, solved, closed "pending"
Which CRM or source system this status originates from
256"freshdesk"
Set to inactive to soft-delete
active, inactive