F

Getting started

WhatsApp API

Send WhatsApp messages from your own website, app or CRM, work the shared inbox, and receive customer messages on your server. Every request is JSON over HTTPS, and everything follows the same rules as the Flowsensy panel: plan limits, wallet charges, opt-outs and WhatsApp’s 24-hour window.

1

Create a key

Start a free trial, then open Developers → Create key in your panel. Your plan must include API access.

2

Send a template

The first message to a customer is always an approved template.

3

Receive events

Add a webhook to get replies and delivery updates.

Base URL:

https://app.flowsensy.com/api/v1

Every endpoint below has a Try it button: add your key at the top and send a real request from this page. Press to search for any endpoint, field, error code or event.

Prefer a collection? Download the OpenAPI file and import it into Postman or Insomnia. Using n8n? See n8n: no code needed.

curl -X POST "https://app.flowsensy.com/api/v1/messages/template" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: order-10023-shipped" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "+919876543210",
  "template": {
    "name": "order_shipped",
    "language": "en"
  },
  "params": {
    "body": [
      "Asha",
      "#10023"
    ]
  }
}'

Authentication

Send your key in the Authorization header as a bearer token (or in X-API-Key). Keys start with fs_live_ and belong to one account. Keep them on your server, never in a website or mobile app, and revoke a key in Developers if it leaks.

bash
curl https://app.flowsensy.com/api/v1/account \
  -H "Authorization: Bearer fs_live_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Errors

Errors have a stable code you can program against, a human message you can show or log, and a requestId to quote to support. Validation errors list each bad field in details.fields.

json
{
  "error": {
    "code": "VALIDATION_FAILED",
    "message": "Check the highlighted fields",
    "details": {
      "fields": {
        "to": "Invalid"
      }
    },
    "requestId": "a65e986a-3dc9-4a11-840b-c5c5986e4a11"
  }
}
HTTPcodeMeaning
401INVALID_API_KEYMissing, wrong or revoked key.
402INSUFFICIENT_FUNDSWallet balance too low: recharge.
402FEATURE_NOT_IN_PLANAPI access isn’t in your plan.
403APP_INACTIVEThe app this call belongs to (WhatsApp Store, Bookings, Subscriptions, Website live chat, Instagram, Sales CRM, Helpdesk, Forms…) is switched off on the Apps page. Activate it and retry. See GET /v1/apps.
402PLAN_LIMIT_REACHEDA plan limit (for example contacts) is used up.
403ACCOUNT_SUSPENDEDThe account is suspended; nothing can be sent.
404NOT_FOUNDTemplate, message, contact or chat not found.
409WINDOW_CLOSEDMore than 24 hours since the customer wrote: send a template.
409CONTACT_OPTED_OUTThe contact sent STOP; marketing templates are refused.
409CONTACT_BLOCKEDYou blocked this contact; nothing can be sent until they are unblocked.
409FORM_CLOSEDThe form isn’t taking responses (closed, past its date or full).
409ALREADY_RESPONDEDThe form allows one response per phone or email, and this person already sent one.
409NO_CHATThere’s no chat with this number yet (starting a chatbot).
409MEDIA_NOT_READYThe file is still being downloaded from WhatsApp: retry shortly.
409SEND_FAILEDWhatsApp refused the message; the reason is in message.
409SEND_UNCERTAINWhatsApp didn’t answer in time. Don’t resend: check the status.
409IDEMPOTENCY_IN_PROGRESSThe same Idempotency-Key is still being processed: retry in a moment.
422VALIDATION_FAILEDBad input; details.fields says which.
429RATE_LIMITEDToo many requests this minute.

Rate limits

Each key may make 600 requests a minute. Every answer carries X-RateLimit-Limit and X-RateLimit-Remaining; over the limit you get 429 RATE_LIMITED, so wait a few seconds and retry. For sending to many people at once use Campaigns in the panel: they pace themselves to WhatsApp’s limits.

Safe retries (Idempotency-Key)

Networks fail. Send a unique Idempotency-Key header (8–100 letters, numbers, - _ . :, for example your order id) with each send. Retry with the same key and body within 24 hours and you get the first answer back: the message is never sent or charged twice. A replayed answer carries Idempotent-Replayed: true.

bash
-H "Idempotency-Key: order-10023-confirmation"

If you get SEND_UNCERTAIN, WhatsApp didn’t answer in time. Don’t send again with a new key; check GET /v1/messages/{id} or wait for the message.status webhook.

The 24-hour window

WhatsApp lets businesses send free-form messages (text, media, buttons) only within 24 hours of the customer’s last message. Outside that window, or for the first message ever, send an approved template. Conversations show windowOpen and windowClosesAt so you can choose before sending; otherwise you get 409 WINDOW_CLOSED.

Charges

API messages cost exactly what the same message costs from the panel. The price is held from your wallet when you send and charged only when WhatsApp confirms; failed messages are never charged, and WhatsApp’s free messages (for example most replies inside the 24-hour window) cost nothing. priceInr on a message is the held amount, excluding GST.

Account

Your account

GET/v1/account

Your account, wallet balance and connected WhatsApp numbers. A good first call to check your key works.

  • Use whatsappAccounts[].id as accountId in other calls if you have more than one WhatsApp account.
  • Money is a plain decimal string in rupees ("1250.000000"), never formatted.
curl "https://app.flowsensy.com/api/v1/account" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "3f2e1d0c-…",
  "name": "Kumar Stores",
  "wallet": {
    "balanceInr": "1250.000000",
    "availableInr": "1248.950000",
    "currency": "INR"
  },
  "whatsappAccounts": [
    {
      "id": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
      "name": "Kumar Stores",
      "status": "ACTIVE",
      "phoneNumbers": [
        {
          "id": "…",
          "phoneNumberId": "1098765432",
          "displayPhoneNumber": "+91 98222 00000",
          "verifiedName": "Kumar Stores",
          "qualityRating": "GREEN",
          "messagingLimitTier": "TIER_1K"
        }
      ]
    }
  ]
}

Apps

GET/v1/apps

The apps in your account — WhatsApp, Instagram, Website live chat, Subscriptions, Bookings, WhatsApp Store, Sales CRM, Helpdesk, Forms and the others on the Apps page — and whether each is in your plan and switched on.

  • status is NOT_IN_PLAN, INACTIVE, ACTIVE or CONNECTED (WhatsApp / Instagram with a number or account connected).
  • Calls for a switched-off app answer 403 APP_INACTIVE, and its webhooks (for example booking.created) stop until it is activated again. Nothing is deleted.
  • Leads, pipelines, follow-up tasks and quotations belong to **Sales CRM** (sales_crm); tickets and the help centre to **Helpdesk** (helpdesk); forms and responses to **Forms** (forms). Their calls answer FEATURE_NOT_IN_PLAN or APP_INACTIVE while the app is out of the plan or switched off, and their webhooks (lead.*, quote.*, task.due, ticket.*, form.*) stop.
  • Apps are switched on and off on the Apps page in the panel; you get app.activated / app.deactivated webhooks when that happens.
curl "https://app.flowsensy.com/api/v1/apps" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "whatsapp",
      "name": "WhatsApp API",
      "included": true,
      "active": true,
      "status": "CONNECTED",
      "info": {
        "connected": 1
      }
    },
    {
      "id": "instagram",
      "name": "Instagram",
      "included": true,
      "active": false,
      "status": "INACTIVE",
      "info": {
        "connected": 0
      }
    },
    {
      "id": "livechat",
      "name": "Website live chat",
      "included": true,
      "active": true,
      "status": "ACTIVE",
      "info": {
        "widgets": 1
      }
    },
    {
      "id": "subscriptions",
      "name": "Subscriptions",
      "included": false,
      "active": false,
      "status": "NOT_IN_PLAN",
      "info": {
        "active": 0
      }
    },
    {
      "id": "bookings",
      "name": "Bookings",
      "included": true,
      "active": true,
      "status": "ACTIVE",
      "info": {
        "services": 4,
        "upcoming": 12
      }
    },
    {
      "id": "store",
      "name": "WhatsApp Store",
      "included": true,
      "active": true,
      "status": "ACTIVE",
      "info": {
        "stores": 1,
        "openOrders": 3
      }
    }
  ]
}

Templates

List templates

GET/v1/templates

Your message templates with their text, category, approval status and how many variables each needs.

  • Create templates in the panel; Meta reviews them. variables.body tells you how many params.body values to send.
  • Carousel, limited-time offer and map-pin templates say what else they need in variables.cards, variables.offerExpires and variables.location. optOutButton is the position of a "Stop promotions" button (a tap opts the contact out of marketing).

Query parameters

  • statusstring

    Only templates with this status.

    APPROVEDPENDINGREJECTEDPAUSEDDISABLED

  • accountIduuid

    Only this WhatsApp account’s templates.

curl "https://app.flowsensy.com/api/v1/templates?status=APPROVED" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "accountId": "6f1c…",
      "name": "order_shipped",
      "language": "en",
      "category": "UTILITY",
      "status": "APPROVED",
      "components": [
        {
          "type": "BODY",
          "text": "Hi {{1}}, your order {{2}} has shipped."
        }
      ],
      "variables": {
        "header": 0,
        "body": 2,
        "buttons": {}
      }
    }
  ]
}

Sync templates from WhatsApp

POST/v1/templates/sync

Fetches your templates and their latest approval status from WhatsApp now.

Body

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

curl -X POST "https://app.flowsensy.com/api/v1/templates/sync" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Response · 200
{
  "added": 1,
  "updated": 3,
  "removed": 0
}

Messages

Send a template

POST/v1/messages/template

For the first message to a customer, or any time more than 24 hours have passed since they last wrote.

Sends a real message · chargedIdempotency-Key supported
  • Marketing templates are refused for contacts who opted out (CONTACT_OPTED_OUT).
  • The price is held from your wallet now and charged when WhatsApp confirms; failed messages are never charged.

Body

  • tostringrequired

    The customer’s number with country code, e.g. +919876543210. Without one it’s treated as Indian.

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • template.namestringrequired

    The template’s name, exactly as in the panel.

  • template.languagestring

    e.g. en, hi. Needed only if the name exists in several languages.

  • params.bodystring[]

    Values for {{1}}, {{2}}… in the body, in order.

  • params.headerstring

    Text for a text header, or an https link for an image, video or document header.

  • params.headerFilenamestring

    File name the customer sees for a document header.

  • params.buttonsobject

    Variables of link buttons by button position, e.g. {"0": "track/10023"}.

  • params.codestring

    One-time password or offer code for authentication and coupon templates (up to 15 characters).

  • params.locationobject

    Map-pin header templates (variables.location is true): {"latitude": 19.0596, "longitude": 72.8295, "name": "Kumar Stores", "address": "Hill Road, Bandra"}. Name and address are optional.

  • params.offerExpiresAtstring

    Limited-time offers with a countdown (variables.offerExpires is true): when the offer ends, as an ISO time in the future, e.g. 2026-11-20T18:30:00Z.

  • params.cardsobject[]

    Carousel templates (variables.cards lists each card): one entry per card, in order — {"header": "https://…/photo.jpg", "body": ["₹899"], "buttons": {"0": "p/123"}}. header is a public https link to the card’s photo or video.

curl -X POST "https://app.flowsensy.com/api/v1/messages/template" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: order-10023-shipped" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "+919876543210",
  "template": {
    "name": "order_shipped",
    "language": "en"
  },
  "params": {
    "body": [
      "Asha",
      "#10023"
    ]
  }
}'
Response · 201
{
  "id": "0b7d2c1e-5a3f-4c1d-9e2b-7f1a2b3c4d5e",
  "wamid": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
  "direction": "outbound",
  "to": "+919876543210",
  "type": "template",
  "template": "order_shipped",
  "status": "accepted",
  "category": "utility",
  "priceInr": "0.115000",
  "source": "api",
  "campaignId": null,
  "createdAt": "2026-10-19T10:15:02.120Z",
  "sentAt": null,
  "deliveredAt": null,
  "readAt": null,
  "failedAt": null
}

Reply with text

POST/v1/messages/text

Free-form text. Allowed only within 24 hours of the customer’s last message (WhatsApp’s rule).

Sends a real message · chargedIdempotency-Key supported
  • Outside the 24-hour window you get 409 WINDOW_CLOSED: send a template instead.

Body

  • tostringrequired

    The customer’s number with country code, e.g. +919876543210. Without one it’s treated as Indian.

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • textstringrequired

    Up to 4096 characters. Emoji and *bold*/_italic_ WhatsApp formatting work.

  • replyTouuid

    The messageId of a customer message (from a webhook) to quote.

curl -X POST "https://app.flowsensy.com/api/v1/messages/text" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: order-10023-shipped" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "+919876543210",
  "text": "Your order is out for delivery 🚚"
}'
Response · 201
{
  "id": "0b7d2c1e-5a3f-4c1d-9e2b-7f1a2b3c4d5e",
  "wamid": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
  "direction": "outbound",
  "to": "+919876543210",
  "type": "text",
  "status": "accepted",
  "category": null,
  "priceInr": "0.000000",
  "source": "api",
  "campaignId": null,
  "createdAt": "2026-10-19T10:15:02.120Z",
  "sentAt": null,
  "deliveredAt": null,
  "readAt": null,
  "failedAt": null
}

Send a photo, video, voice note or document

POST/v1/messages/media

Inside the 24-hour window. Give a public https url (we download it) or a fileId from an upload.

Sends a real message · chargedIdempotency-Key supported
  • Photos: JPG or PNG · video: MP4 · audio: OGG or MP3 · documents: PDF, Word, Excel, PowerPoint. Up to 16 MB; up to 3 redirects are followed.

Body

  • tostringrequired

    The customer’s number with country code, e.g. +919876543210. Without one it’s treated as Indian.

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • urlstring

    A public https link to the file. Give this or fileId.

  • fileIduuid

    From POST /v1/media. Give this or url.

  • typestring

    Worked out from the file when left out.

    imagevideoaudiodocument

  • filenamestring

    What the customer sees for documents.

  • captionstring

    Up to 1024 characters (not for audio).

  • voiceboolean

    true sends an OGG file as a voice note.

  • replyTouuid

    A customer message to quote.

curl -X POST "https://app.flowsensy.com/api/v1/messages/media" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: order-10023-shipped" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "+919876543210",
  "url": "https://example.com/invoice-10023.pdf",
  "filename": "Invoice 10023.pdf",
  "caption": "Your invoice"
}'
Response · 201
{
  "id": "0b7d2c1e-5a3f-4c1d-9e2b-7f1a2b3c4d5e",
  "wamid": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
  "direction": "outbound",
  "to": "+919876543210",
  "type": "document",
  "status": "accepted",
  "category": null,
  "priceInr": "0.000000",
  "source": "api",
  "campaignId": null,
  "createdAt": "2026-10-19T10:15:02.120Z",
  "sentAt": null,
  "deliveredAt": null,
  "readAt": null,
  "failedAt": null
}

Send reply buttons, a list menu or a link button

POST/v1/messages/interactive

Inside the 24-hour window. Give one of: up to 3 buttons, a list with up to 10 rows in total, or a cta link button.

Sends a real message · chargedIdempotency-Key supported
  • When the customer taps one, message.received arrives with type: "interactive" and reply.id set to your id.

Body

  • tostringrequired

    The customer’s number with country code, e.g. +919876543210. Without one it’s treated as Indian.

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • bodystringrequired

    The message text (up to 1024).

  • headerstring

    Up to 60 characters.

  • footerstring

    Up to 60 characters.

  • buttons[]object[]

    Up to 3 of { id, title }; titles up to 20 characters. Give this or list.

  • list.buttonstring

    Text of the button that opens the list (up to 20).

  • list.sections[]object[]

    { title?, rows: [{ id, title, description? }] }. Row titles up to 24, descriptions up to 72. Several sections each need a title.

  • cta.textstring

    Link button: its text (up to 20).

  • cta.urlstring

    Link button: the https:// address it opens. WhatsApp doesn’t report taps.

  • headerMediaobject

    Link button only: { type: "image" | "video" | "document", fileId } from Upload a file, shown above the text (instead of header).

  • replyToIduuid

    A customer message to quote.

curl -X POST "https://app.flowsensy.com/api/v1/messages/interactive" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Idempotency-Key: order-10023-shipped" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "+919876543210",
  "header": "Order #10023",
  "body": "When should we deliver?",
  "footer": "Reply anytime",
  "buttons": [
    {
      "id": "today",
      "title": "Today"
    },
    {
      "id": "tomorrow",
      "title": "Tomorrow"
    }
  ]
}'
Response · 201
{
  "id": "0b7d2c1e-5a3f-4c1d-9e2b-7f1a2b3c4d5e",
  "wamid": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
  "direction": "outbound",
  "to": "+919876543210",
  "type": "interactive",
  "status": "accepted",
  "category": null,
  "priceInr": "0.000000",
  "source": "api",
  "campaignId": null,
  "createdAt": "2026-10-19T10:15:02.120Z",
  "sentAt": null,
  "deliveredAt": null,
  "readAt": null,
  "failedAt": null
}

Upload a file

POST/v1/media

Upload a file once, then send it with POST /v1/messages/media using the fileId.

multipart/form-data
  • Send multipart/form-data with the file in a field named file.

Form fields

  • filefilerequired

    The photo, video, audio or document (up to 16 MB).

Errors to handle

422 VALIDATION_FAILED

curl -X POST "https://app.flowsensy.com/api/v1/media" \
  -H "Authorization: Bearer $API_KEY" \
  -F "file=@photo.jpg"
Response · 201
{
  "fileId": "5d4c3b2a-…",
  "name": "menu.jpg",
  "contentType": "image/jpeg",
  "sizeBytes": 182340,
  "type": "image"
}

Message status

GET/v1/messages/{id}

A message and its current status: accepted → sent → delivered → read, or failed with an error.

  • Prefer the message.status webhook over polling.

Path parameters

  • iduuidrequired

    The message id you got when sending (or messageId from a webhook).

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/messages/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "0b7d2c1e-5a3f-4c1d-9e2b-7f1a2b3c4d5e",
  "wamid": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS",
  "direction": "outbound",
  "to": "+919876543210",
  "type": "template",
  "template": "order_shipped",
  "status": "read",
  "category": "utility",
  "priceInr": "0.115000",
  "source": "api",
  "campaignId": null,
  "createdAt": "2026-10-19T10:15:02.120Z",
  "sentAt": "2026-10-19T10:15:03.000Z",
  "deliveredAt": "2026-10-19T10:15:04.000Z",
  "readAt": "2026-10-19T10:16:40.000Z",
  "failedAt": null
}

