Skip to content

The sandbox environment includes special-case inputs and predefined provider test data that allow developers to simulate edge cases during integration testing. See the list below for available scenarios:

This page documents test scenarios for various API endpoints to support validation and debugging of behaviors in different input cases. All endpoints are assumed to return standard HTTP response codes alongside expected JSON structures unless otherwise noted.

GET /v1/providers

FieldInputResult
npisnpi_errorResults in a 500 error response.
npisnpi_missingReturns no matching providers.
npisnpi_multipleprovidersReturns multiple matching providers.
npisnpi_multiplelocationsReturns a provider with multiple locations.
npisnpi_allvirtualReturns a provider with one virtual location.
npisnpi_hasvirtualReturns a provider with both an in-person and virtual location.
npisnpi_insuranceIdRequiredReturns a provider that requires an insurance member id and plan id.
insurance_plan_idip_0Returns 400 error response due to invalid insurance plan.

GET /v1/provider_locations

FieldInputResult
zip_code10112Results in a 500 error response.
zip_code99734Returns no matching provider locations.
zip_code11201Returns a response that includes booking requirements.
insurance_plan_idip_0Returns 400 error response due to invalid insurance plan.

GET /v1/provider_locations/{provider_location_id}

Provider Location IDResult
pr_error / lo_errorResults in a 500 error response.
pr_insuranceIdIsRequired / lo_insuranceIdIsRequiredReturns booking requirements.
pr_selfPayNotAccepted / lo_selfPayNotAcceptedReturns insurance settings that do not accept self-pay.
pr_acceptsInNetworkOnly / lo_acceptsInNetworkOnlyReturns insurance settings that accept in-network only.

GET /v1-beta/facilities

FieldInputResult
zip_code10112Results in a 500 error response.
zip_code99734Returns no matching facilities.
insurance_plan_idip_0Returns 400 error response due to invalid insurance plan.
npis2988113970NPI corresponds to one facility.
npis5884143085NPI corresponds to multiple facilities.

GET /v1-beta/facilities/{facility_id}

Facility IDResult
1d399a6a-283b-4991-89dd-a01ed9960a76Results in a 500 error response.
45a305f4-00df-43e6-89a9-17c315c22bcdResults in a 404 error response.

GET /v1/provider_locations/{provider_location_id}/reviews

Provider Location IDResult
pr_no_reviews / lo_no_reviewsReturns no reviews.
pr_missing / lo_missingResults in a 404 error response.
pr_error / lo_errorResults in a 500 error response.

GET /v1/provider_locations/availability

Provider Location IDResult
pr_error / lo_errorResults in a 500 error response.
pr_no_availbility / lo_no_availbilityReturns no availability.

GET /v1/provider_locations/{provider_location_id}/insurance_mappings

Provider Location IDResult
pr_error / lo_errorResults in a 500 error response.
pr_missing / lo_missingResults in a 404 error response.
pr_noAcceptedInsurancePla / lo_noAcceptedInsurancePlaReturns empty insurance mappings.
pr_allInsurancePlansAccep / lo_allInsurancePlansAccepReturns full insurance mappings.
pr_ip_mapping_level_prac / lo_ip_mapping_level_pracResults in a 409 error response.
pr_ip_mapping_level_prov / lo_ip_mapping_level_provResults in a 409 error response.

POST /v1/provider_locations/{provider_location_id}/insurance_mappings

Provider Location IDResult
pr_error / lo_errorResults in a 500 error response.
pr_missing / lo_missingResults in a 404 error response.
pr_allInsurancePlansAccep / lo_allInsurancePlansAccepReturns 202.

GET /v1/insurance_plans

StateResult
AKResults in an empty list of plans.

GET /v1/insurance_plans/{insurance_plan_id}

Insurance Plan IDResult
ip_0Results in a 404 error response.
ip_5432Returns a national coverage plan.
ip_2345Returns CA state coverage.
ip_2052Returns a Medicare plan.
ip_8281Returns a Medicaid plan.
ip_9111Returns a plan in active status.
ip_2667Returns a plan in inactive status.
ip_5292Returns a deleted status plan.
ip_2600Returns a health plan.
ip_6501Returns a dental plan.
ip_5907Returns a vision plan.

POST /v1/appointments

