POST
/
api
/
v2
/
patients
curl --request POST \
  --url https://app.spotdx.com/api/v2/patients/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "Alice",
  "last_name": "Smith",
  "email": "alice123@gmail.com",
  "phone": "1234567890",
  "sex": "F",
  "date_of_birth": "2023-12-25"
}'
{
  "first_name": "Alice",
  "last_name": "Smith",
  "email": "alice123@gmail.com",
  "phone": "1234567890",
  "sex": "F",
  "date_of_birth": "2023-12-25"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

Response

200
application/json

The response is of type object.