Download a message’s file

GET/v1/messages/{id}/media

The photo, video, voice note or document of a message (the media.url in webhooks).

Answers with a file
  • 409 MEDIA_NOT_READY means it’s still being fetched from WhatsApp: retry after a few seconds.

Path parameters

  • iduuidrequired

    The message id.

curl "https://app.flowsensy.com/api/v1/messages/{id}/media" \
  -H "Authorization: Bearer $API_KEY"

200 · The file itself, with its Content-Type and a Content-Disposition file name.

Conversations

List conversations

GET/v1/conversations

Chats in your shared inbox, newest first. windowOpen says whether free-form replies are allowed now.

Query parameters

  • statusstring

    Default ALL. ACTIVE = New, Needs human and Open (the chats that need attention).

    NEWNEEDS_HUMANOPENPENDINGRESOLVEDACTIVEALL

  • awaitingboolean

    Only chats whose last message was yours and the customer hasn’t answered yet (last 30 days).

  • assignedstring

    unassigned for chats nobody has taken.

    unassignedall

  • assignedTouuid

    One team member’s chats (ids from GET /v1/team).

  • qstring

    Search by name, number or Instagram @username.

  • channelstring

    Only one channel. Instagram chats have phone: null and instagram: { id, username }; website and app chats (web) have phone: null and visitorId.

    WHATSAPPINSTAGRAMWEB

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • limitinteger

    1–100, default 30.

  • cursorstring

    nextCursor from the previous page.

curl "https://app.flowsensy.com/api/v1/conversations?status=ACTIVE&awaiting=true&limit=20" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "9c2e7f10-1b2a-4c3d-8e9f-0a1b2c3d4e5f",
      "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
      "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "phone": "+919876543210",
      "contactName": "Asha Rao",
      "tags": [
        "vip"
      ],
      "optedOut": false,
      "blocked": false,
      "status": "OPEN",
      "assignedUserId": null,
      "assigneeName": null,
      "unreadCount": 2,
      "lastMessageAt": "2026-10-19T10:20:09.000Z",
      "lastMessagePreview": "Is my order shipped?",
      "lastInboundAt": "2026-10-19T10:20:09.000Z",
      "windowOpen": true,
      "windowClosesAt": "2026-10-20T10:20:09.000Z"
    }
  ],
  "nextCursor": "eyJ0IjoiMjAyNi0xMC0xOVQxMDoyMDowOS4wMDBaIn0"
}

One conversation

GET/v1/conversations/{id}

A conversation with its contact.

Path parameters

  • iduuidrequired

    The conversation id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/conversations/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "9c2e7f10-1b2a-4c3d-8e9f-0a1b2c3d4e5f",
  "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "phone": "+919876543210",
  "contactName": "Asha Rao",
  "tags": [
    "vip"
  ],
  "optedOut": false,
  "blocked": false,
  "status": "OPEN",
  "assignedUserId": null,
  "assigneeName": null,
  "unreadCount": 2,
  "lastMessageAt": "2026-10-19T10:20:09.000Z",
  "lastMessagePreview": "Is my order shipped?",
  "lastInboundAt": "2026-10-19T10:20:09.000Z",
  "windowOpen": true,
  "windowClosesAt": "2026-10-20T10:20:09.000Z",
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
    "phone": "+919876543210",
    "name": "Asha Rao",
    "email": "asha@example.com",
    "tags": [
      "customer",
      "diwali-2026"
    ],
    "attributes": {
      "city": "Pune",
      "plan": "gold"
    },
    "optedOut": false,
    "optedOutAt": null,
    "blocked": false,
    "blockedAt": null,
    "blockedOnWhatsapp": false,
    "source": "API",
    "lastInboundAt": "2026-10-19T10:20:09.000Z",
    "createdAt": "2026-10-01T08:00:00.000Z",
    "updatedAt": "2026-10-19T10:20:09.000Z"
  }
}

Messages in a conversation

GET/v1/conversations/{id}/messages

Messages, internal notes and timeline events, newest page first. Each has a plain text where there is one.

Path parameters

  • iduuidrequired

    The conversation id.

Query parameters

  • limitinteger

    1–100, default 50.

  • beforestring

    before from the previous answer, for older messages.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/conversations/{id}/messages" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "5a1f…",
      "direction": "inbound",
      "type": "text",
      "text": "Is my order shipped?",
      "content": {
        "text": {
          "body": "Is my order shipped?"
        }
      },
      "status": "received",
      "author": null,
      "source": "whatsapp",
      "createdAt": "2026-10-19T10:20:09.000Z"
    }
  ],
  "before": null
}

Assign a conversation

POST/v1/conversations/{id}/assign

Give a chat to a team member by email or id; "userId": null unassigns. The person must be able to reply to customers.

Path parameters

  • iduuidrequired

    The conversation id.

Body

  • emailstring

    The team member’s sign-in email.

  • userIduuid | null

    Or their id (from GET /v1/team); null unassigns.

curl -X POST "https://app.flowsensy.com/api/v1/conversations/{id}/assign" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "priya@shop.in"
}'
Response · 200
{
  "id": "9c2e7f10-1b2a-4c3d-8e9f-0a1b2c3d4e5f",
  "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "phone": "+919876543210",
  "contactName": "Asha Rao",
  "tags": [
    "vip"
  ],
  "optedOut": false,
  "blocked": false,
  "status": "OPEN",
  "assignedUserId": "7e6d…",
  "assigneeName": "Priya",
  "unreadCount": 2,
  "lastMessageAt": "2026-10-19T10:20:09.000Z",
  "lastMessagePreview": "Is my order shipped?",
  "lastInboundAt": "2026-10-19T10:20:09.000Z",
  "windowOpen": true,
  "windowClosesAt": "2026-10-20T10:20:09.000Z"
}

Open, pend or resolve

POST/v1/conversations/{id}/status

Change a chat’s status. A customer writing again reopens it by itself.

Path parameters

  • iduuidrequired

    The conversation id.

Body

  • statusstringrequired

    The new status. NEW: the customer wrote and nobody has picked it up; NEEDS_HUMAN: an AI assistant or chatbot handed it over; OPEN: a person is working on it; PENDING: waiting; RESOLVED: done.

    NEWNEEDS_HUMANOPENPENDINGRESOLVED

Errors to handle

404 NOT_FOUND

curl -X POST "https://app.flowsensy.com/api/v1/conversations/{id}/status" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "RESOLVED"
}'
Response · 200
{
  "id": "9c2e7f10-1b2a-4c3d-8e9f-0a1b2c3d4e5f",
  "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "phone": "+919876543210",
  "contactName": "Asha Rao",
  "tags": [
    "vip"
  ],
  "optedOut": false,
  "blocked": false,
  "status": "RESOLVED",
  "assignedUserId": null,
  "assigneeName": null,
  "unreadCount": 2,
  "lastMessageAt": "2026-10-19T10:20:09.000Z",
  "lastMessagePreview": "Is my order shipped?",
  "lastInboundAt": "2026-10-19T10:20:09.000Z",
  "windowOpen": true,
  "windowClosesAt": "2026-10-20T10:20:09.000Z"
}

Add an internal note

POST/v1/conversations/{id}/notes

A note your team sees in the chat; the customer never does.

Path parameters

  • iduuidrequired

    The conversation id.

Body

  • textstringrequired

    Up to 4000 characters.

Errors to handle

404 NOT_FOUND

curl -X POST "https://app.flowsensy.com/api/v1/conversations/{id}/notes" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Lead created in CRM"
}'
Response · 201
{
  "id": "…",
  "conversationId": "9c2e…",
  "text": "Lead created in CRM",
  "createdAt": "2026-10-19T10:22:00.000Z"
}

Team members

GET/v1/team

People who can reply to customers, with how many open chats each has.

curl "https://app.flowsensy.com/api/v1/team" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "7e6d…",
      "name": "Priya",
      "email": "priya@shop.in",
      "role": "Agent",
      "openConversations": 4
    }
  ]
}

Calls

List calls

GET/v1/calls

Voice calls your team made to website / app visitors, newest first.

Query parameters

  • statusstring

    Only this status.

    COMPLETEDMISSEDDECLINEDCANCELLEDFAILEDACTIVERINGING

  • conversationIduuid

    One chat’s calls.

  • sincedatetime

    Started at or after this time (ISO 8601).

  • limitinteger

    1–100, default 25.

  • cursorstring

    nextCursor from the previous page.

curl "https://app.flowsensy.com/api/v1/calls" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "callId": "…",
      "conversationId": "…",
      "contactId": "…",
      "visitorId": "…",
      "externalId": "user_1042",
      "visitorName": "Asha Rao",
      "visitorEmail": "asha@example.com",
      "status": "COMPLETED",
      "agentUserId": "…",
      "agentName": "Priya",
      "recorded": true,
      "consentAt": "…",
      "startedAt": "…",
      "answeredAt": "…",
      "endedAt": "…",
      "endedBy": "AGENT",
      "seconds": 192,
      "recordingStatus": "READY",
      "recordingUrl": "/v1/calls/…/recording"
    }
  ],
  "nextCursor": null
}

Get a call

GET/v1/calls/{id}

One call: who, when, how long, whether it was recorded (and when the visitor heard the recording notice).

Path parameters

  • iduuidrequired

    The call id.

curl "https://app.flowsensy.com/api/v1/calls/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "callId": "…",
  "conversationId": "…",
  "contactId": "…",
  "visitorId": "…",
  "externalId": "user_1042",
  "visitorName": "Asha Rao",
  "visitorEmail": "asha@example.com",
  "status": "COMPLETED",
  "agentUserId": "…",
  "agentName": "Priya",
  "recorded": true,
  "consentAt": "…",
  "startedAt": "…",
  "answeredAt": "…",
  "endedAt": "…",
  "endedBy": "AGENT",
  "seconds": 192,
  "recordingStatus": "READY",
  "recordingUrl": "/v1/calls/…/recording"
}

Download a call recording

GET/v1/calls/{id}/recording

The recording as AAC audio (audio/mp4). Kept for the days set in Live chat → Calls (90 at most), then deleted.

Path parameters

  • iduuidrequired

    The call id.

curl "https://app.flowsensy.com/api/v1/calls/{id}/recording" \
  -H "Authorization: Bearer $API_KEY"

200 · The audio file (audio/mp4).

List AI calls

GET/v1/ai-calls

Voice calls visitors made with your AI assistant (“Talk to us”), newest first — with transcript, summary and outcome (COMPLETED = handled by the AI, HANDED_OVER, NO_AGENT, LIMIT, FAILED).

Query parameters

  • conversationIduuid

    One chat’s AI calls.

  • sincedatetime

    Started at or after this time (ISO 8601).

  • limitinteger

    1–100, default 25.

  • cursorstring

    nextCursor from the previous page.

curl "https://app.flowsensy.com/api/v1/ai-calls" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "aiCallId": "…",
      "conversationId": "…",
      "contactId": "…",
      "visitorId": "…",
      "externalId": "user_1042",
      "visitorName": "Asha Rao",
      "visitorEmail": "asha@example.com",
      "provider": "OPENAI",
      "status": "ENDED",
      "outcome": "COMPLETED",
      "origin": "visitor",
      "agentUserId": null,
      "agentName": null,
      "agentNote": null,
      "fromCallId": null,
      "handoverReason": null,
      "handoverCallId": null,
      "ticketId": null,
      "leadId": null,
      "recorded": true,
      "consentAt": "…",
      "startedAt": "…",
      "answeredAt": "…",
      "endedAt": "…",
      "seconds": 134,
      "summary": "• Asked about delivery to Pune\n• Told 3–5 days",
      "transcript": [
        {
          "role": "ai",
          "text": "Hi! How can I help?",
          "at": "…"
        },
        {
          "role": "visitor",
          "text": "Do you deliver to Pune?",
          "at": "…"
        }
      ],
      "recordingStatus": "READY",
      "recordingUrl": "/v1/ai-calls/…/recording"
    }
  ],
  "nextCursor": null
}

Get an AI call

GET/v1/ai-calls/{id}

One call with the AI assistant: transcript, summary, outcome, any ticket / lead it made, and the recording when recorded.

Path parameters

  • iduuidrequired

    The AI call id.

curl "https://app.flowsensy.com/api/v1/ai-calls/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "aiCallId": "…",
  "conversationId": "…",
  "contactId": "…",
  "visitorId": "…",
  "externalId": "user_1042",
  "visitorName": "Asha Rao",
  "visitorEmail": "asha@example.com",
  "provider": "OPENAI",
  "status": "ENDED",
  "outcome": "COMPLETED",
  "origin": "visitor",
  "agentUserId": null,
  "agentName": null,
  "agentNote": null,
  "fromCallId": null,
  "handoverReason": null,
  "handoverCallId": null,
  "ticketId": null,
  "leadId": null,
  "recorded": true,
  "consentAt": "…",
  "startedAt": "…",
  "answeredAt": "…",
  "endedAt": "…",
  "seconds": 134,
  "summary": "• Asked about delivery to Pune\n• Told 3–5 days",
  "transcript": [
    {
      "role": "ai",
      "text": "Hi! How can I help?",
      "at": "…"
    },
    {
      "role": "visitor",
      "text": "Do you deliver to Pune?",
      "at": "…"
    }
  ],
  "recordingStatus": "READY",
  "recordingUrl": "/v1/ai-calls/…/recording"
}

Download an AI call recording

GET/v1/ai-calls/{id}/recording

The recording (caller and AI) as AAC audio (audio/mp4). Kept for the days set in Live chat → Calls (90 at most).

Path parameters

  • iduuidrequired

    The AI call id.

curl "https://app.flowsensy.com/api/v1/ai-calls/{id}/recording" \
  -H "Authorization: Bearer $API_KEY"

200 · The audio file (audio/mp4).

Tickets

List tickets

GET/v1/tickets

Tickets, most urgent first, then most recently changed. Use updatedSince to sync changes into another system.

Query parameters

  • statusstring

    active = open, waiting and on hold. Default all.

    activeopenwaitingon_holdsolvedclosedoverdueall

  • prioritystring

    Only this priority.

    LOWNORMALHIGHURGENT

  • assignedTouuid

    One team member’s tickets (ids from GET /v1/team).

  • assignedstring

    unassigned for tickets nobody owns.

    unassignedall

  • teamIduuid

    One team’s tickets (ids from GET /v1/teams).

  • contactIduuid

    One contact’s tickets.

  • updatedSincedatetime

    Changed at or after this time (ISO 8601).

  • qstring

    Search the subject, requester or #number.

  • limitinteger

    1–100, default 50.

  • offsetinteger

    Skip this many (for the next page).

curl "https://app.flowsensy.com/api/v1/tickets?status=active&limit=20" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "3d9a7c2e-6b1f-4e8d-9a0c-1b2c3d4e5f60",
      "number": 42,
      "ref": "#42",
      "subject": "Order not delivered",
      "status": "OPEN",
      "priority": "HIGH",
      "source": "API",
      "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "conversationId": null,
      "requester": {
        "name": "Asha Rao",
        "email": "asha@example.com",
        "phone": "919876543210"
      },
      "assignedUserId": null,
      "assigneeName": null,
      "teamId": null,
      "teamName": null,
      "tags": [
        "delivery"
      ],
      "fields": {
        "order": "10023"
      },
      "firstResponseDueAt": "2026-10-19T11:20:00.000Z",
      "resolveDueAt": "2026-10-20T10:20:00.000Z",
      "firstRespondedAt": null,
      "solvedAt": null,
      "closedAt": null,
      "overdue": false,
      "overdueWhat": null,
      "rating": null,
      "ratingComment": null,
      "createdAt": "2026-10-19T10:20:00.000Z",
      "updatedAt": "2026-10-19T10:20:00.000Z"
    }
  ],
  "total": 1
}

One ticket

GET/v1/tickets/{id}

A ticket with its contact, linked chat and the customer’s status page link.

Path parameters

  • iduuidrequired

    The ticket id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/tickets/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "3d9a7c2e-6b1f-4e8d-9a0c-1b2c3d4e5f60",
  "number": 42,
  "ref": "#42",
  "subject": "Order not delivered",
  "status": "OPEN",
  "priority": "HIGH",
  "source": "API",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "conversationId": null,
  "requester": {
    "name": "Asha Rao",
    "email": "asha@example.com",
    "phone": "919876543210"
  },
  "assignedUserId": null,
  "assigneeName": null,
  "teamId": null,
  "teamName": null,
  "tags": [
    "delivery"
  ],
  "fields": {
    "order": "10023"
  },
  "firstResponseDueAt": "2026-10-19T11:20:00.000Z",
  "resolveDueAt": "2026-10-20T10:20:00.000Z",
  "firstRespondedAt": null,
  "solvedAt": null,
  "closedAt": null,
  "overdue": false,
  "overdueWhat": null,
  "rating": null,
  "ratingComment": null,
  "createdAt": "2026-10-19T10:20:00.000Z",
  "updatedAt": "2026-10-19T10:20:00.000Z",
  "statusPageUrl": "https://app.example.com/t/q7Yb…",
  "conversation": null,
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "name": "Asha Rao",
    "phone": "919876543210",
    "email": "asha@example.com",
    "channel": "WHATSAPP",
    "tags": []
  }
}

Create a ticket

POST/v1/tickets

Open a ticket for a customer. Link it to a contact by id, or let us find them by WhatsApp number or email.

  • Needs the Tickets feature in your plan; the monthly ticket limit applies.
  • Set notify: true to email the customer that their request was received (with their status page link).

Body

  • subjectstringrequired

    Short summary, 2–150 characters.

  • descriptionstring

    What the customer asked (shown to them on the status page).

  • prioritystring

    Default NORMAL. Reply and solve targets follow it.

    LOWNORMALHIGHURGENT

  • contactobject

    { "id" }, { "phone" } or { "email" }. Not found by phone or email: the details are kept on the ticket.

  • conversationIduuid

    Link it to a chat (WhatsApp, Instagram or website).

  • requesterNamestring

    The customer’s name, if not a contact.

  • requesterEmailstring

    Where ticket emails go.

  • assignedUserIduuid

    Owner (from GET /v1/team).

  • teamIduuid

    Team (from GET /v1/teams).

  • tagsstring[]

    Up to 20.

  • notifyboolean

    Email the customer now. Default false.

