Create a new tag on the patient. Color must be one of the allowed palette values; defaults to #C1E4FF if omitted.
Security
PartnerApiKey and PartnerOAuth
Tag color as a hex code from the Lobbie palette. Defaults to #C1E4FF if omitted. Allowed values: #C1E4FF, #FFF5C4, #F7D8D8, #FAE6E6, #FFCBBA, #DFF8B6, #CBEBD7, #DDF2E5, #FFED8B, #D4DAFF, #FFBABA, #F3EAF6, #B4F595, #DFCCFC.
Example:"#C1E4FF"
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/patient/{patientId}/tag
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/patient/{patientId}/tag
curl -i -X POST \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/patient/{patientId}/tag' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"color": "#C1E4FF",
"note": "VIP"
}'Tag created successfully
Response
{ "active": true, "color": "#C1E4FF", "createdAt": "2025-01-15T14:00:00Z", "id": 55, "note": "VIP", "patientId": 12345, "sortOrder": 10000, "updatedAt": "2025-01-15T14:00:00Z" }