cURL
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" }
Create a patient.
Token-based authentication with required prefix "Token"
The response is of type object.
object