curl -X POST "https://app.flowsensy.com/api/v1/tickets" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "subject": "Order not delivered",
  "description": "Order 10023 was due yesterday.",
  "priority": "HIGH",
  "contact": {
    "phone": "+919876543210"
  },
  "tags": [
    "delivery"
  ]
}'
Response · 201
{
  "id": "3d9a7c2e-6b1f-4e8d-9a0c-1b2c3d4e5f60",
  "number": 42,
  "ref": "#42",
  "subject": "Order not delivered",
  "status": "OPEN",
  "priority": "HIGH",
  "source": "API",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "conversationId": null,
  "requester": {
    "name": "Asha Rao",
    "email": "asha@example.com",
    "phone": "919876543210"
  },
  "assignedUserId": null,
  "assigneeName": null,
  "teamId": null,
  "teamName": null,
  "tags": [
    "delivery"
  ],
  "fields": {
    "order": "10023"
  },
  "firstResponseDueAt": "2026-10-19T11:20:00.000Z",
  "resolveDueAt": "2026-10-20T10:20:00.000Z",
  "firstRespondedAt": null,
  "solvedAt": null,
  "closedAt": null,
  "overdue": false,
  "overdueWhat": null,
  "rating": null,
  "ratingComment": null,
  "createdAt": "2026-10-19T10:20:00.000Z",
  "updatedAt": "2026-10-19T10:20:00.000Z",
  "statusPageUrl": "https://app.example.com/t/q7Yb…",
  "conversation": null,
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "name": "Asha Rao",
    "phone": "919876543210",
    "email": "asha@example.com",
    "channel": "WHATSAPP",
    "tags": []
  }
}

Update a ticket

PATCH/v1/tickets/{id}

Change status, priority, owner, team, tags, custom fields or the subject. Send only what changes.

Path parameters

  • iduuidrequired

    The ticket id.

Body

  • statusstring

    New status. Solved tickets close by themselves after the days set in Tickets → Settings.

    OPENWAITINGON_HOLDSOLVEDCLOSED

  • prioritystring

    New priority (targets are recalculated).

    LOWNORMALHIGHURGENT

  • assignedUserIduuid | null

    New owner; null for nobody.

  • teamIduuid | null

    New team; null for none.

  • tagsstring[]

    Replaces the tags.

  • fieldsobject

    Custom fields, { "name": "value" }; replaces them.

  • subjectstring

    New subject.

curl -X PATCH "https://app.flowsensy.com/api/v1/tickets/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "ON_HOLD",
  "priority": "URGENT",
  "fields": {
    "order": "10023"
  }
}'
Response · 200
{
  "id": "3d9a7c2e-6b1f-4e8d-9a0c-1b2c3d4e5f60",
  "number": 42,
  "ref": "#42",
  "subject": "Order not delivered",
  "status": "ON_HOLD",
  "priority": "URGENT",
  "source": "API",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "conversationId": null,
  "requester": {
    "name": "Asha Rao",
    "email": "asha@example.com",
    "phone": "919876543210"
  },
  "assignedUserId": null,
  "assigneeName": null,
  "teamId": null,
  "teamName": null,
  "tags": [
    "delivery"
  ],
  "fields": {
    "order": "10023"
  },
  "firstResponseDueAt": "2026-10-19T11:20:00.000Z",
  "resolveDueAt": "2026-10-20T10:20:00.000Z",
  "firstRespondedAt": null,
  "solvedAt": null,
  "closedAt": null,
  "overdue": false,
  "overdueWhat": null,
  "rating": null,
  "ratingComment": null,
  "createdAt": "2026-10-19T10:20:00.000Z",
  "updatedAt": "2026-10-19T10:20:00.000Z",
  "statusPageUrl": "https://app.example.com/t/q7Yb…",
  "conversation": null,
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "name": "Asha Rao",
    "phone": "919876543210",
    "email": "asha@example.com",
    "channel": "WHATSAPP",
    "tags": []
  }
}

Reply to the customer

POST/v1/tickets/{id}/replies

Emails the customer (and shows on their status page). inChat also sends it in the linked chat.

Path parameters

  • iduuidrequired

    The ticket id.

Body

  • textstringrequired

    Up to 5000 characters.

  • statusstring

    Status after the reply. Default WAITING (on the customer).

    OPENWAITINGON_HOLDSOLVEDCLOSED

  • inChatboolean

    Also send it in the linked WhatsApp, Instagram or website chat.

curl -X POST "https://app.flowsensy.com/api/v1/tickets/{id}/replies" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Your replacement ships today.",
  "status": "SOLVED"
}'
Response · 201
{
  "id": "3d9a7c2e-6b1f-4e8d-9a0c-1b2c3d4e5f60",
  "number": 42,
  "ref": "#42",
  "subject": "Order not delivered",
  "status": "SOLVED",
  "priority": "HIGH",
  "source": "API",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "conversationId": null,
  "requester": {
    "name": "Asha Rao",
    "email": "asha@example.com",
    "phone": "919876543210"
  },
  "assignedUserId": null,
  "assigneeName": null,
  "teamId": null,
  "teamName": null,
  "tags": [
    "delivery"
  ],
  "fields": {
    "order": "10023"
  },
  "firstResponseDueAt": "2026-10-19T11:20:00.000Z",
  "resolveDueAt": "2026-10-20T10:20:00.000Z",
  "firstRespondedAt": null,
  "solvedAt": null,
  "closedAt": null,
  "overdue": false,
  "overdueWhat": null,
  "rating": null,
  "ratingComment": null,
  "createdAt": "2026-10-19T10:20:00.000Z",
  "updatedAt": "2026-10-19T10:20:00.000Z",
  "statusPageUrl": "https://app.example.com/t/q7Yb…",
  "conversation": null,
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "name": "Asha Rao",
    "phone": "919876543210",
    "email": "asha@example.com",
    "channel": "WHATSAPP",
    "tags": []
  }
}

Add an internal note

POST/v1/tickets/{id}/notes

Only your team sees it.

Path parameters

  • iduuidrequired

    The ticket id.

Body

  • textstringrequired

    Up to 5000 characters.

Errors to handle

404 NOT_FOUND

curl -X POST "https://app.flowsensy.com/api/v1/tickets/{id}/notes" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Courier ref DL-55102"
}'
Response · 201
{
  "id": "3d9a7c2e-6b1f-4e8d-9a0c-1b2c3d4e5f60",
  "number": 42,
  "ref": "#42",
  "subject": "Order not delivered",
  "status": "OPEN",
  "priority": "HIGH",
  "source": "API",
  "contactId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "conversationId": null,
  "requester": {
    "name": "Asha Rao",
    "email": "asha@example.com",
    "phone": "919876543210"
  },
  "assignedUserId": null,
  "assigneeName": null,
  "teamId": null,
  "teamName": null,
  "tags": [
    "delivery"
  ],
  "fields": {
    "order": "10023"
  },
  "firstResponseDueAt": "2026-10-19T11:20:00.000Z",
  "resolveDueAt": "2026-10-20T10:20:00.000Z",
  "firstRespondedAt": null,
  "solvedAt": null,
  "closedAt": null,
  "overdue": false,
  "overdueWhat": null,
  "rating": null,
  "ratingComment": null,
  "createdAt": "2026-10-19T10:20:00.000Z",
  "updatedAt": "2026-10-19T10:20:00.000Z",
  "statusPageUrl": "https://app.example.com/t/q7Yb…",
  "conversation": null,
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "name": "Asha Rao",
    "phone": "919876543210",
    "email": "asha@example.com",
    "channel": "WHATSAPP",
    "tags": []
  }
}

A ticket’s messages

GET/v1/tickets/{id}/messages

The timeline, oldest first: created, reply (to the customer), customer_reply, note, change and rating.

Path parameters

  • iduuidrequired

    The ticket id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/tickets/{id}/messages" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "1",
      "kind": "created",
      "text": "Order 10023 was due yesterday.",
      "author": null,
      "data": {
        "source": "API"
      },
      "createdAt": "2026-10-19T10:20:00.000Z"
    },
    {
      "id": "2",
      "kind": "reply",
      "text": "Your replacement ships today.",
      "author": "Priya",
      "data": {
        "inChat": false
      },
      "createdAt": "2026-10-19T10:40:00.000Z"
    }
  ]
}

Teams

GET/v1/teams

Your CRM teams and their members, to route tickets to.

curl "https://app.flowsensy.com/api/v1/teams" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "f6b2…",
      "name": "Sales",
      "memberIds": [
        "7e6d…"
      ]
    }
  ]
}

Subscriptions

List plans

GET/v1/recurring/plans

Your recurring plans (memberships / subscriptions you sell): price per period, GST rate, setup fee, trial and usage allowance.

  • Needs Subscriptions in your plan.
  • Money is in paise as strings (150000 = ₹1,500).
curl "https://app.flowsensy.com/api/v1/recurring/plans" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "name": "Gym — monthly",
      "period": "MONTHLY",
      "periodLabel": "month",
      "pricePaise": "150000",
      "gstPercent": "18",
      "setupFeePaise": "0",
      "trialDays": 7,
      "usageLimit": null,
      "status": "ACTIVE",
      "activeSubscriptions": 42
    }
  ]
}

List subscriptions

GET/v1/recurring/subscriptions

Your customers’ subscriptions, next renewal first.

Query parameters

  • statusstring

    LIVE = trial, active, payment due and paused.

    LIVETRIALACTIVEPAST_DUEPAUSEDCANCELLEDEXPIRED

  • planIduuid

    One plan’s subscriptions.

  • duestring

    Renewing within a week or a month.

    weekmonth

  • requestsboolean

    true: only those with a customer request (pause / cancel / change plan) waiting.

  • qstring

    Name, phone or S-1001.

  • limitinteger

    1–100, default 50.

  • offsetinteger

    Skip this many.

curl "https://app.flowsensy.com/api/v1/recurring/subscriptions?status=LIVE&limit=20" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "6c1f…",
      "ref": "S-1001",
      "status": "ACTIVE",
      "contact": {
        "id": "…",
        "name": "Asha Rao",
        "phone": "919876543210"
      },
      "plan": {
        "id": "…",
        "name": "Gym — monthly",
        "periodLabel": "month"
      },
      "pricePaise": "150000",
      "renewsAt": "2026-12-07T00:00:00.000Z",
      "autoRenew": true,
      "cancelAtPeriodEnd": false,
      "request": null,
      "duePaise": "0",
      "overdue": false
    }
  ],
  "total": 1
}

Start a subscription

POST/v1/recurring/subscriptions

Add a customer to a plan, or on custom terms of their own (no plan). Without a trial, the first invoice is made now (or recorded as paid). Renewal invoices, reminders and pay links follow automatically — nothing is debited.

  • The active-subscription limit of your plan applies (LIMIT_REACHED).

Body

  • planIduuid

    From GET /v1/recurring/plans. Give this or custom.

  • customobject

    Custom terms for this customer only, instead of a plan: name, price, period (WEEKLY, MONTHLY, QUARTERLY, YEARLY or DAYS + periodDays), and optional description, gstPercent (0, 5, 12, 18, 28), setupFee, trialDays, usageLimit, usageLabel. The subscription shows plan.custom: true.

  • contactIduuid

    An existing contact. Or give phone (found or added on your WhatsApp number).

  • phonestring

    The customer’s WhatsApp number, with country code (+919876543210). Numbers without one are read as Indian.

  • namestring

    Their name (new contacts).

  • emailstring

    Used when there’s no WhatsApp template for a notice.

  • startDatedate

    YYYY-MM-DD, default today.

  • trialDaysinteger

    Overrides the plan’s trial (0 = none).

  • pricestring

    Price for this customer in rupees, e.g. 1299.

  • firstPeriodPaidboolean

    Record the first period as already paid. Default false.

curl -X POST "https://app.flowsensy.com/api/v1/recurring/subscriptions" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "planId": "…",
  "phone": "+919876543210",
  "name": "Asha Rao"
}'
Response · 201
{
  "id": "…",
  "ref": "S-1001",
  "status": "ACTIVE",
  "invoices": [
    {
      "id": "…",
      "number": "INV-0042",
      "kind": "RENEWAL",
      "status": "OPEN",
      "totalPaise": "177000",
      "taxPaise": "27000",
      "dueAt": "2026-12-07T00:00:00.000Z",
      "paidAt": null,
      "paidVia": null,
      "link": "https://panel.example.com/i/QTspP_Hdgk…"
    }
  ]
}

One subscription

GET/v1/recurring/subscriptions/{id}

A subscription with its plan, customer, current period, usage and invoices (each with the customer’s pay / view link).

Path parameters

  • iduuidrequired

    The subscription id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/recurring/subscriptions/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "…",
  "ref": "S-1001",
  "status": "ACTIVE",
  "renewsAt": "2026-12-07T00:00:00.000Z",
  "invoices": [
    {
      "id": "…",
      "number": "INV-0042",
      "kind": "RENEWAL",
      "status": "OPEN",
      "totalPaise": "177000",
      "taxPaise": "27000",
      "dueAt": "2026-12-07T00:00:00.000Z",
      "paidAt": null,
      "paidVia": null,
      "link": "https://panel.example.com/i/QTspP_Hdgk…"
    }
  ]
}

Pause

POST/v1/recurring/subscriptions/{id}/pause

Pause until a date (or until resumed). When it resumes, the renewal date moves by the days it was paused.

Path parameters

  • iduuidrequired

    The subscription id.

Body

  • untildate

    YYYY-MM-DD; empty = until resumed.

  • reasonstring

    Shown in reports.

curl -X POST "https://app.flowsensy.com/api/v1/recurring/subscriptions/{id}/pause" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "until": "2026-12-01",
  "reason": "Travelling"
}'
Response · 200
{
  "id": "…",
  "status": "PAUSED"
}

Resume

POST/v1/recurring/subscriptions/{id}/resume

Resume a paused subscription.

Path parameters

  • iduuidrequired

    The subscription id.

curl -X POST "https://app.flowsensy.com/api/v1/recurring/subscriptions/{id}/resume" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "…",
  "status": "ACTIVE"
}

Cancel

POST/v1/recurring/subscriptions/{id}/cancel

PERIOD_END: it runs until the renewal date, then ends. NOW: ends now and open invoices are cancelled.

Path parameters

  • iduuidrequired

    The subscription id.

Body

  • whenstringrequired

    When it ends.

    PERIOD_ENDNOW

  • reasonstring

    Shown in reports.

curl -X POST "https://app.flowsensy.com/api/v1/recurring/subscriptions/{id}/cancel" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "when": "PERIOD_END",
  "reason": "Moved city"
}'
Response · 200
{
  "id": "…",
  "status": "ACTIVE",
  "cancelAtPeriodEnd": true
}

List invoices

GET/v1/recurring/invoices

Customer invoices (in your name and series), newest first. link is the customer’s page to view, download and pay.

Query parameters

  • statusstring

    Filter.

    OPENOVERDUEPAID

  • limitinteger

    1–200, default 100.

curl "https://app.flowsensy.com/api/v1/recurring/invoices?status=OPEN" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "number": "INV-0042",
      "kind": "RENEWAL",
      "status": "OPEN",
      "totalPaise": "177000",
      "taxPaise": "27000",
      "dueAt": "2026-12-07T00:00:00.000Z",
      "paidAt": null,
      "paidVia": null,
      "link": "https://panel.example.com/i/QTspP_Hdgk…"
    }
  ]
}

Mark an invoice paid

POST/v1/recurring/invoices/{id}/paid

Record a payment you received outside the pay link (cash, UPI, bank). The period renews and the customer gets the receipt.

Path parameters

  • iduuidrequired

    The invoice id.

Body

  • methodstringrequired

    How they paid.

    CASHUPIBANKCARDOTHER

  • referencestring

    UTR / receipt number.

  • paidOndate

    YYYY-MM-DD, default today.

curl -X POST "https://app.flowsensy.com/api/v1/recurring/invoices/{id}/paid" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "method": "UPI",
  "reference": "UTR4211"
}'
Response · 200
{
  "id": "…",
  "number": "INV-0042",
  "kind": "RENEWAL",
  "status": "PAID",
  "totalPaise": "177000",
  "taxPaise": "27000",
  "dueAt": "2026-12-07T00:00:00.000Z",
  "paidAt": null,
  "paidVia": "UPI",
  "link": "https://panel.example.com/i/QTspP_Hdgk…"
}

WhatsApp Store

List products

GET/v1/store/products

Your product catalog (the same one quotations and the WhatsApp catalog use). Prices are in rupees and include GST.

  • Needs WhatsApp Store in your plan.

Query parameters

  • qstring

    Name or SKU.

  • scopestring

    store (default): products shown in the store; all: the whole catalog.

    storeall

  • categoryIduuid

    Filter.

  • limitinteger

    1–100, default 50.

  • offsetinteger

    Skip this many.

curl "https://app.flowsensy.com/api/v1/store/products" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000031",
      "name": "Cotton kurta",
      "slug": "cotton-kurta",
      "description": "Soft handloom cotton",
      "sku": "KUR-1",
      "hsn": "6211",
      "price": 1049,
      "comparePrice": 1499,
      "gstRate": 5,
      "categoryId": "…",
      "images": [
        {
          "id": "…",
          "url": "/api/store/images/…"
        }
      ],
      "options": [
        {
          "name": "Size",
          "values": [
            "M",
            "L"
          ]
        }
      ],
      "variants": [
        {
          "id": "…",
          "name": "M",
          "options": {
            "Size": "M"
          },
          "price": 1049,
          "comparePrice": null,
          "sku": "KUR-M",
          "stock": 6,
          "active": true,
          "inStock": true
        }
      ],
      "trackStock": true,
      "stock": 6,
      "inStock": true,
      "inStore": true,
      "active": true
    }
  ],
  "total": 1
}

Create a product

POST/v1/store/products

Adds a product (with options and variants). Store products count towards your plan’s product limit.

Body

  • namestringrequired

    Product name.

  • pricenumberrequired

    Selling price in rupees, including GST.

  • comparePricenumber

    MRP, shown struck through.

  • gstRateinteger

    0, 5, 12, 18 or 28.

  • descriptionstring

    Shown on the product page.

  • skustring

    Your code.

  • categoryIduuid

    A store category.

  • optionsarray

    Up to 3, e.g. [{"name":"Size","values":["M","L"]}].

  • variantsarray

    One per combination: name, options, price (null = the product price), sku, stock, active. Send id back to keep a variant.

  • trackStockboolean

    Orders take stock; cancelled / returned orders put it back.

  • stockinteger

    Without variants.

  • inStoreboolean

    Show in the store (default true). Off: a quotation-only product.

  • activeboolean

    Off hides it everywhere.

