Skip to main content
POST
/
api
/
auth
/
v1
/
patients
curl --request POST \
  --url https://api.anagram.care/api/auth/v1/patients/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "Michael",
  "last_name": "Enslin",
  "dob": "1950-02-28",
  "ssn_last_four": "1234",
  "sex": "male",
  "email": "[email protected]",
  "phone": "1234567890",
  "address": {
    "line1": "61st Street, Dolphin Hotel",
    "line2": "Room 1408",
    "city": "New York",
    "state": "NY",
    "zipcode": "10065"
  }
}
'
{
  "created_at": "2025-03-18T13:51:16.926798+00:00",
  "location_id": 57,
  "first_name": "michael",
  "middle_name": null,
  "last_name": "enslin",
  "dob": "1950-02-28",
  "sex": "male",
  "ssn_last_four": "1234",
  "address": {
    "line1": "61st Street, Dolphin Hotel",
    "line2": "Room 1408",
    "recipient": null,
    "city": "New York",
    "zipcode": "10065",
    "state": "NY"
  },
  "email": "[email protected]",
  "phone": "1234567890",
  "account_number": null,
  "code": "PAT21T",
  "location": {
    "id": 57,
    "status": "enabled",
    "title": "Main street branch",
    "code": "LOC57T"
  }
}
Creating a patient via this endpoint populates a patient record in the Anagram Web App and allows you to tie the eligibility request and result with that record. Only use this resource if you plan on interacting with the Anagram Web App.

Authorizations

Authorization
string
header
required

Your API token prefaced with an "Api" prefix. Example value: "Api B3F4242424E3FDB4242424242A9C7642"

Body

application/json
first_name
string
required
last_name
string
required
dob
string<date>
required
middle_name
string
sex
string
ssn_last_four
string
address
object
email
string
phone
string
account_number
string
force_similar
boolean

Allow to save a new object which is similar to others

location_code
string

Identifies the location that the patient will be linked to. When this field is empty, the patient will be linked with the default location. Example: LOC4242B

Response

JSON object response

created_at
string<date-time>
required
location_id
integer
required
first_name
string
required
last_name
string
required
dob
string<date>
required
code
string<string>
required
location
object
required
middle_name
string
sex
string
ssn_last_four
string
address
object
email
string
phone
string
account_number
string