Emergency API
Manage emergency medical information and emergency contacts linked to your QrioTag account.
The Emergency API lets users store critical medical information on their account. This data is accessible via the public scan emergency endpoint so first responders can access it without authentication. All management endpoints require authentication.
Get Emergency Profile
GET /api/v1/emergency — Required
Update Emergency Profile
PUT /api/v1/emergency — Required
Add Contact
POST /api/v1/emergency/contacts — Required
Update Contact
PATCH /api/v1/emergency/contacts/:id — Required
Delete Contact
DELETE /api/v1/emergency/contacts/:id — Required
Get Emergency Profile
Retrieve the authenticated user's emergency medical information.
GET /api/v1/emergency — Auth: Required
curl https://api.qriotag.global/api/v1/emergency \
-H "Authorization: Bearer <token>"Response
{
"success": true,
"data": {
"bloodType": "O+",
"conditions": ["Diabetes Type 2", "Hypertension"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Lisinopril 10mg"],
"physician": "Dr. Sarah Johnson",
"physicianPhone": "(555) 987-6543",
"specialInstructions": "Carries insulin pen in bag",
"organDonor": true,
"emergencyContacts": [
{
"id": "ec_001",
"name": "John Doe",
"relationship": "Spouse",
"phone": "(555) 123-4567",
"email": "john@example.com"
}
]
}
}Update Emergency Profile
Create or update the emergency medical profile.
PUT /api/v1/emergency — Auth: Required
Request body
| Field | Type | Required | Description |
|---|---|---|---|
bloodType | string | No | Blood type (e.g., A+, O-, AB+) |
conditions | string[] | No | List of medical conditions |
allergies | string[] | No | List of allergies |
medications | string[] | No | List of current medications |
physician | string | No | Primary physician name |
physicianPhone | string | No | Physician phone number |
specialInstructions | string | No | Special instructions for first responders |
organDonor | boolean | No | Organ donor status |
curl -X PUT https://api.qriotag.global/api/v1/emergency \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"bloodType": "O+",
"conditions": ["Diabetes Type 2", "Hypertension"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Lisinopril 10mg"],
"physician": "Dr. Sarah Johnson",
"physicianPhone": "(555) 987-6543",
"specialInstructions": "Carries insulin pen in bag",
"organDonor": true
}'Response
{
"success": true,
"data": {
"bloodType": "O+",
"conditions": ["Diabetes Type 2", "Hypertension"],
"allergies": ["Penicillin", "Peanuts"],
"medications": ["Metformin 500mg", "Lisinopril 10mg"],
"physician": "Dr. Sarah Johnson",
"physicianPhone": "(555) 987-6543",
"specialInstructions": "Carries insulin pen in bag",
"organDonor": true
}
}Emergency Contacts
Was this page helpful?