curl -X POST "https://app.flowsensy.com/api/v1/store/products" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Cotton kurta",
  "price": 1049,
  "comparePrice": 1499,
  "gstRate": 5,
  "options": [
    {
      "name": "Size",
      "values": [
        "M",
        "L"
      ]
    }
  ],
  "variants": [
    {
      "name": "M",
      "options": {
        "Size": "M"
      },
      "price": null,
      "stock": 6
    },
    {
      "name": "L",
      "options": {
        "Size": "L"
      },
      "price": 1099,
      "stock": 4
    }
  ],
  "trackStock": true
}'
Response · 201
{
  "id": "00000000-0000-4000-8000-000000000031",
  "name": "Cotton kurta",
  "slug": "cotton-kurta",
  "description": "Soft handloom cotton",
  "sku": "KUR-1",
  "hsn": "6211",
  "price": 1049,
  "comparePrice": 1499,
  "gstRate": 5,
  "categoryId": "…",
  "images": [
    {
      "id": "…",
      "url": "/api/store/images/…"
    }
  ],
  "options": [
    {
      "name": "Size",
      "values": [
        "M",
        "L"
      ]
    }
  ],
  "variants": [
    {
      "id": "…",
      "name": "M",
      "options": {
        "Size": "M"
      },
      "price": 1049,
      "comparePrice": null,
      "sku": "KUR-M",
      "stock": 6,
      "active": true,
      "inStock": true
    }
  ],
  "trackStock": true,
  "stock": 6,
  "inStock": true,
  "inStore": true,
  "active": true
}

Get a product

GET/v1/store/products/{id}

One product with its variants and stock.

Path parameters

  • iduuidrequired

    The product id.

curl "https://app.flowsensy.com/api/v1/store/products/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "00000000-0000-4000-8000-000000000031",
  "name": "Cotton kurta",
  "slug": "cotton-kurta",
  "description": "Soft handloom cotton",
  "sku": "KUR-1",
  "hsn": "6211",
  "price": 1049,
  "comparePrice": 1499,
  "gstRate": 5,
  "categoryId": "…",
  "images": [
    {
      "id": "…",
      "url": "/api/store/images/…"
    }
  ],
  "options": [
    {
      "name": "Size",
      "values": [
        "M",
        "L"
      ]
    }
  ],
  "variants": [
    {
      "id": "…",
      "name": "M",
      "options": {
        "Size": "M"
      },
      "price": 1049,
      "comparePrice": null,
      "sku": "KUR-M",
      "stock": 6,
      "active": true,
      "inStock": true
    }
  ],
  "trackStock": true,
  "stock": 6,
  "inStock": true,
  "inStore": true,
  "active": true
}

Update a product

PUT/v1/store/products/{id}

Replaces the product’s details (send every field). Stock and prices go to the WhatsApp catalog within a minute.

Path parameters

  • iduuidrequired

    The product id.

Body

  • namestringrequired

    Product name.

  • pricenumberrequired

    Selling price in rupees, including GST.

  • comparePricenumber

    MRP, shown struck through.

  • gstRateinteger

    0, 5, 12, 18 or 28.

  • descriptionstring

    Shown on the product page.

  • skustring

    Your code.

  • categoryIduuid

    A store category.

  • optionsarray

    Up to 3, e.g. [{"name":"Size","values":["M","L"]}].

  • variantsarray

    One per combination: name, options, price (null = the product price), sku, stock, active. Send id back to keep a variant.

  • trackStockboolean

    Orders take stock; cancelled / returned orders put it back.

  • stockinteger

    Without variants.

  • inStoreboolean

    Show in the store (default true). Off: a quotation-only product.

  • activeboolean

    Off hides it everywhere.

curl -X PUT "https://app.flowsensy.com/api/v1/store/products/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Cotton kurta",
  "price": 999,
  "gstRate": 5,
  "trackStock": true,
  "stock": 20
}'
Response · 200
{
  "id": "00000000-0000-4000-8000-000000000031",
  "name": "Cotton kurta",
  "slug": "cotton-kurta",
  "description": "Soft handloom cotton",
  "sku": "KUR-1",
  "hsn": "6211",
  "price": 1049,
  "comparePrice": 1499,
  "gstRate": 5,
  "categoryId": "…",
  "images": [
    {
      "id": "…",
      "url": "/api/store/images/…"
    }
  ],
  "options": [
    {
      "name": "Size",
      "values": [
        "M",
        "L"
      ]
    }
  ],
  "variants": [
    {
      "id": "…",
      "name": "M",
      "options": {
        "Size": "M"
      },
      "price": 1049,
      "comparePrice": null,
      "sku": "KUR-M",
      "stock": 6,
      "active": true,
      "inStock": true
    }
  ],
  "trackStock": true,
  "stock": 6,
  "inStock": true,
  "inStore": true,
  "active": true
}

List orders

GET/v1/store/orders

Store orders, newest first. Money is in paise as strings (104900 = ₹1,049).

Query parameters

  • statusstring

    Filter.

    OPENNEWCONFIRMEDPACKEDSHIPPEDDELIVEREDCANCELLEDRETURNEDALL

  • qstring

    Order number, name or phone.

  • contactIduuid

    One customer’s orders.

  • limitinteger

    1–100, default 50.

  • offsetinteger

    Skip this many.

curl "https://app.flowsensy.com/api/v1/store/orders?status=OPEN" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000032",
      "number": "ORD-1042",
      "storeName": "Kumar Stores",
      "contactId": "…",
      "customerName": "Priya Sharma",
      "customerPhone": "+919811122333",
      "customerEmail": null,
      "address": {
        "line1": "12 MG Road",
        "city": "Pune",
        "state": "Maharashtra",
        "pincode": "411001"
      },
      "items": [
        {
          "productId": "…",
          "variantId": "…",
          "name": "Cotton kurta",
          "variantName": "M",
          "qty": 2,
          "unitPaise": "104900",
          "gstRate": 5,
          "lineTotalPaise": "209800"
        }
      ],
      "subtotalPaise": "209800",
      "discountPaise": "0",
      "shippingPaise": "0",
      "codFeePaise": "4900",
      "taxPaise": "9990",
      "totalPaise": "214700",
      "couponCode": null,
      "paymentMethod": "COD",
      "paymentStatus": "COD",
      "status": "NEW",
      "trackingNumber": null,
      "trackingUrl": null,
      "source": "WEBSITE",
      "invoiceNumber": null,
      "link": "https://panel.example.com/o/AbC123xyz789",
      "createdAt": "2026-11-08T05:30:00.000Z"
    }
  ],
  "total": 1
}

Get an order

GET/v1/store/orders/{id}

One order with its items, totals, payment, tracking and history.

Path parameters

  • iduuidrequired

    The order id.

curl "https://app.flowsensy.com/api/v1/store/orders/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "00000000-0000-4000-8000-000000000032",
  "number": "ORD-1042",
  "storeName": "Kumar Stores",
  "contactId": "…",
  "customerName": "Priya Sharma",
  "customerPhone": "+919811122333",
  "customerEmail": null,
  "address": {
    "line1": "12 MG Road",
    "city": "Pune",
    "state": "Maharashtra",
    "pincode": "411001"
  },
  "items": [
    {
      "productId": "…",
      "variantId": "…",
      "name": "Cotton kurta",
      "variantName": "M",
      "qty": 2,
      "unitPaise": "104900",
      "gstRate": 5,
      "lineTotalPaise": "209800"
    }
  ],
  "subtotalPaise": "209800",
  "discountPaise": "0",
  "shippingPaise": "0",
  "codFeePaise": "4900",
  "taxPaise": "9990",
  "totalPaise": "214700",
  "couponCode": null,
  "paymentMethod": "COD",
  "paymentStatus": "COD",
  "status": "NEW",
  "trackingNumber": null,
  "trackingUrl": null,
  "source": "WEBSITE",
  "invoiceNumber": null,
  "link": "https://panel.example.com/o/AbC123xyz789",
  "createdAt": "2026-11-08T05:30:00.000Z"
}

Update an order

PATCH/v1/store/orders/{id}

Move it on (confirmed, packed, shipped…), add the tracking number and link, or mark it paid. The customer gets the WhatsApp update set for that status unless notify is false. Cancelled and returned orders put stock back.

Path parameters

  • iduuidrequired

    The order id.

Body

  • statusstring

    New status.

    NEWCONFIRMEDPACKEDSHIPPEDDELIVEREDCANCELLEDRETURNED

  • trackingNumberstring

    AWB / consignment number.

  • trackingUrlstring

    The courier’s tracking page (https).

  • paidboolean

    true marks it paid (a GST invoice is made).

  • notifyboolean

    Send the WhatsApp update for the new status. Default: when one is set.

  • notestring

    Saved in the order history.

  • internalNotestring

    Only your team sees it.

curl -X PATCH "https://app.flowsensy.com/api/v1/store/orders/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "SHIPPED",
  "trackingNumber": "AWB123456789",
  "trackingUrl": "https://track.example.com/AWB123456789"
}'
Response · 200
{
  "id": "00000000-0000-4000-8000-000000000032",
  "number": "ORD-1042",
  "storeName": "Kumar Stores",
  "contactId": "…",
  "customerName": "Priya Sharma",
  "customerPhone": "+919811122333",
  "customerEmail": null,
  "address": {
    "line1": "12 MG Road",
    "city": "Pune",
    "state": "Maharashtra",
    "pincode": "411001"
  },
  "items": [
    {
      "productId": "…",
      "variantId": "…",
      "name": "Cotton kurta",
      "variantName": "M",
      "qty": 2,
      "unitPaise": "104900",
      "gstRate": 5,
      "lineTotalPaise": "209800"
    }
  ],
  "subtotalPaise": "209800",
  "discountPaise": "0",
  "shippingPaise": "0",
  "codFeePaise": "4900",
  "taxPaise": "9990",
  "totalPaise": "214700",
  "couponCode": null,
  "paymentMethod": "COD",
  "paymentStatus": "COD",
  "status": "SHIPPED",
  "trackingNumber": "AWB123456789",
  "trackingUrl": null,
  "source": "WEBSITE",
  "invoiceNumber": null,
  "link": "https://panel.example.com/o/AbC123xyz789",
  "createdAt": "2026-11-08T05:30:00.000Z"
}

Bookings

List services and staff

GET/v1/bookings/services

Your bookable services (length, price, buffers, seats per slot) and the staff / resources who give them. Prices are in rupees.

curl "https://app.flowsensy.com/api/v1/bookings/services" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "services": [
    {
      "id": "…",
      "name": "Haircut",
      "durationMin": 30,
      "price": 500,
      "advance": null,
      "bufferBeforeMin": 0,
      "bufferAfterMin": 15,
      "capacity": 1,
      "location": "IN_PERSON",
      "locationText": "MG Road",
      "active": true
    }
  ],
  "staff": [
    {
      "id": "…",
      "name": "Anita",
      "serviceIds": [
        "…"
      ],
      "active": true
    }
  ]
}

Free slots

GET/v1/bookings/availability

Free start times on one date, worked out from working hours, days off, the service’s length + buffers and the seats per slot. Times are in your booking time zone.

Query parameters

  • serviceIduuidrequired

    The service.

  • datestringrequired

    YYYY-MM-DD.

  • staffIduuid

    One staff member (default: anyone).

curl "https://app.flowsensy.com/api/v1/bookings/availability?date=2026-11-20" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "timezone": "Asia/Kolkata",
  "slots": [
    {
      "start": "2026-11-20T04:00:00.000Z",
      "time": "09:30",
      "staffIds": [
        "…"
      ],
      "seats": 1
    }
  ]
}

List bookings

GET/v1/bookings

Appointments, newest first (or by start time with from).

Query parameters

  • statusstring

    Filter (ACTIVE = pending or confirmed).

    ACTIVEPENDINGCONFIRMEDCANCELLEDCOMPLETEDNO_SHOW

  • fromstring

    Starting at or after (ISO date-time).

  • tostring

    Starting before (ISO date-time).

  • staffIduuid

    One staff member.

  • contactIduuid

    One customer.

  • qstring

    Booking number, name, phone or email.

  • limitinteger

    1–100, default 50.

  • offsetinteger

    Skip this many.

curl "https://app.flowsensy.com/api/v1/bookings" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "ref": "B-1001",
      "status": "CONFIRMED",
      "service": {
        "id": "…",
        "name": "Haircut"
      },
      "staff": {
        "id": "…",
        "name": "Anita"
      },
      "customer": {
        "name": "Priya Sharma",
        "phone": "+919811122333",
        "email": null
      },
      "startAt": "2026-11-20T04:00:00.000Z",
      "endAt": "2026-11-20T04:30:00.000Z",
      "when": "Fri, 20 Nov at 9:30 am",
      "paymentStatus": "NONE",
      "source": "PAGE"
    }
  ],
  "total": 1
}

Book an appointment

POST/v1/bookings

Books a slot (double bookings are refused with SLOT_TAKEN, 409). The customer gets the confirmation unless notify is false.

Body

  • serviceIduuidrequired

    The service.

  • startstringrequired

    Start (ISO date-time), usually one from Free slots.

  • namestringrequired

    Customer’s name.

  • phonestring

    WhatsApp number with country code.

  • emailstring

    Email (gets email copies).

  • staffIduuid

    A staff member (default: whoever is free).

  • notesstring

    Notes.

  • anyTimeboolean

    Allow times outside working hours (still never a clash).

  • notifyboolean

    Send the confirmation. Default true.

curl -X POST "https://app.flowsensy.com/api/v1/bookings" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "serviceId": "…",
  "start": "2026-11-20T04:00:00.000Z",
  "name": "Priya Sharma",
  "phone": "+919811122333"
}'
Response · 201
{
  "id": "…",
  "ref": "B-1002",
  "status": "CONFIRMED",
  "manageUrl": "https://panel.example.com/book/m/AbC123"
}

Get a booking

GET/v1/bookings/{id}

One booking by id or number (B-1001), with its history and the customer’s manage link.

Path parameters

  • idstringrequired

    Booking id or number.

curl "https://app.flowsensy.com/api/v1/bookings/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "…",
  "ref": "B-1001",
  "status": "CONFIRMED",
  "service": {
    "id": "…",
    "name": "Haircut"
  },
  "staff": {
    "id": "…",
    "name": "Anita"
  },
  "startAt": "2026-11-20T04:00:00.000Z",
  "history": [
    {
      "at": "…",
      "status": "CONFIRMED",
      "by": null,
      "note": "Booked (page)"
    }
  ],
  "manageUrl": "https://panel.example.com/book/m/AbC123"
}

Update a booking

PATCH/v1/bookings/{id}

Reschedule (start, staffId), confirm a pending one, mark attended / no-show, or cancel. The customer is told unless notify is false.

Path parameters

  • idstringrequired

    Booking id or number.

Body

  • statusstring

    New status.

    CONFIRMEDCANCELLEDCOMPLETEDNO_SHOW

  • startstring

    New start (ISO date-time).

  • staffIduuid

    Another staff member.

  • reasonstring

    Why (saved in the history).

  • notifyboolean

    Tell the customer. Default true.

curl -X PATCH "https://app.flowsensy.com/api/v1/bookings/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "start": "2026-11-21T05:30:00.000Z"
}'
Response · 200
{
  "id": "…",
  "ref": "B-1001",
  "status": "CONFIRMED",
  "startAt": "2026-11-21T05:30:00.000Z",
  "when": "Sat, 21 Nov at 11:00 am"
}

Help centre

List help articles

GET/v1/help/articles

Your help centre articles, in their order. Bodies are left out; get one article for its body.

Query parameters

  • qstring

    Search titles, summaries and text.

  • statusstring

    Only published or draft articles.

    allpublisheddraft

  • categoryIduuid

    One category’s articles.

  • limitinteger

    Up to 200 (default 100).

curl "https://app.flowsensy.com/api/v1/help/articles" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000021",
      "title": "How long does delivery take?",
      "slug": "how-long-does-delivery-take",
      "summary": "Delivery times in Pune",
      "status": "PUBLISHED",
      "categoryId": "…",
      "categoryName": "Orders & delivery",
      "sortOrder": 1,
      "views": 120,
      "helpfulYes": 14,
      "helpfulNo": 1,
      "authorName": "Asha",
      "publishedAt": "2026-11-05T05:30:00.000Z",
      "updatedAt": "2026-11-06T05:30:00.000Z",
      "createdAt": "2026-11-05T05:30:00.000Z",
      "url": "https://acme.example.com/help/Xy12Ab34/a/how-long-does-delivery-take"
    }
  ],
  "total": 1
}

Get a help article

GET/v1/help/articles/{id}

One article with its Markdown body and the HTML it shows as.

Path parameters

  • iduuidrequired

    The article.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/help/articles/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "00000000-0000-4000-8000-000000000021",
  "title": "How long does delivery take?",
  "slug": "how-long-does-delivery-take",
  "summary": "Delivery times in Pune",
  "status": "PUBLISHED",
  "categoryId": "…",
  "categoryName": "Orders & delivery",
  "sortOrder": 1,
  "views": 120,
  "helpfulYes": 14,
  "helpfulNo": 1,
  "authorName": "Asha",
  "publishedAt": "2026-11-05T05:30:00.000Z",
  "updatedAt": "2026-11-06T05:30:00.000Z",
  "createdAt": "2026-11-05T05:30:00.000Z",
  "url": "https://acme.example.com/help/Xy12Ab34/a/how-long-does-delivery-take",
  "body": "We deliver **within 2 days** in Pune.",
  "html": "<p>We deliver <strong>within 2 days</strong> in Pune.</p>"
}

Create a help article

POST/v1/help/articles

A new article (a draft unless you publish it). The web address is made from the title.

  • The body is Markdown: ## heading, **bold**, *italic*, - list, [link](https://…). HTML in the body is shown as text.
  • Published articles appear on your help pages and in the live chat widget, and your AI assistant answers from them.

Body

  • titlestringrequired

    Up to 150 characters.

  • bodystring

    Markdown, up to 60,000 characters.

  • summarystring

    One line for search results.

  • categoryIduuid

    A category from your help centre.

  • statusstring

    Default draft.

    draftpublished

  • slugstring

    Web address, e.g. delivery-times. Made from the title when left out.

