Skip to content

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-Key request header
  • Format: JSON over HTTPS
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.

  1. Create an API key in Developer API.
  2. Send a phone number and OTP to POST /otp-call from your server.
  3. Save the returned callId.
  4. 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.

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.