API for the Nextvisit Clinical Documentation platform for developers
Nextvisit API (1.0.0)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developers.nextvisit.app/_mock/openapi
Production API
https://nextvisit.app/api
Beta API
https://ea.nextvisit.app/api
- Mock serverhttps://developers.nextvisit.app/_mock/openapi/v1/patients
- Production APIhttps://nextvisit.app/api/v1/patients
- Beta APIhttps://ea.nextvisit.app/api/v1/patients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.nextvisit.app/_mock/openapi/v1/patients?per_page=50&sort=id&filter%5Bfirst_name%5D=string&filter%5Blast_name%5D=string&filter%5Bdate_of_birth%5D=2019-08-24&filter%5Btrashed%5D=with&include=user%2Cteam%2Cencounters%2Cdemographics' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "data": [ { … } ], "links": {}, "meta": {} }
- Mock serverhttps://developers.nextvisit.app/_mock/openapi/v1/patients
- Production APIhttps://nextvisit.app/api/v1/patients
- Beta APIhttps://ea.nextvisit.app/api/v1/patients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developers.nextvisit.app/_mock/openapi/v1/patients \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"first_name": "Jane",
"middle_name": "Marie",
"last_name": "Doe",
"date_of_birth": "1985-03-15",
"notes": "New patient referral from Dr. Smith. History of anxiety and depression.",
"allergies": "Penicillin, Sulfa drugs",
"insurance": "Blue Cross Blue Shield"
}'Response
application/json
{ "data": { "id": 789, "uuid": "550e8400-e29b-41d4-a716-446655440000", "first_name": "Jane", "middle_name": "Marie", "last_name": "Doe", "gender": "female", "date_of_birth": "1985-03-15", "notes": "Patient has a history of anxiety. Prefers afternoon appointments.", "latest_medications": [ … ], "user": { … }, "timeline": [ … ], "encounters": [ … ], "meta": {}, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-06-20T14:45:00Z" } }
- Mock serverhttps://developers.nextvisit.app/_mock/openapi/v1/patients/{id}
- Production APIhttps://nextvisit.app/api/v1/patients/{id}
- Beta APIhttps://ea.nextvisit.app/api/v1/patients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.nextvisit.app/_mock/openapi/v1/patients/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "data": { "id": 789, "uuid": "550e8400-e29b-41d4-a716-446655440000", "first_name": "Jane", "middle_name": "Marie", "last_name": "Doe", "gender": "female", "date_of_birth": "1985-03-15", "notes": "Patient has a history of anxiety. Prefers afternoon appointments.", "latest_medications": [ … ], "user": { … }, "encounters": [ … ], "meta": { … }, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-06-20T14:45:00Z" } }
- Mock serverhttps://developers.nextvisit.app/_mock/openapi/v1/patients/{id}
- Production APIhttps://nextvisit.app/api/v1/patients/{id}
- Beta APIhttps://ea.nextvisit.app/api/v1/patients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developers.nextvisit.app/_mock/openapi/v1/patients/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"first_name": "Jane",
"middle_name": "Marie",
"last_name": "Doe",
"date_of_birth": "1985-03-15",
"notes": "Updated contact information",
"allergies": "Penicillin, Sulfa drugs",
"meta": {}
}'Response
application/json
{ "data": { "id": 789, "uuid": "550e8400-e29b-41d4-a716-446655440000", "first_name": "Jane", "middle_name": "Marie", "last_name": "Doe", "gender": "female", "date_of_birth": "1985-03-15", "notes": "Patient has a history of anxiety. Prefers afternoon appointments.", "latest_medications": [ … ], "user": { … }, "timeline": [ … ], "encounters": [ … ], "meta": {}, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-06-20T14:45:00Z" } }
- Mock serverhttps://developers.nextvisit.app/_mock/openapi/v1/patients/{id}
- Production APIhttps://nextvisit.app/api/v1/patients/{id}
- Beta APIhttps://ea.nextvisit.app/api/v1/patients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developers.nextvisit.app/_mock/openapi/v1/patients/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "message": "Patient deleted successfully" }
- Mock serverhttps://developers.nextvisit.app/_mock/openapi/v1/patients/search
- Production APIhttps://nextvisit.app/api/v1/patients/search
- Beta APIhttps://ea.nextvisit.app/api/v1/patients/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.nextvisit.app/_mock/openapi/v1/patients/search?query=string&per_page=20&sort_by=asc' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "data": [ { … } ], "links": {}, "meta": {} }