WhatsApp API Postman collection: test it without writing code
Copy a ready WhatsApp API Postman collection, import it, add your key and send your first message. No SDK is needed. The API is plain HTTPS and JSON.
Postman sends this as Authorization: Bearer YOUR_API_KEY. The requests inherit it from the collection.
The collection sets this header on each request.
Koverage accepted the request. Delivery to the phone is a separate step.
Choose how to set up your WhatsApp API Postman collection
All three end in the same request. Pick the one that fits you today.
- 1
Copy the Collection JSON in the import centre below.
- 2
In Postman click Import and paste it as raw text.
- 3
Copy the Environment JSON and import it the same way.
- 4
Choose the Koverage environment, paste your key into
api_keyand press Send.
- 1
Copy the cURL command in the import centre.
- 2
Click Import, paste the command and import it into a collection.
- 3
Create an environment with
base_urlandapi_key, or replace the two placeholders in the request. - 4
Press Send.
- 1
Create a new request. Set the method to POST.
- 2
Enter the URL
https://dashboard.koverage.in/api/v2/whatsapp/message. - 3
Open Authorization, choose Bearer Token and enter your key.
- 4
Open Body, choose raw and JSON, paste the body and press Send.
Copy and import the starter collection
The collection holds two requests built from the send message API. The environment holds your key. Postman recognises both when you paste them as raw text.
In Postman, click Import in your workspace and paste the text. The cURL tab is for the cURL import path. Your real key is never in these files.
Two variables run the whole collection
The collection uses base_url. Your environment holds api_key as a secret variable so Postman masks it.
base_urldefaulthttps://dashboard.koverage.inThe collectionapi_keysecretYour key from the dashboard API docsYour Koverage environmentapi_key to the secret type and fill it in yourself. Add the key after you import.What is in the WhatsApp API Postman collection
Only requests that your documentation describes. Add the others the same way when you need them.
- Koverage WhatsApp APIAuth: Bearer {{api_key}}Variable: base_url
- POSTSend text messagetype, contacts, text
- POSTReply to a messageadds context.message_id
- Add moreUpload media, delivery report, 24-hour window check. Paths are in your dashboard API docs.
Do you need an SDK for the WhatsApp API?
No. The API is one HTTPS endpoint with JSON. Any HTTP client in any language can call it.
Use the HTTP client you already have
Your dashboard docs show samples in seven languages. Each sample uses the standard client of that language. The Developer Hub has all seven.
- cURLcurl
- PHPcURL extension
- Pythonrequests
- Node.jsfetch
- JavaHttpClient
- Gonet/http
- C#HttpClient
Four Postman mistakes and their fixes
Most failed first sends come from one of these.
Your Authorization is not set. Use Bearer Token, or choose Inherit auth from parent so the request uses the collection setting.
Select the Koverage environment in the environment picker. Then check that api_key is filled in.
Open Body, choose raw, then choose JSON. The body must be valid JSON.
Copy the whole key again from your dashboard API docs. Remove any space at the start or end.
WhatsApp API Postman collection: your questions answered
Is there an official WhatsApp API Postman collection from Koverage?
This page gives you a starter collection that you copy and import. It is built only from the documented send message API. You can add more requests the same way when you need them.
How do I import the collection into Postman?
Click Import in your Postman workspace, paste the collection JSON as raw text, and import it. Do the same for the environment JSON. Postman recognises both.
Where do I put my API key in Postman?
Put it in the api_key variable of the Koverage environment and set the variable type to secret. The collection sends it as a Bearer token. Do not share an environment that has your key filled in.
Can I import a cURL command instead?
Yes. Paste the cURL command in the Import box and import it into a collection. You can also paste a cURL command into the URL box of a new request.
Does Koverage have SDKs I can download?
The docs we have show plain HTTPS and JSON, with code samples in cURL, PHP, Python, Node.js, Java, Go and C#. You do not need an SDK. Any HTTP client works. This page also has a small helper class you can copy. It is not an official SDK.
Which request body do I send?
For a text message, send type, contacts with an msisdn, and text with a body. contacts is always required. See the send message API page for every field.
My request is refused in Postman. What do I check?
Check that the Koverage environment is selected, that api_key has your key, and that the body is raw JSON. Then use the header checker on the API key page.
What does "status": "success" mean?
Koverage accepted your request. It does not mean the message reached the phone. Delivery happens next on WhatsApp.
Send your first message from the WhatsApp API Postman collection
Import the collection, add your key and press Send. Then read how replies reach your server.