curl -X POST "https://app.flowsensy.com/api/v1/help/articles" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "How long does delivery take?",
  "body": "We deliver **within 2 days** in Pune.",
  "status": "published"
}'
Response · 201
{
  "id": "00000000-0000-4000-8000-000000000021",
  "title": "How long does delivery take?",
  "slug": "how-long-does-delivery-take",
  "summary": "Delivery times in Pune",
  "status": "PUBLISHED",
  "categoryId": "…",
  "categoryName": "Orders & delivery",
  "sortOrder": 1,
  "views": 120,
  "helpfulYes": 14,
  "helpfulNo": 1,
  "authorName": "Asha",
  "publishedAt": "2026-11-05T05:30:00.000Z",
  "updatedAt": "2026-11-06T05:30:00.000Z",
  "createdAt": "2026-11-05T05:30:00.000Z",
  "url": "https://acme.example.com/help/Xy12Ab34/a/how-long-does-delivery-take"
}

Change a help article

PATCH/v1/help/articles/{id}

Change any of the fields, or publish / unpublish it with status.

Path parameters

  • iduuidrequired

    The article.

Body

  • titlestring

    New title.

  • bodystring

    New Markdown body.

  • summarystring

    New summary.

  • categoryIduuid

    Move to another category (null for none).

  • statusstring

    Publish or unpublish.

    draftpublished

Errors to handle

404 NOT_FOUND

curl -X PATCH "https://app.flowsensy.com/api/v1/help/articles/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "published"
}'
Response · 200
{
  "id": "00000000-0000-4000-8000-000000000021",
  "title": "How long does delivery take?",
  "slug": "how-long-does-delivery-take",
  "summary": "Delivery times in Pune",
  "status": "PUBLISHED",
  "categoryId": "…",
  "categoryName": "Orders & delivery",
  "sortOrder": 1,
  "views": 120,
  "helpfulYes": 14,
  "helpfulNo": 1,
  "authorName": "Asha",
  "publishedAt": "2026-11-05T05:30:00.000Z",
  "updatedAt": "2026-11-06T05:30:00.000Z",
  "createdAt": "2026-11-05T05:30:00.000Z",
  "url": "https://acme.example.com/help/Xy12Ab34/a/how-long-does-delivery-take"
}

Leads

List pipelines

GET/v1/pipelines

Your lead pipelines and their stages (in order). Stage kind is OPEN, WON or LOST.

  • Lead capture, stage automations and follow-up sequences are now flows (Flows → “New chat started”, “Lead stage changed”, and flows started from the API). Their old app settings answer 409 MOVED_TO_FLOWS.
curl "https://app.flowsensy.com/api/v1/pipelines" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "name": "Property sales",
      "isDefault": true,
      "template": "REAL_ESTATE",
      "stages": [
        {
          "id": "…",
          "name": "New enquiry",
          "kind": "OPEN",
          "probability": 10,
          "color": "sky"
        }
      ]
    }
  ]
}

List leads

GET/v1/leads

Leads, most recently active first.

Query parameters

  • pipelineIduuid

    One pipeline.

  • stageIduuid

    One stage.

  • statusstring

    Open, won or lost.

    OPENWONLOST

  • ownerstring

    A team member id, or none for unassigned.

  • sourcestring

    Where it came from.

    MANUALIMPORTAPIWHATSAPPINSTAGRAMWEBADLINKBOTFORMCAMPAIGN

  • tagstring

    Has this tag.

  • qstring

    Search name, phone, email, company or L-12.

  • fromdate

    Created on or after (YYYY-MM-DD, India time).

  • todate

    Created on or before.

  • limitinteger

    1–100, default 50.

  • offsetinteger

    Skip this many.

curl "https://app.flowsensy.com/api/v1/leads?limit=20" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000012",
      "ref": "L-42",
      "title": "Priya Sharma — 3 BHK, Baner",
      "status": "OPEN",
      "name": "Priya Sharma",
      "phone": "+919876543210",
      "email": "priya@example.com",
      "company": null,
      "city": "Pune",
      "value": "8500000.00",
      "expectedCloseOn": "2026-12-15",
      "interest": "3 BHK, Baner",
      "priority": "HIGH",
      "source": "FORM",
      "sourceInfo": {
        "utm": {
          "utm_source": "instagram"
        }
      },
      "pipeline": {
        "id": "…",
        "name": "Property sales"
      },
      "stage": {
        "id": "…",
        "name": "New enquiry",
        "kind": "OPEN"
      },
      "owner": {
        "id": "…",
        "name": "Asha"
      },
      "tags": [
        "hot"
      ],
      "fields": {
        "bhk": "3 BHK"
      },
      "score": 55,
      "lostReason": null,
      "contactId": "…",
      "conversationId": "…",
      "createdAt": "2026-11-05T05:30:00.000Z",
      "closedAt": null
    }
  ],
  "total": 1
}

One lead

GET/v1/leads/{id}

A lead with its pipeline, stage, owner, source and fields.

Path parameters

  • iduuidrequired

    The lead id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/leads/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  }
}

Create a lead

POST/v1/leads

Add a lead from your website, app or another system. Without a stage it starts in the default pipeline’s first stage; without an owner it stays unassigned (a flow can assign it).

  • Needs Lead management in your plan; the monthly lead limit applies.
  • An open lead with the same phone or email answers 409 DUPLICATE_LEAD (with the existing lead) unless allowDuplicate: true.

Body

  • namestring

    The person’s name.

  • phonestring

    Phone; 10 digits are taken as Indian (+91).

  • emailstring

    Email.

  • titlestring

    Shown on the board. Default: name and interest.

  • intereststring

    What they want.

  • valuenumber

    Deal value in rupees.

  • companystring

    Company.

  • citystring

    City.

  • pipelineIduuid

    Pipeline (from GET /v1/pipelines).

  • stageIduuid

    Stage to start in.

  • ownerIduuid

    Owner (from GET /v1/team).

  • prioritystring

    Default NORMAL.

    LOWNORMALHIGHURGENT

  • tagsstring[]

    Up to 20.

  • fieldsobject

    Your own lead fields, by key.

  • sourcestring

    Shown as the source. Default API.

    APIWHATSAPPINSTAGRAMWEBFORMIMPORTMANUAL

  • utmobject

    utm_source, utm_campaign… kept with the lead.

  • notestring

    A first note on the timeline.

  • allowDuplicateboolean

    Create even when an open lead for this person exists.

curl -X POST "https://app.flowsensy.com/api/v1/leads" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Priya Sharma",
  "phone": "9876543210",
  "interest": "3 BHK, Baner",
  "value": 8500000,
  "source": "WEB",
  "utm": {
    "utm_source": "google",
    "utm_campaign": "diwali"
  }
}'
Response · 201
{
  "data": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  }
}

Update a lead

PATCH/v1/leads/{id}

Change details, move it to another stage (won / lost too), or give it to someone. Send only what changes.

Path parameters

  • iduuidrequired

    The lead id.

Body

  • stageIduuid

    Move to this stage (fires lead.stage_changed, and lead.won / lead.lost).

  • lostReasonstring

    Why it was lost (with a lost stage).

  • ownerIduuid

    New owner, or null.

  • valuenumber

    Deal value in rupees.

  • prioritystring

    Priority.

    LOWNORMALHIGHURGENT

  • tagsstring[]

    Replaces the tags.

  • fieldsobject

    Merged into the lead’s fields ("" removes one).

curl -X PATCH "https://app.flowsensy.com/api/v1/leads/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "stageId": "00000000-0000-4000-8000-000000000015",
  "value": 9000000
}'
Response · 200
{
  "data": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  }
}

Add a note

POST/v1/leads/{id}/notes

A note on the lead’s timeline (e.g. a call summary from your dialer).

Path parameters

  • iduuidrequired

    The lead id.

Body

  • textstringrequired

    Up to 5,000 characters.

curl -X POST "https://app.flowsensy.com/api/v1/leads/{id}/notes" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Called — visiting on Sunday."
}'
Response · 201
{
  "data": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  }
}

Add a follow-up task

POST/v1/leads/{id}/tasks

A follow-up with a due time; its owner gets a reminder (and task.due fires) when it is due. GET the same path lists them; PATCH /v1/lead-tasks/{id} with { "done": true } completes one.

Path parameters

  • iduuidrequired

    The lead id.

Body

  • titlestringrequired

    What to do.

  • dueAtdatetimerequired

    ISO 8601 with offset.

  • ownerIduuid

    Default: the lead’s owner.

  • notesstring

    Details.

curl -X POST "https://app.flowsensy.com/api/v1/leads/{id}/tasks" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Send agreement",
  "dueAt": "2026-11-10T11:00:00+05:30"
}'
Response · 201
{
  "data": [
    {
      "id": "…",
      "title": "Send agreement",
      "dueAt": "2026-11-10T05:30:00.000Z",
      "ownerName": "Priya",
      "doneAt": null,
      "overdue": false
    }
  ]
}

List quotations

GET/v1/quotes

Quotations with items, GST, total, status and the customer’s link. GET /v1/quotes/{id} reads one.

Query parameters

  • leadIduuid

    One lead’s quotations.

curl "https://app.flowsensy.com/api/v1/quotes" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "ref": "Q-12",
      "status": "SENT",
      "subtotal": "8830000",
      "gst": "506500",
      "total": "9336500",
      "validUntil": "2026-11-30",
      "url": "https://panel.example.com/q/AbCd…"
    }
  ]
}

Send a quotation

POST/v1/quotes/{id}/send

Sends it to the customer and marks it sent: whatsapp (the PDF in their chat), email, or link (just marks it sent; share url yourself).

Body

  • viastringrequired

    whatsapp, email or link.

curl -X POST "https://app.flowsensy.com/api/v1/quotes/{id}/send" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "via": "whatsapp"
}'
Response · 200
{
  "data": {
    "id": "…",
    "ref": "Q-12",
    "status": "SENT",
    "url": "https://panel.example.com/q/AbCd…"
  }
}

Forms

List forms

GET/v1/forms

Your forms (the Forms app), newest first, with how many responses each has and how many are still New.

  • link is the form’s public address on your panel domain (/fm/<key>).
curl "https://app.flowsensy.com/api/v1/forms" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "key": "AbC123xyz",
      "name": "Site visit request",
      "purpose": "LEADS",
      "enabled": true,
      "closed": false,
      "submissions": 128,
      "newResponses": 4,
      "link": "/fm/AbC123xyz",
      "createdAt": "…"
    }
  ]
}

Get a form

GET/v1/forms/{id}

A form and its questions. Each question’s id is the key of its answer in responses, webhooks and POST /v1/forms/{id}/responses.

  • type is one of short_text, long_text, email, phone, number, url, dropdown, radio, checkboxes, yes_no, date, time, datetime, rating, file, address, consent, hidden — plus heading and page_break, which take no answer.

Path parameters

  • iduuidrequired

    The form id (from GET /v1/forms).

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/forms/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": {
    "id": "…",
    "key": "AbC123xyz",
    "name": "Site visit request",
    "purpose": "LEADS",
    "enabled": true,
    "closed": false,
    "submissions": 128,
    "link": "/fm/AbC123xyz",
    "fields": [
      {
        "id": "name",
        "type": "short_text",
        "label": "Your name",
        "required": true,
        "options": null
      },
      {
        "id": "city",
        "type": "dropdown",
        "label": "City",
        "required": false,
        "options": [
          "Pune",
          "Mumbai"
        ]
      }
    ]
  }
}

List responses

GET/v1/forms/{id}/responses

A form’s responses, newest first, with search and filters.

  • answers is keyed by question id: text, a list (checkboxes), { fileId, name, size, type } (files — download with the files endpoint) or { line1, city, … } (addresses).
  • source holds where it came from: page, referrer, utm_*, device, browser, via.

Path parameters

  • iduuidrequired

    The form id.

Query parameters

  • qstring

    Name, phone, email, any answer, or #12 for a number.

  • statusstring

    Only this status.

    NEWSEENDONE

  • fromdatetime

    Received at or after (ISO 8601 with offset).

  • todatetime

    Received before.

  • fieldstring

    With value: only responses whose answer to this question contains it.

  • valuestring

    See field.

  • limitinteger

    1–100, default 25.

  • offsetinteger

    Skip this many.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/forms/{id}/responses" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "formId": "…",
      "number": 12,
      "status": "NEW",
      "note": null,
      "name": "Asha Rao",
      "phone": "+919876543210",
      "email": "asha@example.com",
      "answers": {
        "name": "Asha Rao",
        "phone": "+919876543210",
        "city": "Pune",
        "services": [
          "Interior",
          "Painting"
        ]
      },
      "contactId": "…",
      "leadId": "…",
      "conversationId": "…",
      "source": {
        "page": "https://example.com/contact",
        "utm_source": "instagram",
        "device": "Mobile"
      },
      "actions": [
        {
          "kind": "lead",
          "ok": true,
          "text": "Lead L-42 created"
        }
      ],
      "editUrl": null,
      "createdAt": "…",
      "updatedAt": "…"
    }
  ],
  "total": 128
}

Get a response

GET/v1/forms/{id}/responses/{responseId}

One response, with the same fields as in the list.

Path parameters

  • iduuidrequired

    The form id.

  • responseIduuidrequired

    The response id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/forms/{id}/responses/{responseId}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": {
    "id": "…",
    "number": 12,
    "status": "SEEN",
    "answers": {
      "name": "Asha Rao",
      "city": "Pune"
    }
  }
}

Download an attached file

GET/v1/forms/{id}/responses/{responseId}/files/{field}

The file a person attached to a file question.

Answers with a file

Path parameters

  • iduuidrequired

    The form id.

  • responseIduuidrequired

    The response id.

  • fieldstringrequired

    The file question’s id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/forms/{id}/responses/{responseId}/files/{field}" \
  -H "Authorization: Bearer $API_KEY"

200 · The file itself, with its content type.

Submit a response

POST/v1/forms/{id}/responses

Adds a response as if someone filled in the form: the same checks (required, formats, choices, conditions) and the same after-submit actions (contact, lead, WhatsApp, team alert, flow, webhooks).

Sends a real message · charged
  • Answers are keyed by question id. Phone numbers need the country code. A closed form answers FORM_CLOSED; “one response per person” answers ALREADY_RESPONDED.
  • File questions can’t be answered through the API.
  • The form’s WhatsApp template (if any) is charged like any template message.

Path parameters

  • iduuidrequired

    The form id.

Body

  • answersobjectrequired

    Question id → answer: text, a list for checkboxes, yes/no, { line1, city, … } for an address.

  • sourceobject

    Optional: where it came from, e.g. { "utm_source": "crm" }.

curl -X POST "https://app.flowsensy.com/api/v1/forms/{id}/responses" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "answers": {
    "name": "Asha Rao",
    "phone": "+919876543210",
    "city": "Pune"
  },
  "source": {
    "utm_source": "crm"
  }
}'
Response · 200
{
  "data": {
    "ok": true,
    "number": 13,
    "thanks": {
      "title": "Thank you!",
      "text": "We’ve got your response."
    },
    "redirectUrl": null,
    "editUrl": null
  }
}

Update a response

PUT/v1/forms/{id}/responses/{responseId}

Changes a response’s status or team note. A status change sends form.response.updated and can start flows with the trigger “Form response status changed”.

Path parameters

  • iduuidrequired

    The form id.

  • responseIduuidrequired

    The response id.

Body

  • statusstring

    The new status.

    NEWSEENDONE

  • notestring

    The team note (null clears it).

curl -X PUT "https://app.flowsensy.com/api/v1/forms/{id}/responses/{responseId}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "DONE",
  "note": "Called back on Monday"
}'
Response · 200
{
  "data": {
    "id": "…",
    "number": 12,
    "status": "DONE",
    "note": "Called back on Monday"
  }
}

Delete a response

DELETE/v1/forms/{id}/responses/{responseId}

Deletes a response and its attached files for good. Sends form.response.deleted.

Path parameters

  • iduuidrequired

    The form id.

  • responseIduuidrequired

    The response id.

Errors to handle

404 NOT_FOUND

curl -X DELETE "https://app.flowsensy.com/api/v1/forms/{id}/responses/{responseId}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "ok": true
}

Export responses (CSV)

GET/v1/forms/{id}/responses.csv

All responses matching the same filters as the list, as a CSV file (UTF-8 with BOM, so it opens in Excel).

Answers with a file

Path parameters

  • iduuidrequired

    The form id.

Query parameters

  • qstring

    Search, as in the list.

  • statusstring

    Only this status.

    NEWSEENDONE

  • fromdatetime

    Received at or after.

  • todatetime

    Received before.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/forms/{id}/responses.csv" \
  -H "Authorization: Bearer $API_KEY"

200 · A CSV file: number, received, status, then one column per question.

Webinars

List webinars

GET/v1/webinars

Your webinars with their registration page, the open link (joinUrl, join without registering; null when off), next session and counts (Webinars app). durationSeconds is the webinar length after any trim; trim is where it starts and ends inside the video (endSeconds null = the video’s end).

curl "https://app.flowsensy.com/api/v1/webinars" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000040",
      "name": "Grow your coaching business",
      "slug": "grow-your-coaching-business-4f2a1c",
      "status": "ACTIVE",
      "registerUrl": "https://acme.example.com/wb/grow-your-coaching-business-4f2a1c",
      "joinUrl": "https://acme.example.com/wb/grow-your-coaching-business-4f2a1c/join",
      "registrationPage": true,
      "videoReady": true,
      "durationSeconds": 3540,
      "trim": {
        "startSeconds": 47,
        "endSeconds": 3587
      },
      "registrations": 128,
      "attended": 61,
      "nextSession": "2026-11-20T13:30:00.000Z"
    }
  ]
}

List upcoming sessions

GET/v1/webinars/{id}/sessions

The next sessions of a webinar (two weeks ahead), with registrations so far.

  • Just-in-time webinars list only sessions someone has registered for (a slot becomes a session on its first registration).

Path parameters

  • iduuidrequired

    The webinar.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/webinars/{id}/sessions" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000041",
      "startsAt": "2026-11-20T13:30:00.000Z",
      "endsAt": "2026-11-20T14:29:00.000Z",
      "status": "SCHEDULED",
      "when": "Fri, 20 Nov at 7:00 pm",
      "live": false,
      "jit": false,
      "registered": 34,
      "joined": 0,
      "attended": 0,
      "avgMinutes": 0,
      "offerShown": 0,
      "offerClicked": 0,
      "stayedToOffer": 0,
      "purchased": 0,
      "revenue": "0.00"
    }
  ]
}

