Skip to content

Getting Started

Welcome to the Daakey API documentation. This guide covers integration with our car sharing platform.

Base URLs

EnvironmentURL
Productionhttps://api.daakey.com
Staginghttps://staging-api.daakey.com

API Versions

All endpoints are versioned:

APIPath
Client API/api/v1/client/*
Dashboard API/api/v1/dashboard/*

Response Format

All responses follow this structure:

json
{
  "success": true,
  "message": "Operation completed successfully",
  "data": { ... },
  "meta": {
    "agency_id": 123,
    "agency_code": "AGENCY123"
  },
  "request_id": "uuid-string",
  "timestamp": "2024-01-01T00:00:00.000Z"
}

Error Format

json
{
  "success": false,
  "message": "Validation failed",
  "errors": {
    "email": ["The email field is required."]
  },
  "data": null,
  "request_id": "uuid-string",
  "timestamp": "2024-01-01T00:00:00.000Z"
}

HTTP Status Codes

CodeDescription
200Success
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
422Validation Error
500Server Error

Next Steps

Daakey Car Sharing Platform