Skip to main content
This guide assumes you have a FlowIQ account with WhatsApp connected at app.flowiq.live.

1. Get your API key

1

Sign in

Go to app.flowiq.live and sign in.
2

Open API Keys

Go to Settings → Profile → API Keys. If the section isn’t there, ask FlowIQ support to enable API access for your organization.
3

Create a key

Create a key and copy it. It starts with fiq_.
Building with Claude Code? Connect the FlowIQ MCP server by signing in and it can make the key for you and save it to your .env. See Build on the API with an assistant.
Store it in an environment variable so it never ends up in your code:

2. Create a contact

Messages can only be sent to contacts that exist in FlowIQ. Skip this step if the person has already messaged you.
A 409 means the contact already exists, which is fine for this guide.

3. Send a message

WhatsApp only allows free-form messages within 24 hours of the contact’s last message to you. If Jane hasn’t written to you recently, send an approved template with Send Template instead.

4. Read the conversation

Messages come back newest first (pass ascending=true for oldest first), 10 per page by default and up to 100 with limit:
sender_type tells you who wrote each message: user-whatsapp (the contact), bot-whatsapp (your AI agent or an automation), human-whatsapp (your team, or the API). See Conversations for search, filtering and every field.

5. Look up a contact

To page through every contact, use action=contacts with page and limit (up to 200).

Next steps

Receive messages with webhooks

Get replies and delivery receipts on your server as they happen

Send a template

Start conversations with approved WhatsApp templates

Other message types

Images, documents, buttons, lists and more

Reporting API

Pull account, broadcast and order numbers into your own tools

Troubleshooting

  • Check the header is exactly Authorization: Bearer fiq_...
  • Make sure the key hasn’t been revoked or expired in Settings → Profile → API Keys
Create the contact first (step 2). Numbers are matched with the country code and without +, spaces or dashes.
  • Include the country code in whatsappNumber
  • Check that the contact has messages in your FlowIQ inbox