List registrants

GET/v1/webinars/{id}/registrants

People registered for a webinar (newest first, up to 200) with attendance, offer clicks, purchases and replay watching.

Path parameters

  • iduuidrequired

    The webinar.

Query parameters

  • sessionIduuid

    Only one session’s registrants.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/webinars/{id}/registrants" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000042",
      "sessionId": "00000000-0000-4000-8000-000000000041",
      "contactId": "00000000-0000-4000-8000-000000000005",
      "name": "Priya Sharma",
      "phone": "+919876543210",
      "email": "priya@example.com",
      "source": "INSTAGRAM",
      "utm": {
        "utm_source": "ig"
      },
      "roomUrl": "https://acme.example.com/wbr/AbCdEf1234567890AbCdEf12",
      "joinedAt": "2026-11-20T13:31:10.000Z",
      "minutesWatched": 52,
      "furthestMinute": 58,
      "offerShown": true,
      "offerClicked": true,
      "attended": true,
      "purchased": true,
      "purchase": {
        "at": "2026-11-20T14:20:00.000Z",
        "amount": "4999.00",
        "currency": "INR",
        "minute": 48
      },
      "replayUrl": "https://acme.example.com/wbr/AbCdEf1234567890AbCdEf12/replay",
      "replayMinutes": 0,
      "createdAt": "2026-11-19T10:00:00.000Z"
    }
  ]
}

Register someone for a webinar

POST/v1/webinars/{id}/registrants

Gives a person a seat in the next session (or the session you name). They become a contact on your WhatsApp number, get the confirmation reminder, and start any “Registered for a webinar” flows.

  • Registering the same number for the same session again returns the same seat (created: false).
  • roomUrl is their personal room link — send it to them. replayUrl opens after the session when the webinar’s replay is on.

Path parameters

  • iduuidrequired

    The webinar (must be running).

Body

  • namestringrequired

    Up to 120 characters.

  • phonestringrequired

    WhatsApp number with the country code, e.g. +919876543210.

  • emailstring

    Optional.

  • sessionIdstring

    A session from List upcoming sessions, or a just-in-time slot (jit-<epoch ms>, as the registration page offers). Default: the next one.

  • sourcestring

    Where they came from, e.g. ADS (default API).

  • utmobject

    utm_source, utm_medium, utm_campaign, utm_term, utm_content.

curl -X POST "https://app.flowsensy.com/api/v1/webinars/{id}/registrants" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Priya Sharma",
  "phone": "+919876543210",
  "email": "priya@example.com"
}'
Response · 201
{
  "id": "00000000-0000-4000-8000-000000000042",
  "created": true,
  "sessionId": "00000000-0000-4000-8000-000000000041",
  "startsAt": "2026-11-20T13:30:00.000Z",
  "when": "Fri, 20 Nov at 7:00 pm",
  "roomUrl": "https://acme.example.com/wbr/AbCdEf1234567890AbCdEf12",
  "replayUrl": "https://acme.example.com/wbr/AbCdEf1234567890AbCdEf12/replay",
  "contactId": "00000000-0000-4000-8000-000000000005"
}

Contacts

Create or update a contact

PUT/v1/contacts

By phone number. Fields you leave out are kept. Answers 201 when created, 200 when updated.

  • Plan contact limits apply to new contacts.

Body

  • phonestringrequired

    With country code.

  • defaultCountryCodestring

    Used when phone has no country code. Default 91.

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • namestring | null

    Up to 120 characters.

  • emailstring | null

    Email address.

  • tagsstring[]

    Replaces all tags.

  • addTagsstring[]

    Added to the existing tags.

  • removeTagsstring[]

    Taken off.

  • attributesobject

    Custom fields, merged in; null removes one. Up to 30.

  • optedOutboolean

    Opt the contact out of (or back in to) marketing.

curl -X PUT "https://app.flowsensy.com/api/v1/contacts" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "+919876543210",
  "name": "Asha Rao",
  "email": "asha@example.com",
  "addTags": [
    "customer",
    "diwali-2026"
  ],
  "attributes": {
    "city": "Pune",
    "plan": "gold"
  }
}'
Response · 201
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
  "phone": "+919876543210",
  "name": "Asha Rao",
  "email": "asha@example.com",
  "tags": [
    "customer",
    "diwali-2026"
  ],
  "attributes": {
    "city": "Pune",
    "plan": "gold"
  },
  "optedOut": false,
  "optedOutAt": null,
  "blocked": false,
  "blockedAt": null,
  "blockedOnWhatsapp": false,
  "source": "API",
  "lastInboundAt": "2026-10-19T10:20:09.000Z",
  "createdAt": "2026-10-01T08:00:00.000Z",
  "updatedAt": "2026-10-19T10:20:09.000Z",
  "created": true
}

One contact

GET/v1/contacts/{phone}

A contact by phone number. Encode + as %2B, or leave it out.

Path parameters

  • phonestringrequired

    e.g. 919876543210.

Query parameters

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/contacts/{phone}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
  "phone": "+919876543210",
  "name": "Asha Rao",
  "email": "asha@example.com",
  "tags": [
    "customer",
    "diwali-2026"
  ],
  "attributes": {
    "city": "Pune",
    "plan": "gold"
  },
  "optedOut": false,
  "optedOutAt": null,
  "blocked": false,
  "blockedAt": null,
  "blockedOnWhatsapp": false,
  "source": "API",
  "lastInboundAt": "2026-10-19T10:20:09.000Z",
  "createdAt": "2026-10-01T08:00:00.000Z",
  "updatedAt": "2026-10-19T10:20:09.000Z"
}

Block a contact

POST/v1/contacts/{phone}/block

Stops everything to and from this contact: sends of any kind are refused with CONTACT_BLOCKED, campaigns leave them out, chatbots stop, and their new messages stay out of the inbox (no message.received webhook).

  • WhatsApp itself only lets a business block someone within 24 hours of their last message. Then onWhatsapp is true and they can’t message or call your number. Otherwise they are blocked in the panel at once (onWhatsapp: false, with a note) and on WhatsApp automatically the next time they write.
  • Calling it again for a blocked contact changes nothing.

Path parameters

  • phonestringrequired

    e.g. 919876543210.

Query parameters

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

Errors to handle

404 NOT_FOUND

curl -X POST "https://app.flowsensy.com/api/v1/contacts/{phone}/block" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
    "phone": "+919876543210",
    "name": "Asha Rao",
    "email": "asha@example.com",
    "tags": [
      "customer",
      "diwali-2026"
    ],
    "attributes": {
      "city": "Pune",
      "plan": "gold"
    },
    "optedOut": false,
    "optedOutAt": null,
    "blocked": true,
    "blockedAt": "2026-11-02T16:00:00.000Z",
    "blockedOnWhatsapp": true,
    "source": "API",
    "lastInboundAt": "2026-10-19T10:20:09.000Z",
    "createdAt": "2026-10-01T08:00:00.000Z",
    "updatedAt": "2026-10-19T10:20:09.000Z"
  },
  "onWhatsapp": true,
  "note": null
}

Unblock a contact

POST/v1/contacts/{phone}/unblock

Undoes a block, on WhatsApp too. note explains if WhatsApp didn’t confirm the unblock.

Path parameters

  • phonestringrequired

    e.g. 919876543210.

Query parameters

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

Errors to handle

404 NOT_FOUND

curl -X POST "https://app.flowsensy.com/api/v1/contacts/{phone}/unblock" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "contact": {
    "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
    "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
    "phone": "+919876543210",
    "name": "Asha Rao",
    "email": "asha@example.com",
    "tags": [
      "customer",
      "diwali-2026"
    ],
    "attributes": {
      "city": "Pune",
      "plan": "gold"
    },
    "optedOut": false,
    "optedOutAt": null,
    "blocked": false,
    "blockedAt": null,
    "blockedOnWhatsapp": false,
    "source": "API",
    "lastInboundAt": "2026-10-19T10:20:09.000Z",
    "createdAt": "2026-10-01T08:00:00.000Z",
    "updatedAt": "2026-10-19T10:20:09.000Z"
  },
  "note": null
}

List contacts

GET/v1/contacts

Your contacts, newest first, with the total that match.

Query parameters

  • qstring

    Name, email or number.

  • tagstring

    Only contacts with this tag.

  • optedOutstring

    Only opted-out (true) or subscribed (false) contacts.

    truefalse

  • blockedstring

    Only blocked (true) or not blocked (false) contacts.

    truefalse

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • limitinteger

    1–200, default 50.

  • cursorstring

    nextCursor from the previous page.

curl "https://app.flowsensy.com/api/v1/contacts?tag=vip&limit=50" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "accountId": "6f1c2d3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e",
      "phone": "+919876543210",
      "name": "Asha Rao",
      "email": "asha@example.com",
      "tags": [
        "customer",
        "diwali-2026"
      ],
      "attributes": {
        "city": "Pune",
        "plan": "gold"
      },
      "optedOut": false,
      "optedOutAt": null,
      "blocked": false,
      "blockedAt": null,
      "blockedOnWhatsapp": false,
      "source": "API",
      "lastInboundAt": "2026-10-19T10:20:09.000Z",
      "createdAt": "2026-10-01T08:00:00.000Z",
      "updatedAt": "2026-10-19T10:20:09.000Z"
    }
  ],
  "total": 1,
  "nextCursor": null
}

Campaigns

List campaigns

GET/v1/campaigns

Your campaigns with live counts. Create and launch campaigns in the panel.

Query parameters

  • limitinteger

    1–200, default 50.

curl "https://app.flowsensy.com/api/v1/campaigns" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "name": "Diwali VIPs",
      "status": "COMPLETED",
      "accountId": "6f1c…",
      "accountName": "Kumar Stores",
      "templateName": "diwali_offer",
      "scheduledAt": null,
      "startedAt": "…",
      "completedAt": "…",
      "createdAt": "…",
      "counts": {
        "total": 1200,
        "pending": 0,
        "accepted": 1188,
        "sent": 1170,
        "delivered": 1150,
        "read": 802,
        "failed": 12,
        "skipped": 0,
        "replied": 64
      }
    }
  ]
}

One campaign

GET/v1/campaigns/{id}

A campaign and its counts.

Path parameters

  • iduuidrequired

    The campaign id.

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/campaigns/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "id": "…",
  "name": "Diwali VIPs",
  "status": "SENDING",
  "counts": {
    "total": 1200,
    "accepted": 640,
    "delivered": 600,
    "read": 310,
    "failed": 4,
    "skipped": 0,
    "replied": 21
  }
}

Flows

List flows

GET/v1/flows

Your published flows (chatbots and automations). GET /v1/bots still works and returns the same.

  • trigger is the business event that starts it (e.g. lead.won, order.shipped, subscription.payment_failed), schedule for a timetable, date for before / after a date, api for flows started only from the API or another flow, or null for chat flows (keywords, first message…).
  • channel is ANY for flows that don’t start from a chat: they message each customer on the channel they use (WhatsApp first).
curl "https://app.flowsensy.com/api/v1/flows" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "name": "Welcome new leads",
      "channel": "ANY",
      "accountId": null,
      "enabled": true,
      "trigger": "lead.created"
    }
  ]
}

Get a flow

GET/v1/flows/{id}

A flow’s trigger, whether it’s live and its published version.

  • trigger.type is an event (with filter, e.g. { "status": "SHIPPED" }), schedule (repeat, days, monthDay, time, audience, perMinute), date (source, field, amount, unit, dir, time), api or chat.
  • pausedReason is set when the flow was switched off automatically — e.g. WhatsApp rejected or paused a template it sends. Publishing again or switching it on clears it.

Path parameters

  • iduuidrequired

    The flow id (from GET /v1/flows).

Errors to handle

404 NOT_FOUND

curl "https://app.flowsensy.com/api/v1/flows/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": {
    "id": "…",
    "name": "Booking reminder",
    "channel": "ANY",
    "accountId": null,
    "enabled": true,
    "published": true,
    "version": 3,
    "pausedReason": null,
    "trigger": {
      "type": "date",
      "source": "booking.start",
      "field": "",
      "amount": 1,
      "unit": "days",
      "dir": "before",
      "time": "10:00"
    },
    "steps": 2,
    "updatedAt": "…"
  }
}

Start a flow for a customer

POST/v1/flows/{id}/start

Any flow already running in their chat stops. With phone, a new number becomes a contact with a WhatsApp chat (nothing is sent until the flow sends). POST /v1/bots/{id}/start still works.

Sends a real message · charged
  • A new number hasn’t written to you, so the flow should begin with a Template step (or give its first message a fallback template).
  • Numbers without + use the country of the WhatsApp number it goes from. name, email and tags fill gaps on the contact; they never overwrite.
  • If the customer last wrote more than 24 hours ago, only a flow that begins with a Template step can start (WINDOW_CLOSED otherwise).
  • values can be used in the flow’s messages as {{order_no}}.
  • Flows whose trigger is “Only from the API or another flow” are made for this.
  • WhatsApp follow-up sequences are now flows like this (“… (moved from Follow-up sequences)”): start one for a lead’s customer here, with their phone or contactId.
  • A step with a fallback template sends that template instead when the 24-hour window is closed; with “If this fails” on, a message that can’t be sent follows that arrow instead of failing the run.

Path parameters

  • iduuidrequired

    The flow id (from GET /v1/flows).

Body

  • contactIduuid

    The contact (their chat on the flow’s channel). Give this, phone or conversationId.

  • phonestring

    Or a phone number — new or known. New numbers get a contact and a WhatsApp chat.

  • conversationIduuid

    Or the chat.

  • accountIduuid

    Which WhatsApp account sends it. Needed only if you have more than one (see GET /v1/account).

  • namestring

    With phone: the contact’s name (if it has none yet).

  • emailstring

    With phone: the contact’s email (if it has none yet).

  • tagsstring[]

    With phone: up to 10 tags to add.

  • valuesobject

    Up to 30 values for the flow; names use lowercase letters, numbers and _.

curl -X POST "https://app.flowsensy.com/api/v1/flows/{id}/start" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "+919876543210",
  "name": "Priya",
  "tags": [
    "website"
  ],
  "values": {
    "order_no": "10023"
  }
}'
Response · 200
{
  "conversationId": "9c2e…",
  "sessionId": "…",
  "status": "ACTIVE"
}

Start a flow from its incoming webhook

POST/public/flows/hook/{token}

Each flow has its own secret address (the flow’s trigger panel → Incoming webhook). No API key: the secret is in the address. Made for n8n, Pabbly and website forms.

Sends a real message · charged
  • phone is required (mobile or whatsapp work too). A new number becomes a contact with a WhatsApp chat.
  • Every other key becomes a value in the flow: {"order_id": "A-1042"} → {{order_id}}. Nested objects are flattened one level ({"customer": {"city": "Pune"}} → {{customer_city}}).
  • The flow must be published and on (FLOW_OFF otherwise). Up to 120 calls a minute. Each call shows in the flow’s Runs.
  • “Make a new address” in the builder stops the old one at once.

Path parameters

  • tokenstring

    The secret part of the flow’s webhook address.

Body

  • phonestring

    The number to run the flow for (with country code, or national for your WhatsApp number’s country).

  • namestring

    Optional: the contact’s name.

  • emailstring

    Optional: the contact’s email.

  • tagsstring[] or string

    Optional: tags to add (an array, or comma-separated).

  • …any

    Anything else becomes a value for the flow.

curl -X POST "https://app.flowsensy.com/api/v1/public/flows/hook/{token}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "+919876543210",
  "name": "Priya",
  "email": "priya@example.com",
  "tags": [
    "website"
  ],
  "order_id": "A-1042",
  "city": "Pune"
}'
Response · 200
{
  "ok": true,
  "started": true,
  "phone": "+919876543210",
  "contactCreated": true
}

Links & QR

Instagram

List Instagram accounts

GET/v1/instagram/accounts

Your connected Instagram professional accounts, with followers, posts and the last 7 / 30 days’ reach.

curl "https://app.flowsensy.com/api/v1/instagram/accounts" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "a3f1…",
      "igUserId": "17841400000000000",
      "username": "kumarstores",
      "name": "Kumar Stores",
      "accountType": "BUSINESS",
      "followers": 12840,
      "follows": 210,
      "mediaCount": 342,
      "status": "active",
      "inbox": true,
      "paused": false,
      "insights": {
        "last7": {
          "reach": 5400,
          "profile_views": 380,
          "accounts_engaged": 610
        }
      },
      "connectedAt": "…"
    }
  ]
}

Send an Instagram message

POST/v1/instagram/messages

A reply in an Instagram chat: text, a photo or video, up to 3 buttons, up to 13 quick replies, or a carousel of cards.

Sends a real message · charged
  • Instagram only allows messages within 24 hours of the person’s last message, and only to people who wrote first: otherwise WINDOW_CLOSED or NOT_FOUND.
  • Give conversationId, or to: their @username or their Instagram id (instagram.id in message.received). With several Instagram accounts, set accountId.
  • A tapped button or quick reply comes back as message.received with your payload.

Body

  • accountIduuid

    The Instagram account (needed when you have several).

  • conversationIduuid

    The chat to reply in (instead of to).

  • tostring

    @username or Instagram id of someone who messaged you.

  • message.typestringrequired

    What to send.

    textmediabuttonsquick_repliescards

  • message.textstring

    text / buttons / quick_replies / cards: the text (up to 1,000 characters; 640 with buttons).

  • message.fileId | message.urlstring

    media: a file from POST /v1/media, or a public https link. Optional caption.

  • message.buttons[]object[]

    buttons: up to 3 of { title, url } (opens a link) or { title, payload } (comes back to you).

  • message.replies[]object[]

    quick_replies: up to 13 { title, payload }. Titles up to 20 characters.

  • message.cards[]object[]

    cards: up to 10 { title, subtitle?, fileId?, url, button? }.

curl -X POST "https://app.flowsensy.com/api/v1/instagram/messages" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "@priya.sharma",
  "message": {
    "type": "buttons",
    "text": "Here’s our Diwali collection 🪔",
    "buttons": [
      {
        "title": "Shop now",
        "url": "https://kumar.example/diwali"
      },
      {
        "title": "Talk to us",
        "payload": "TALK"
      }
    ]
  }
}'
Response · 201
{
  "id": "0b7d…",
  "conversationId": "9c2e…",
  "channel": "instagram",
  "direction": "outbound",
  "to": "17841400000000001",
  "type": "interactive",
  "status": "sent",
  "source": "api",
  "createdAt": "…",
  "sentAt": "…"
}

