WhatsApp API Postman collection

TESTPostman and SDKs

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.

Koverage WhatsApp API / Send text message
POST{{base_url}}/api/v2/whatsapp/messageSend
Auth typeBearer TokenToken{{api_key}}

Postman sends this as Authorization: Bearer YOUR_API_KEY. The requests inherit it from the collection.

Variables in {{ }} come from your environment.
01Three ways in

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. 1

    Copy the Collection JSON in the import centre below.

  2. 2

    In Postman click Import and paste it as raw text.

  3. 3

    Copy the Environment JSON and import it the same way.

  4. 4

    Choose the Koverage environment, paste your key into api_key and press Send.

02Import centre

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.

03Variables

Two variables run the whole collection

The collection uses base_url. Your environment holds api_key as a secret variable so Postman masks it.

VariableTypeValueLives in
base_urldefaulthttps://dashboard.koverage.inThe collection
api_keysecretYour key from the dashboard API docsYour Koverage environment
DoSet api_key to the secret type and fill it in yourself. Add the key after you import.
Do notShare or publish an environment or workspace that has your key filled in. Read the API key guide.
04Inside

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.
05SDKs

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

See the seven samples on the Developers Hub

Not an official SDK
A small helper class
06Troubleshooting

Four Postman mistakes and their fixes

Most failed first sends come from one of these.

The request says No Auth

Your Authorization is not set. Use Bearer Token, or choose Inherit auth from parent so the request uses the collection setting.

The variable stays unresolved

Select the Koverage environment in the environment picker. Then check that api_key is filled in.

The body is not read as JSON

Open Body, choose raw, then choose JSON. The body must be valid JSON.

The key does not work

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.

Scroll to Top