Routes
Authorizations
AuthorizationstringRequired
Enter your Bearer token
organization_codestringRequired
Enter your organization code
Query parameters
latitudenumberOptionalExample:
Latitude coordinate
40.7128longitudenumberOptionalExample:
Longitude coordinate
-74.006startDateTimeone ofRequiredDefault:
Start date time for which routes should be fetched
2025-12-15T15:08:19.235ZExample: 2025-12-15T15:08:19.235Zstring · dateOptional
string · date-timeOptional
endDateTimeone ofRequiredDefault:
End date time for which routes should be fetched
2025-12-15T15:08:19.235ZExample: 2025-12-15T15:08:19.235Zstring · dateOptional
string · date-timeOptional
getNearestProvidersbooleanOptionalExample:
Flag to get nearest service providers
truemaxNearestProvidersCountnumberOptionalDefault:
Max number of nearest service providers to fetch
5Example: 5considerCurrentAppointmentbooleanOptionalDefault:
Check if service provider is in the appointment
3Example: 2considerServiceProviderAvailabilitybooleanOptionalDefault:
Only consider service providers who are available at the given time
3Example: 2Body
anyOptional
Responses
200Success
application/json
post
/api/location/service-provider/routes200Success