List comment-to-DM rules

GET/v1/instagram/comment-rules

Your comment-to-DM rules with their numbers: comments, DMs sent, people who wrote back, unlocks and new followers.

Query parameters

  • accountIduuid

    Only this Instagram account’s rules.

curl "https://app.flowsensy.com/api/v1/instagram/comment-rules" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "accountId": "…",
      "name": "Diwali reel – price",
      "mediaId": "1790…",
      "keywords": [
        "price"
      ],
      "matchType": "CONTAINS",
      "requireFollow": true,
      "followUps": 2,
      "enabled": true,
      "stats": {
        "comments": 120,
        "dms": 118,
        "replied": 64,
        "unlocked": 51,
        "newFollowers": 37
      },
      "createdAt": "…"
    }
  ]
}

Switch a comment rule on or off

POST/v1/instagram/comment-rules/{id}/enabled

For example, switch a giveaway rule off when the giveaway ends.

Path parameters

  • iduuidrequired

    The rule.

Body

  • enabledbooleanrequired

    On or off.

curl -X POST "https://app.flowsensy.com/api/v1/instagram/comment-rules/{id}/enabled" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": false
}'
Response · 200
{
  "id": "…",
  "name": "Diwali reel – price",
  "enabled": false,
  "stats": {
    "comments": 120
  }
}

Webhooks

Events you can subscribe to

GET/v1/webhooks/events

The list of event types with a short description of each.

curl "https://app.flowsensy.com/api/v1/webhooks/events" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "event": "message.received",
      "description": "A customer sent a message"
    }
  ]
}

List integration webhooks

GET/v1/webhooks

Webhooks added by API (ones added in the panel are managed there).

curl "https://app.flowsensy.com/api/v1/webhooks" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "data": [
    {
      "id": "…",
      "url": "https://n8n.example.com/webhook/7c1e…",
      "description": "Added by an integration",
      "events": [
        "message.received"
      ],
      "enabled": true,
      "disabledReason": null,
      "createdAt": "…"
    }
  ]
}

Subscribe to events

POST/v1/webhooks

Adds a webhook. The answer includes its signing secret, shown only this once.

  • They show in the panel marked Integration and are removed when the key is revoked. Up to 50 per account.

Body

  • urlstringrequired

    Your https address that receives the events.

  • eventsstring[]required

    One or more event types.

    message.receivedmessage.statusconversation.assignedconversation.statuscontact.opted_outcontact.opted_incampaign.completedbot.startedbot.endedflow.run.completedflow.run.failedinstagram.commentticket.createdticket.updatedticket.repliedticket.solvedticket.ratedchat.startedchat.closedchat.ratedchat.replycall.startedcall.endedcall.missedcall.transferredai_call.startedai_call.endedai_call.handed_overlead.createdlead.stage_changedlead.assignedlead.wonlead.losttask.duequote.sentquote.acceptedcustomer_subscription.createdcustomer_subscription.renewedcustomer_subscription.pausedcustomer_subscription.cancelledcustomer_subscription.expiredcustomer_subscription.payment_failedinvoice.paidstore_order.createdstore_order.status_changedstore_order.paidstore_order.cancelledbooking.createdbooking.rescheduledbooking.cancelledbooking.completedbooking.no_showform.submittedform.response.updatedform.response.deletedapp.activatedapp.deactivated

  • descriptionstring

    Shown in the panel.

Errors to handle

422 VALIDATION_FAILED

curl -X POST "https://app.flowsensy.com/api/v1/webhooks" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://n8n.example.com/webhook/7c1e",
  "events": [
    "message.received",
    "contact.opted_out"
  ]
}'
Response · 201
{
  "id": "…",
  "url": "https://n8n.example.com/webhook/7c1e",
  "events": [
    "message.received",
    "contact.opted_out"
  ],
  "enabled": true,
  "secret": "whsec_…"
}

Unsubscribe

DELETE/v1/webhooks/{id}

Stop sending events to a webhook added by API.

Path parameters

  • iduuidrequired

    The webhook id.

Errors to handle

404 NOT_FOUND

curl -X DELETE "https://app.flowsensy.com/api/v1/webhooks/{id}" \
  -H "Authorization: Bearer $API_KEY"
Response · 200
{
  "ok": true
}

Send a test event

POST/v1/webhooks/{id}/test

Sends one event to a webhook right now, marked "test": true with an id starting evt_test_, and answers with what your server replied and exactly what we sent (headers, signature and body). Never retried.

  • Leave out data and it is filled for you with exactly the fields of a real event: from your last real event of that type, else your latest matching data, else example values.
  • Or send your own data (the event’s data object). Leave out event for a simple ping.
  • The webhook must be subscribed to the event. Works for webhooks added in the panel or by API.

Path parameters

  • iduuidrequired

    The webhook.

Body

  • eventstring

    The event to send, e.g. message.received. Leave out for a ping.

  • dataobject

    Optional: the event’s data, with the same fields as a real one.

curl -X POST "https://app.flowsensy.com/api/v1/webhooks/{id}/test" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "event": "message.received"
}'
Response · 200
{
  "ok": true,
  "statusCode": 200,
  "error": null,
  "response": "ok",
  "durationMs": 182,
  "deliveryId": "…",
  "request": {
    "url": "https://example.com/hooks",
    "headers": {
      "X-Webhook-Event": "message.received",
      "X-Webhook-Signature": "t=1762240000,v1=…"
    },
    "body": {
      "id": "evt_test_…",
      "type": "message.received",
      "test": true,
      "data": {}
    }
  }
}

Receiving events

Webhooks

Add your server’s https address in Developers → Webhooks (or by API) and choose events. We POST JSON like the examples below and expect any 2xx within 10 seconds.

  • Failed deliveries are retried with growing gaps for about 24 hours; you can resend from the panel. After 3 days of failures the webhook is turned off and you’re emailed.
  • Events can arrive more than once or out of order: use id to skip duplicates and timestamps to order them.
  • Answer quickly and do slow work afterwards (a queue), so deliveries don’t time out.
  • To try your code, use Send test on a webhook in Developers (or by API): it sends any event with every real field, filled from your own data, marked "test": true.

message.received

A customer sent a message.

Other types: image, video, audio (voice notes have media.voice: true), document, sticker → a media object with url, mimeType, caption; button and interactive → text / reply; location; reaction. newConversation: true marks a customer’s very first message. channel is whatsapp or instagram: Instagram messages have from: null and instagram: { id, username } instead, payload for a tapped button or quick reply, and types such as story_mention, share and ig_reel.

message.received
{
  "id": "evt_4f8c…",
  "type": "message.received",
  "createdAt": "2026-10-19T10:20:11.000Z",
  "data": {
    "messageId": "5a1f…",
    "wamid": "wamid.HBgM…",
    "accountId": "6f1c…",
    "conversationId": "9c2e…",
    "from": "+919876543210",
    "contactName": "Asha Rao",
    "type": "text",
    "text": "Is my order shipped?",
    "newConversation": false,
    "receivedAt": "2026-10-19T10:20:09.000Z"
  }
}

message.status

A message you sent was sent, delivered, read or failed.

status is sent, delivered, read or failed (with error.code / error.message).

message.status
{
  "id": "evt_91aa…",
  "type": "message.status",
  "createdAt": "…",
  "data": {
    "messageId": "0b7d2c1e-…",
    "wamid": "wamid.HBgM…",
    "to": "+919876543210",
    "status": "delivered",
    "timestamp": "2026-10-19T10:15:04.000Z",
    "category": "utility",
    "billable": true,
    "source": "api",
    "campaignId": null
  }
}

conversation.assigned

A chat was assigned to someone or unassigned.

by is a person, { "api": true } for integrations, or { "customer": true }. A person taking an unassigned chat (“joined”) or a teammate’s chat (“took over”) has by.userId equal to assignedUserId.

conversation.assigned
{
  "type": "conversation.assigned",
  "data": {
    "conversationId": "…",
    "accountId": "…",
    "contactId": "…",
    "phone": "+919876543210",
    "contactName": "Asha Rao",
    "assignedUserId": "7e6d…",
    "assigneeName": "Priya",
    "previousAssignedUserId": null,
    "by": {
      "userId": "…",
      "name": "Rahul"
    }
  }
}

conversation.status

A chat was opened, set to pending or resolved.

by is { "customer": true } when a customer’s message reopened the chat, and { "auto": true, "reason": "inactive", "minutes": 1440 } when the chat was resolved automatically after that many minutes without messages (Settings → Automation → Auto-resolve inactive chats).

conversation.status
{
  "type": "conversation.status",
  "data": {
    "conversationId": "…",
    "accountId": "…",
    "contactId": "…",
    "phone": "+919876543210",
    "contactName": "Asha Rao",
    "status": "RESOLVED",
    "previousStatus": "OPEN",
    "by": {
      "userId": "…",
      "name": "Priya"
    }
  }
}

contact.opted_out

A contact opted out of marketing messages.

via is keyword (the customer replied STOP), panel or api. Sent only when the choice actually changes.

contact.opted_out
{
  "type": "contact.opted_out",
  "data": {
    "contactId": "…",
    "accountId": "…",
    "phone": "+919876543210",
    "name": "Asha Rao",
    "optedOut": true,
    "via": "keyword"
  }
}

contact.opted_in

A contact opted back in to marketing messages.

contact.opted_in
{
  "type": "contact.opted_in",
  "data": {
    "contactId": "…",
    "accountId": "…",
    "phone": "+919876543210",
    "name": "Asha Rao",
    "optedOut": false,
    "via": "keyword"
  }
}

campaign.completed

A campaign finished sending.

campaign.completed
{
  "type": "campaign.completed",
  "data": {
    "campaignId": "…",
    "name": "Diwali VIPs",
    "status": "COMPLETED",
    "counts": {
      "total": 1200,
      "accepted": 1188,
      "delivered": 1150,
      "read": 802,
      "failed": 12,
      "skipped": 0,
      "replied": 64
    }
  }
}

bot.started

A chatbot started talking with a customer.

startedBy is trigger or manual (inbox or API).

bot.started
{
  "type": "bot.started",
  "data": {
    "sessionId": "…",
    "bot": {
      "id": "…",
      "name": "Main menu"
    },
    "conversationId": "…",
    "accountId": "…",
    "contact": {
      "id": "…",
      "name": "Asha Rao",
      "phone": "+919876543210"
    },
    "startedBy": "trigger",
    "outcome": null,
    "values": {},
    "startedAt": "…",
    "endedAt": null
  }
}

instagram.comment

Someone commented on one of your Instagram posts or reels.

Every comment, whether or not a comment-to-DM rule answers it. parentId is set for replies inside a thread.

instagram.comment
{
  "type": "instagram.comment",
  "data": {
    "accountId": "a3f1…",
    "commentId": "17900000000000000",
    "mediaId": "17890000000000000",
    "parentId": null,
    "text": "Price please 😍",
    "from": {
      "id": "17841400000000001",
      "username": "priya.sharma"
    }
  }
}

ticket.created

A ticket was created (by hand, from a chat, or from the website’s “leave a message” form).

source is MANUAL, WHATSAPP, INSTAGRAM, WEB, FORM or API.

ticket.created
{
  "type": "ticket.created",
  "data": {
    "ticketId": "…",
    "number": 42,
    "subject": "Order not delivered",
    "status": "OPEN",
    "priority": "HIGH",
    "source": "WEB",
    "contactId": "…",
    "conversationId": "…",
    "requester": {
      "name": "Asha Rao",
      "email": "asha@example.com",
      "phone": "+919876543210"
    },
    "assignedUserId": null,
    "tags": [],
    "rating": null,
    "firstResponseDueAt": "…",
    "resolveDueAt": "…",
    "createdAt": "…"
  }
}

chat.reply

Your team, a chatbot or the AI assistant replied in a website or app chat.

Use it to send your app user a push notification. externalId is your own user id (when the app opened the chat for a signed-in user). online is false when the user doesn’t have the chat open.

chat.reply
{
  "type": "chat.reply",
  "data": {
    "messageId": "…",
    "conversationId": "…",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "visitorEmail": "asha@example.com",
    "online": false,
    "type": "text",
    "text": "Your order ships today 🙂",
    "author": "Priya",
    "source": "PANEL",
    "sentAt": "…"
  }
}

ticket.replied

A reply on a ticket — by your team to the customer, or by the customer (status page or the linked chat).

reply.by is team or customer; author is null for replies made through the API.

ticket.replied
{
  "type": "ticket.replied",
  "data": {
    "ticketId": "…",
    "number": 42,
    "subject": "Order not delivered",
    "status": "WAITING",
    "reply": {
      "by": "team",
      "author": "Priya",
      "text": "Your replacement ships today.",
      "inChat": false,
      "at": "…"
    }
  }
}

ticket.solved

A ticket was marked solved.

ticket.solved
{
  "type": "ticket.solved",
  "data": {
    "ticketId": "…",
    "number": 42,
    "subject": "Order not delivered",
    "status": "SOLVED",
    "solvedAt": "…"
  }
}

lead.created

A lead was created (by hand, a chat, a form, a chatbot, an import or the API).

lead.created
{
  "lead": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  }
}

lead.stage_changed

A lead moved to another stage. `lead.won` and `lead.lost` also fire when it closes.

lead.stage_changed
{
  "lead": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  },
  "from": {
    "id": "…",
    "name": "New enquiry"
  }
}

lead.assigned

A lead was given to someone (by hand, a flow or an automation).

lead.assigned
{
  "lead": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  },
  "previousOwnerId": null
}

lead.won

A lead was won.

lead.won
{
  "lead": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "WON",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  },
  "from": {
    "id": "…",
    "name": "Negotiation"
  }
}

lead.lost

A lead was lost, with the reason.

lead.lost
{
  "lead": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "LOST",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": "Budget mismatch",
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  },
  "from": {
    "id": "…",
    "name": "Negotiation"
  }
}

task.due

A follow-up task on a lead is due.

task.due
{
  "task": {
    "id": "…",
    "title": "Call back",
    "dueAt": "2026-11-06T05:30:00.000Z",
    "owner": {
      "id": "…",
      "name": "Asha"
    }
  },
  "lead": {
    "id": "00000000-0000-4000-8000-000000000012",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner",
    "status": "OPEN",
    "name": "Priya Sharma",
    "phone": "+919876543210",
    "email": "priya@example.com",
    "company": null,
    "city": "Pune",
    "value": "8500000.00",
    "expectedCloseOn": "2026-12-15",
    "interest": "3 BHK, Baner",
    "priority": "HIGH",
    "source": "FORM",
    "sourceInfo": {
      "utm": {
        "utm_source": "instagram"
      }
    },
    "pipeline": {
      "id": "…",
      "name": "Property sales"
    },
    "stage": {
      "id": "…",
      "name": "New enquiry",
      "kind": "OPEN"
    },
    "owner": {
      "id": "…",
      "name": "Asha"
    },
    "tags": [
      "hot"
    ],
    "fields": {
      "bhk": "3 BHK"
    },
    "score": 55,
    "lostReason": null,
    "contactId": "…",
    "conversationId": "…",
    "createdAt": "2026-11-05T05:30:00.000Z",
    "closedAt": null
  }
}

quote.sent

A quotation was sent (WhatsApp, email or link).

quote.sent
{
  "quote": {
    "id": "…",
    "ref": "Q-12",
    "status": "SENT",
    "subtotal": "8830000.00",
    "gst": "506500.00",
    "total": "9336500.00",
    "validUntil": "2026-11-30",
    "url": "https://panel.example.com/q/AbCd…"
  },
  "lead": {
    "id": "…",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner"
  },
  "via": "whatsapp"
}

customer_subscription.created

Subscriptions: a customer subscription or membership was added (panel, import or API).

Also customer_subscription.renewed (a paid renewal started the next period), .paused, .cancelled, .expired (renewal off or unpaid past the grace days) and .payment_failed (an invoice not paid by its due date) — same shape.

customer_subscription.created
{
  "subscription": {
    "id": "…",
    "ref": "S-1001",
    "status": "ACTIVE",
    "plan": {
      "id": "…",
      "name": "Gym — monthly"
    },
    "price": "1500.00",
    "renewsAt": "2026-12-07T00:00:00.000Z"
  },
  "contact": {
    "id": "…",
    "name": "Asha Rao",
    "phone": "919876543210"
  }
}

invoice.paid

Subscriptions: a customer invoice was paid — online through your gateway, or marked paid.

invoice.paid
{
  "invoice": {
    "id": "…",
    "number": "INV-0042",
    "total": "1770.00",
    "paidVia": "RAZORPAY",
    "paidAt": "2026-11-07T10:15:00.000Z"
  },
  "subscription": {
    "id": "…",
    "ref": "S-1001",
    "status": "ACTIVE"
  },
  "contact": {
    "id": "…",
    "name": "Asha Rao"
  }
}

store_order.created

WhatsApp Store: a customer placed an order on your store website.

Also store_order.status_changed (confirmed, packed, shipped — with trackingNumber / trackingUrl — delivered, returned), store_order.paid and store_order.cancelled — same shape.

store_order.created
{
  "order": {
    "id": "…",
    "number": "ORD-1042",
    "status": "NEW",
    "paymentMethod": "COD",
    "paymentStatus": "COD",
    "customerName": "Priya Sharma",
    "customerPhone": "+919811122333",
    "items": [
      {
        "name": "Cotton kurta",
        "variantName": "M",
        "qty": 2,
        "unitPaise": "105000"
      }
    ],
    "totalPaise": "210000",
    "link": "https://panel.example.com/o/AbC123"
  }
}

form.submitted

Forms: someone filled in one of your forms (the hosted link, a website embed or `POST /v1/forms/{id}/responses`).

answers is keyed by question id; labels gives each question’s text. Attached files carry a url for the API files endpoint. Also form.response.updated (with changes, e.g. { "status": { "from": "NEW", "to": "DONE" } }, or { "answers": true } when the person edits it) and form.response.deleted — same shape.

form.submitted
{
  "form": {
    "id": "…",
    "name": "Site visit request",
    "key": "AbC123xyz",
    "link": "https://panel.example.com/fm/AbC123xyz"
  },
  "response": {
    "id": "…",
    "number": 12,
    "status": "NEW",
    "name": "Asha Rao",
    "phone": "+919876543210",
    "email": "asha@example.com",
    "answers": {
      "name": "Asha Rao",
      "city": "Pune",
      "services": [
        "Interior",
        "Painting"
      ]
    },
    "labels": {
      "name": "Your name",
      "city": "City",
      "services": "What do you need?"
    },
    "contactId": "…",
    "leadId": null,
    "source": {
      "utm_source": "instagram",
      "device": "Mobile"
    },
    "createdAt": "…",
    "link": "https://panel.example.com/forms/…?r=…"
  }
}

