443+ API endpoints to integrate PharmaSoft with your existing systems. Comprehensive documentation with code examples.
All API requests must be authenticated using Bearer tokens (OAuth 2.0). First obtain an access token using your API credentials, then include it in the Authorization header of every request.
# Step 1: Get Access Token POST /api/v1/auth/token Content-Type: application/json { "client_id": "your_client_id", "client_secret": "your_client_secret", "grant_type": "client_credentials" } # Step 2: Use Token in Requests GET /api/v1/products Authorization: Bearer your_access_token
{
"success": true,
"data": {
"id": 1234,
"batch_no": "BMR-2026-0847",
"product": "Paracetamol 500mg",
"status": "in_progress"
},
"meta": {
"timestamp": "2026-02-18T10:30:00Z"
}
}
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Batch number required",
"field": "batch_no"
},
"meta": {
"timestamp": "2026-02-18T10:30:00Z"
}
}
API access is available on Enterprise plans. Contact our sales team to get your API credentials.
Join 100+ pharmaceutical companies already using PharmaSoft ERP