Welcome to Viax API
The Viax API is a RESTful API that powers the Viax rideshare platform, connecting passengers with drivers in Colombia. The API provides endpoints for user management, trip booking, driver operations, mapping services, and administrative functions.Base URLs
The API supports multiple environments:API Architecture
Viax uses a microservices-oriented architecture with the following service endpoints:Auth Service
/auth - Authentication and user managementConductor Service
/conductor - Driver profile, documents, and earningsTrip Service
/viajes - Trip creation, tracking, and historyMap Service
/map - Geocoding, routing, and location servicesAdmin Service
/admin - Administrative operations and analyticsAPI Version
Current API version: v1 The API version is included in the service configuration and can be accessed via theapiVersion field in configuration responses.
Request Format
All API requests should include the following headers:Response Format
All API responses follow a consistent structure:Success Response
Error Response
Rate Limiting
Currently, the API does not enforce rate limiting, but this may be implemented in future versions.
Timeout Configuration
The API has the following timeout settings:- Connection Timeout: 30 seconds
- Receive Timeout: 30 seconds
CORS
The API supports Cross-Origin Resource Sharing (CORS) for web applications. Ensure your requests include appropriate origin headers.Data Types
Dates and Times
All timestamps are returned in ISO 8601 format:Numeric Values
- IDs: Integer
- Prices: Float (in Colombian Pesos)
- Distances: Float (in kilometers)
- Coordinates: Float (latitude/longitude in decimal degrees)
Pagination
Endpoints that return lists support pagination with the following query parameters:Page number to retrieve
Number of items per page (max 100)
Next Steps
Authentication
Learn how to authenticate your API requests
Error Handling
Understand error codes and handling
User Registration
Register a new user account
Create Trip
Book a ride