FieldInputResult
provider_location_idpr_error / lo_error500 error response.
provider_location_idpr_pending / lo_pendingReturns pending appointment id.
provider_location_idpr_confirmed / lo_confirmedReturns confirmed appointment id.
provider_location_idpr_bookingfailed / lo_bookingfailedReturns booking_failed appointment id.
provider_location_idpr_cancelled / lo_cancelledReturns cancelled appointment id.
provider_location_idpr_noshow / lo_noshowReturns no_show appointment id.
provider_location_idpr_pendingreschedule / lo_pendingrescheduleReturns pending_reschedule appointment id.
provider_location_idpr_rescheduled / lo_rescheduledReturns rescheduled appointment id.
provider_location_idpr_reschedulefailed / lo_reschedulefailedReturns reschedule_failed appointment id.
provider_location_idpr_insuranceIdIsRequired / lo_insuranceIdIsRequired400 error if insurance info not provided.
provider_location_idpr_selfPayNotAccepted / lo_selfPayNotAccepted400 error if is_self_pay is true.
provider_location_idpr_acceptsInNetworkOnly / lo_acceptsInNetworkOnly400 error if insurance plan is provided.
insurance_plan_idip_0400 error response due to invalid insurance plan.

GET /v1/appointments and GET /v1/appointments/{appointment_id}

Appointment IDStatusProvider Location IDVisit Reason IDDeveloper Patient ID
2b29f79b-6d7f-472a-9603-d0c378bc9531pending_bookingpr_pending / lo_pendingpc_FRO-18leckytNKtruw5dLR381ee8f4-8aa7-46c6-b27c-1ea9fdfa4bac
d2ee5bd8-643a-42c8-8c5a-be450e903430confirmed (new patient)pr_confirmed / lo_confirmedpc_TlZW-r06U0W3pCsIGtSI5Bf92f5116-a43a-46a9-b5b7-197eea5d7aca
423e6a11-8dac-4873-b933-d8d02f9a370fconfirmed (existing patient)pr_confirmed / lo_confirmedpc_TlZW-r06U0W3pCsIGtSI5Bf92f5116-a43a-46a9-b5b7-197eea5d7aca
34e4ead3-ca69-4448-9438-58702dd1048fbooking_failedpr_bookingfailed / lo_bookingfailedpc_zZWhkaURvEGlZpSimNILaB4a2363b8-a2a0-4afc-bc43-ed5e0fd80191
21990114-ea71-4d7d-9d1e-00c43ae44bcdcancelledpr_cancelled / lo_cancelledpc_p1KdCTTzuU6A04ZjEt837x7f754fc6-3ccb-457b-96b9-39412fb1066b
a0a7770d-e667-416c-9f06-9c3b40a7bb84no_showpr_noshow / lo_noshowpc_T1T3MOA0kUuE201i1ZfIWR909ea2c6-c0d8-4d1c-91e9-8830af3178c4
63f995c2-49c4-40c8-a93a-140fb32e913bpending_reschedulepr_pendingreschedule / lo_pendingreschedulepc_FRO-18leckytNKtruw5dLR381ee8f4-8aa7-46c6-b27c-1ea9fdfa4bac
8507d05f-cbe5-4732-b72a-22add9c80120rescheduledpr_rescheduled / lo_rescheduledpc_peZqujk5w0jL8SblyLoIoz07eeb104-1f80-44ae-8f48-32af1072eda7
84d04f67-b2cf-4afd-ab64-193072498ed5reschedule_failedpr_reschedulefailed / lo_reschedulefailedpc_PS_BTW9rmkuIfaIH_Hxdwg5db43e60-c33e-47cb-84b2-325c1b95f10a

Errors

Appointment IDResult
83f5cf14-3eb1-4034-be1f-e7c3058aad21404 error response.
dc69a428-8a73-461b-bd7b-df755910a3fb500 error response.

POST /v1/appointments/cancel

Same error test cases as above.

POST /v1/appointments/reschedule

Same error test cases as above.

POST /v1/appointments/{appointment_id}/attachments

Appointment IDResult
83f5cf14-3eb1-4034-be1f-e7c3058aad21404 error response.
dc69a428-8a73-461b-bd7b-df755910a3fb500 error response.
08399012-db42-4f0b-92a5-4fbceffcbd58Returns multiple existing attachments.