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": "mike@foo.bar",
"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",
"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": "mike@foo.bar",
"phone": "1234567890",
"account_number": null,
"code": "PAT21T",
"location": {
"status": "enabled",
"title": "Main street branch",
"code": "LOC57T"
}
}
Authenticated API
Create Patient
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": "mike@foo.bar",
"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",
"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": "mike@foo.bar",
"phone": "1234567890",
"account_number": null,
"code": "PAT21T",
"location": {
"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
Body
application/json
Response
JSON object response