API Reference
API Reference

Create a new alert

Creates a new alert for a specified user. Requires admin or staff access.

  • System admins can create alerts for any user
  • Organization admins/staff can only create alerts for users in their organization
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

The ID of the user to create the alert for (required)

string
enum
required

Type of alert

Allowed:
string

Optional message describing the alert

string

Optional symptoms associated with the alert

string
enum

Alert status (defaults to 'active' if not provided)

Allowed:
integer

ID of the geofence (for geofence alerts)

float
0 to 300

Heart rate value (for heart_rate alerts)

float
-90 to 90

Latitude coordinate of alert location

float
-180 to 180

Longitude coordinate of alert location

Responses
200

Validation error or missing user_id

401

Unauthorized - Invalid or expired token

403

Unauthorized - Admin or Staff access required

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json