KokilCloud API Documentation
Build voice verification into your application. Send an OTP by phone call, track delivery, and read the final call outcome using a simple REST API.
- Version: 1.0
- Base URL:
https://pbx.ashikdev.com/api/v1/public - Authentication:
X-API-Keyrequest header - Format: JSON over HTTPS
Start building
Section titled “Start building”Quick StartCreate a key and send your first voice OTP.
AuthenticationLearn how API keys and account access work.
Endpoints
Section titled “Endpoints”| Method | Endpoint | Description |
|---|---|---|
POST |
/otp-call |
Queue a voice call that reads an OTP aloud. |
GET |
/calls/{callId} |
Retrieve the status, outcome, and charge of your call. |
These are the customer API-key endpoints currently supported by KokilCloud. Manage your voices, senders, broadcasts, and wallet in the dashboard.
How it works
Section titled “How it works”- Create an API key in Developer API.
- Send a phone number and OTP to
POST /otp-callfrom your server. - Save the returned
callId. - Query
GET /calls/{callId}until the call reaches a final state.
A successful request queues a call; it does not mean the recipient has answered. Your application creates and validates the OTP, including its expiry and verification attempts.
Developer tools
Section titled “Developer tools”Download the Postman collection or OpenAPI specification to explore the API with your tools. Examples use placeholders, and requests run only when you execute them yourself.