# API Reference

> Voice OTP REST API endpoints, response format and base URL.

Source: https://edesy.in/docs/voice-otp/api-reference

**Base URL:** `https://voice-api.edesy.in/v1`

| Method | Path | Description |
|---|---|---|
| `POST` | `/voice-otp/send` | [Send a voice OTP](https://edesy.in/docs/voice-otp/api-reference/send-otp) |
| `GET` | `/voice-otp/calls/{id}` | [Get a call](https://edesy.in/docs/voice-otp/api-reference/get-call) |
| `GET` | `/voice-otp/calls` | [List calls](https://edesy.in/docs/voice-otp/api-reference/list-calls) |
| `GET` | `/voice-otp/stats` | Usage statistics (`start_date`, `end_date` as YYYY-MM-DD) |

Successful responses wrap the result in `data` with a `meta.timestamp`. Errors return `{"error": {"code": "...", "message": "..."}}` - see [Error Codes](https://edesy.in/docs/voice-otp/api-reference/errors).
