Postman & OpenAPI
Postman collection
Section titled “Postman collection”Download the Postman collection and import it using Postman → Import.
Set the collection variables:
| Variable | Value |
|---|---|
baseUrl |
https://api.kokilcloud.com/v1 |
apiKey |
Your private API key. |
phone |
The real recipient you intend to call. |
otp |
Your application’s generated code. |
idempotencyKey |
A new unique verification ID; keep it unchanged for retries. |
callId |
The ID returned by Send an OTP Call. |
The collection saves callId after a successful OTP request. Set a new idempotencyKey before each deliberate new call. The included key and number are placeholders, not credentials or a test service.
Sending the POST request with a valid key creates a real call and can incur a charge. Get Call Status only retrieves the existing result.
OpenAPI specification
Section titled “OpenAPI specification”Download the OpenAPI 3.0 specification to import into an API client or generate a client for your preferred language.
This file describes the two public customer API-key endpoints. Dashboard session routes and staff administration endpoints are outside this public API reference.
Keep examples private
Section titled “Keep examples private”Store your key in a private local environment. Remove real keys before exporting or sharing a collection.