booking.created

Bookings: an appointment was booked — booking page, website widget, chatbot, AI assistant, the panel or the API.

Also booking.rescheduled, booking.cancelled, booking.completed (attended) and booking.no_show — same shape.

booking.created
{
  "booking": {
    "id": "…",
    "ref": "B-1001",
    "status": "CONFIRMED",
    "source": "PAGE",
    "service": {
      "id": "…",
      "name": "Haircut"
    },
    "staff": {
      "id": "…",
      "name": "Anita"
    },
    "customer": {
      "name": "Priya Sharma",
      "phone": "+919811122333"
    },
    "startAt": "2026-11-20T04:00:00.000Z",
    "when": "Fri, 20 Nov at 9:30 am",
    "manageUrl": "https://panel.example.com/book/m/AbC123"
  }
}

quote.accepted

The customer accepted a quotation online (the lead is marked won).

quote.accepted
{
  "quote": {
    "id": "…",
    "ref": "Q-12",
    "status": "ACCEPTED",
    "total": "9336500.00"
  },
  "lead": {
    "id": "…",
    "ref": "L-42",
    "title": "Priya Sharma — 3 BHK, Baner"
  }
}

ticket.rated

The customer rated a solved ticket.

rating is 1–5.

ticket.rated
{
  "type": "ticket.rated",
  "data": {
    "ticketId": "…",
    "number": 42,
    "status": "SOLVED",
    "rating": 5,
    "ratingComment": "Quick and polite, thanks!"
  }
}

chat.started

A visitor started a website or app chat (a brand-new chat, or a new one after the last was closed).

answers holds the visitor’s replies to your own pre-chat questions (set in the widget’s Pre-chat form), keyed by each question’s id: text, number, true for a ticked checkbox, or a date as YYYY-MM-DD.

chat.started
{
  "type": "chat.started",
  "data": {
    "conversationId": "…",
    "accountId": "…",
    "contactId": "…",
    "channel": "web",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "visitorEmail": "asha@example.com",
    "visitorPhone": "+919876543210",
    "page": "https://example.com/pricing",
    "widgetId": "…",
    "assignedUserId": null,
    "answers": {
      "company": "Kumar Stores",
      "budget": 50000
    },
    "status": "OPEN",
    "startedAt": "…"
  }
}

chat.closed

A website or app chat was closed — resolved by your team or ended by the visitor.

chat.closed
{
  "type": "chat.closed",
  "data": {
    "conversationId": "…",
    "channel": "web",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "status": "RESOLVED",
    "closedAt": "…",
    "by": {
      "userId": "…",
      "name": "Priya"
    }
  }
}

chat.rated

A visitor rated a closed website or app chat.

rating is 1–5. With the 3-faces style it is 1, 3 or 5; with thumbs, 1 or 5 (ratingStyle says which).

chat.rated
{
  "type": "chat.rated",
  "data": {
    "conversationId": "…",
    "sessionId": "…",
    "channel": "web",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "rating": 5,
    "ratingStyle": "STARS",
    "comment": "Super quick, thank you!",
    "agentUserId": "…",
    "agentName": "Priya",
    "ratedAt": "…"
  }
}

call.started

A call between a team member and a website / app visitor connected.

origin: agent (the team called the visitor) or visitor (the visitor pressed “Call us”).

call.started
{
  "type": "call.started",
  "data": {
    "callId": "…",
    "conversationId": "…",
    "contactId": "…",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "visitorEmail": "asha@example.com",
    "status": "ACTIVE",
    "origin": "visitor",
    "agentUserId": "…",
    "agentName": "Priya",
    "recorded": true,
    "consentAt": "…",
    "startedAt": "…",
    "answeredAt": "…",
    "endedAt": "…",
    "endedBy": "AGENT",
    "seconds": 192,
    "recordingStatus": "READY",
    "recordingUrl": "/v1/calls/…/recording"
  }
}

call.ended

A call ended — with its length, and the recording link when it was recorded.

status: COMPLETED, MISSED, DECLINED, CANCELLED or FAILED. A recording may still be saving (recordingStatus: PROCESSING); fetch the call again a minute later.

call.ended
{
  "type": "call.ended",
  "data": {
    "callId": "…",
    "conversationId": "…",
    "contactId": "…",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "visitorEmail": "asha@example.com",
    "status": "COMPLETED",
    "agentUserId": "…",
    "agentName": "Priya",
    "recorded": true,
    "consentAt": "…",
    "startedAt": "…",
    "answeredAt": "…",
    "endedAt": "…",
    "endedBy": "AGENT",
    "seconds": 192,
    "recordingStatus": "READY",
    "recordingUrl": "/v1/calls/…/recording"
  }
}

call.missed

A call wasn’t answered, or the visitor declined it.

When a visitor pressed “Call us” and nobody from the team answered, callId is null, origin is visitor, and requestId and reason say what happened.

call.missed
{
  "type": "call.missed",
  "data": {
    "callId": "…",
    "conversationId": "…",
    "contactId": "…",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "visitorEmail": "asha@example.com",
    "status": "MISSED",
    "origin": "agent",
    "agentUserId": "…",
    "agentName": "Priya",
    "recorded": true,
    "consentAt": "…",
    "startedAt": "…",
    "answeredAt": "…",
    "endedAt": "…",
    "endedBy": "AGENT",
    "seconds": 192,
    "recordingStatus": "READY",
    "recordingUrl": "/v1/calls/…/recording"
  }
}

call.transferred

A team member passed a call to someone else (directly, or after talking to them first).

mode: DIRECT or WARM (they talked first). toTeamId is set when the call went to a team; toUserId is whoever took it.

call.transferred
{
  "type": "call.transferred",
  "data": {
    "callId": "…",
    "conversationId": "…",
    "contactId": "…",
    "visitorId": "…",
    "visitorName": "Asha Rao",
    "status": "ACTIVE",
    "recorded": true,
    "transferId": "…",
    "mode": "WARM",
    "fromUserId": "…",
    "fromName": "Priya",
    "toUserId": "…",
    "toName": "Rahul",
    "toTeamId": null,
    "transferredAt": "…"
  }
}

ai_call.started

A call with your AI assistant connected — started by the visitor (“Talk to us”), by a team member (“Call with AI”), or handed to the AI by a team member. `origin` is visitor, agent_started or agent_transfer; `agentUserId` / `agentName` / `agentNote` say who started it and what they asked the AI to do.

ai_call.started
{
  "type": "ai_call.started",
  "data": {
    "aiCallId": "…",
    "conversationId": "…",
    "contactId": "…",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "visitorEmail": "asha@example.com",
    "provider": "OPENAI",
    "status": "ACTIVE",
    "outcome": null,
    "origin": "agent_started",
    "agentUserId": "…",
    "agentName": "Priya",
    "agentNote": "Confirm their delivery address",
    "fromCallId": null,
    "handoverReason": null,
    "handoverCallId": null,
    "ticketId": null,
    "leadId": null,
    "recorded": true,
    "consentAt": "…",
    "startedAt": "…",
    "answeredAt": "…",
    "endedAt": "…",
    "seconds": 134,
    "summary": "• Asked about delivery to Pune\n• Told 3–5 days",
    "transcript": [
      {
        "role": "ai",
        "text": "Hi! How can I help?",
        "at": "…"
      },
      {
        "role": "visitor",
        "text": "Do you deliver to Pune?",
        "at": "…"
      }
    ],
    "recordingStatus": "READY",
    "recordingUrl": "/v1/ai-calls/…/recording"
  }
}

ai_call.ended

A call with the AI assistant ended — with its transcript, summary, length, outcome and recording.

ai_call.ended
{
  "type": "ai_call.ended",
  "data": {
    "aiCallId": "…",
    "conversationId": "…",
    "contactId": "…",
    "visitorId": "…",
    "externalId": "user_1042",
    "visitorName": "Asha Rao",
    "visitorEmail": "asha@example.com",
    "provider": "OPENAI",
    "status": "ENDED",
    "outcome": "COMPLETED",
    "origin": "visitor",
    "agentUserId": null,
    "agentName": null,
    "agentNote": null,
    "fromCallId": null,
    "handoverReason": null,
    "handoverCallId": null,
    "ticketId": null,
    "leadId": null,
    "recorded": true,
    "consentAt": "…",
    "startedAt": "…",
    "answeredAt": "…",
    "endedAt": "…",
    "seconds": 134,
    "summary": "• Asked about delivery to Pune\n• Told 3–5 days",
    "transcript": [
      {
        "role": "ai",
        "text": "Hi! How can I help?",
        "at": "…"
      },
      {
        "role": "visitor",
        "text": "Do you deliver to Pune?",
        "at": "…"
      }
    ],
    "recordingStatus": "READY",
    "recordingUrl": "/v1/ai-calls/…/recording"
  }
}

ai_call.handed_over

The AI assistant handed a caller to the team, and a team member took the call.

ai_call.handed_over
{
  "type": "ai_call.handed_over",
  "data": {
    "aiCallId": "…",
    "conversationId": "…",
    "callId": "…",
    "agentUserId": "…",
    "agentName": "Priya",
    "reason": "The caller asked for a person",
    "takenAt": "…"
  }
}

ticket.updated

A ticket changed: status, priority, owner, a reply, a customer reply or a rating.

changes says what changed, e.g. { status }, { priority }, { assignedUserId }, { reply: true }, { change: "customer_replied" } or { rating }.

ticket.updated
{
  "type": "ticket.updated",
  "data": {
    "ticketId": "…",
    "number": 42,
    "status": "SOLVED",
    "priority": "HIGH",
    "changes": {
      "status": "SOLVED"
    }
  }
}

bot.ended

A chatbot conversation ended.

outcome is COMPLETED, HANDED_OVER, TIMED_OUT, TAKEN_OVER (a person replied), STOPPED or FAILED. startedBy is trigger (a chat message), event (a business event, e.g. a lead won, or another flow), manual (inbox / API) or test.

bot.ended
{
  "type": "bot.ended",
  "data": {
    "sessionId": "…",
    "bot": {
      "id": "…",
      "name": "Main menu"
    },
    "conversationId": "…",
    "accountId": "…",
    "contact": {
      "id": "…",
      "name": "Asha Rao",
      "phone": "+919876543210"
    },
    "startedBy": "trigger",
    "outcome": "HANDED_OVER",
    "reason": null,
    "values": {
      "order_no": "10023"
    },
    "startedAt": "…",
    "endedAt": "…"
  }
}

flow.run.completed

Flows: a run finished — it reached its end, handed the chat to a person, or went on to another flow.

Same data as bot.ended. trigger says what started it (e.g. new lead, keyword “menu”).

flow.run.completed
{
  "type": "flow.run.completed",
  "data": {
    "sessionId": "…",
    "bot": {
      "id": "…",
      "name": "Welcome new leads"
    },
    "conversationId": "…",
    "accountId": "…",
    "contact": {
      "id": "…",
      "name": "Asha Rao",
      "phone": "+919876543210"
    },
    "startedBy": "event",
    "trigger": "new lead",
    "outcome": "COMPLETED",
    "reason": null,
    "values": {
      "lead_ref": "L-42"
    },
    "startedAt": "…",
    "endedAt": "…"
  }
}

flow.run.failed

Flows: a run stopped on an error (a message WhatsApp refused, a step that failed…). `reason` says why in plain words.

flow.run.failed
{
  "type": "flow.run.failed",
  "data": {
    "sessionId": "…",
    "bot": {
      "id": "…",
      "name": "Welcome new leads"
    },
    "conversationId": "…",
    "startedBy": "event",
    "trigger": "new lead",
    "outcome": "FAILED",
    "reason": "The customer last wrote more than 24 hours ago",
    "values": {},
    "startedAt": "…",
    "endedAt": "…"
  }
}

app.activated

Apps: an app was switched on in the panel (its pages, public pages, automations and webhooks start again).

Also app.deactivated when an app is switched off — same shape with active: false. While an app is off, its own events (for example booking.* for Bookings) aren’t sent.

app.activated
{
  "app": {
    "id": "bookings",
    "name": "Bookings",
    "active": true
  }
}

Verifying signatures

Every event has X-Webhook-Signature: t=<unix time>,v1=<hex>. Compute HMAC-SHA256 of <t>.<raw request body> with your webhook’s secret (whsec_…) and compare. Reject requests older than 5 minutes. Use the raw body, before any JSON parsing.

import crypto from 'node:crypto';
app.post('/whatsapp/events', express.raw({ type: 'application/json' }), (req, res) => {
  const [t, v1] = String(req.get('X-Webhook-Signature')).split(',').map((p) => p.split('=')[1]);
  const expected = crypto.createHmac('sha256', process.env.WEBHOOK_SECRET).update(`${t}.${req.body}`).digest('hex');
  const fresh = Math.abs(Date.now() / 1000 - Number(t)) < 300;
  if (!fresh || !crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1 ?? ''))) return res.sendStatus(400);
  const event = JSON.parse(req.body);
  // … handle event.type, then answer quickly:
  res.sendStatus(200);
});

Test vector: secret whsec_test, t 1700000000, body {"a":1} → 38877139021993b830af32feea6e18a8da83eb2f6e49ee50bd9e4cf4ca4d3789

Chatbot API requests (the bot calls you)

A chatbot’s API request step can call any API: GET, POST, PUT, PATCH or DELETE, with query parameters, headers, bearer or basic auth, and a JSON, form or text body. Values like {{order_no}} can be used anywhere. Values picked from the answer by path (for example data.order.status) become {{status}} for later steps; {{api_status}} holds the HTTP status. Every request is signed with the bot’s secret (same X-Webhook-Signature format as events). It must answer 2xx within 10 seconds (up to 256 KB), otherwise the bot follows Failed.

We send (body type “Standard chatbot JSON”)
{
  "event": "bot.step",
  "bot": {
    "id": "…",
    "name": "Order status"
  },
  "step": {
    "id": "call"
  },
  "sessionId": "…",
  "test": false,
  "conversationId": "…",
  "accountId": "…",
  "contact": {
    "id": "…",
    "name": "Asha Rao",
    "phone": "+919876543210",
    "email": null,
    "tags": [
      "vip"
    ],
    "fields": {
      "city": "Pune"
    }
  },
  "values": {
    "order_no": "10023"
  },
  "message": {
    "text": "10023"
  }
}
You answer (all optional)
{
  "reply": "Order 10023 ships today",
  "status": "shipped",
  "fields": {
    "city": "Pune"
  }
}

reply is sent to the customer, other values can be used in later steps, and fields are saved on the contact.

Live chat in your app

Every live chat widget (Website widget → Live chat) also works inside Android and iOS apps. Chats land in the same Inbox, with your chatbots, auto-replies and AI assistant.

1. The easy way — the chat page in a web view. Open https://app.flowsensy.com/chat/WIDGET_KEY in a WebView (Android), WKWebView (iOS) or a React Native / Flutter web view. For a signed-in user add ?uid=USER_ID&name=…&email=…&sig=SIGNATURE so their chat follows them on every device. Your server makes sig = HMAC-SHA256 of the user id with the widget’s identity secret (widget page → Install → Chat page for apps). Never put the secret in the app.

2. Your own chat screen — the Chat API. No API key: the widget key identifies the chat and each user gets a private token. Send the token in X-Visitor-Token.

Start (or resume) the user’s chat
curl -X POST https://app.flowsensy.com/api/public/livechat/WIDGET_KEY/identify \
  -H 'Content-Type: application/json' \
  -d '{"externalId":"user_1042","signature":"<hmac>","name":"Asha Rao","email":"asha@example.com"}'
# → { "token": "…", "visitor": { … } }
Send a message
curl -X POST https://app.flowsensy.com/api/public/livechat/WIDGET_KEY/messages \
  -H 'X-Visitor-Token: TOKEN' -H 'Content-Type: application/json' \
  -d '{"text":"Is my order shipped?"}'
  • GET /api/public/livechat/WIDGET_KEY/session — the user and their last 50 messages; GET …/messages?before=ID for older ones.
  • GET …/stream?token=TOKEN — live updates (Server-Sent Events): message and typing.
  • POST …/files (multipart, field file, up to 10 MB), POST …/typing, POST …/seen, PUT …/details (name, email, phone), POST …/transcript.
  • Conversations: GET …/session also returns sessions (the user’s chats, newest first) and current. Only one chat is open at a time; GET …/sessions/ID/messages for a past one, POST …/end to end it, POST …/sessions/ID/rating with {"rating":5,"comment":"…"} once it’s closed. Live events also include agent (who is answering), read and closed.
  • Button taps from chatbots: send {"text":"Track order","payload":"BUTTON_ID","replyTo":"MESSAGE_ID"}.
  • Push notifications: subscribe to the chat.reply webhook; it carries your externalId and whether the user has the chat open.
  • Voice messages (when the plan includes them): POST …/voice (multipart, field file: a WebM, Ogg or MP4 recording, up to 2 minutes). They come back as media.kind = "audio" (AAC in MP4) with media.seconds.

Microphone in a web view. Voice messages and calls need the microphone. Android: add RECORD_AUDIO and MODIFY_AUDIO_SETTINGS to the manifest, ask for the permission at run time, and grant it in WebChromeClient.onPermissionRequest. iOS: add NSMicrophoneUsageDescription to Info.plist and set allowsInlineMediaPlayback = true on the WKWebView configuration. React Native WebView: mediaCapturePermissionGrantType="grant". Flutter: grant the request in onPermissionRequest.

n8n

Our community node for n8n sends messages, works the inbox and starts workflows on events, with no code. It works with any panel address, so it carries Flowsensy’s branding.

  1. In n8n open Settings → Community nodes → Install and enter n8n-nodes-wa-crm.
  2. Add the WhatsApp CRM node. For the credential, enter your panel address (https://app.flowsensy.com) and an API key from Developers.
  3. For events use the WhatsApp CRM Trigger node and choose them. Turning the workflow on subscribes it; turning it off removes it.

n8n must be reachable from the internet over https (n8n Cloud is; a self-hosted n8n needs a public address) so we can deliver events to it.

Questions? Use Help in your Flowsensy panel.

WhatsApp API reference · Flowsensy