View as Markdown

Getting started

API base: https://api.fiitsa.com/functions/v1/fiitsa-api

1. Create a key

From your Fiitsa dashboard, under Developers. The key is shown only once: Fiitsa stores a SHA-256 hash, never the key itself. If you lose it, you replace it - it cannot be recovered.

Start with a test key: sends are simulated.

2. First call

curl -X POST "https://api.fiitsa.com/functions/v1/fiitsa-api/whatsapp/messages" \
  -H "x-api-key: $FIITSA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+2250700000000",
    "type": "text",
    "text": { "body": "Your quote is ready" }
  }'

3. The response

{
  "success": true,
  "request_id": "req_4f21eca85c35d410",
  "data": {
    "message_id": "wamid.HBgMMjI1MDcwMDAwMDAwFQIAERgSN0Y0"
  }
}

Every response follows this shape: a success boolean, a request_id for support, and the payload under data.

Requirements

A WhatsApp number must be linked to the store, and the plan must include API access - Premium or above. Without a linked number, send calls return whatsapp_not_connected.