Skip to main content
POST
/
patient
cURL
curl --request POST \
  --url https://om-staging.mylifeforce.com/api/m2m/patient \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "gender": "male",
  "first_name": "<string>",
  "last_name": "<string>",
  "birthdate": "1983-06-04",
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zipcode": "<string>"
  }
}
'
{
  "patient_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required

User email

gender
enum<string>
required
Available options:
male,
female
first_name
string

User's first name

last_name
string

User's last name

birthdate
string<date-time>

User's birthdate (YYYY-MM-DD)

Example:

"1983-06-04"

address
object

Response

Patient created successfully

patient_id
string

Patient identifier