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>",
  "first_name": "<string>",
  "last_name": "<string>",
  "gender": "male",
  "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

Response

200
application/json

Patient created successfully

The response is of type object.