Flowziac Docs
Getting Started
Quickstart
Send your first WhatsApp message in under 60 seconds.
1. Get your API keys
- Sign in to the Flowziac dashboard
- Go to Settings → API keys
- Click Generate key
- Copy your
apiKeyandapiSecret— the secret is shown only once
2. Send a text message
cURL
curl -X POST "https://your-domain.com/api/v1/public/messages/send" \
-H "Content-Type: application/json" \
-H "apiKey: pk_your_key_id" \
-H "apiSecret: your_secret" \
-d '{
"type": "text",
"phone": "919876543210",
"content": "Hello from Flowziac!"
}'3. Send a template message
Template messages require a pre-approved WhatsApp template. Use the template name exactly as shown in your Flowziac dashboard.
cURL
curl -X POST "https://your-domain.com/api/v1/public/messages/send" \
-H "Content-Type: application/json" \
-H "apiKey: pk_your_key_id" \
-H "apiSecret: your_secret" \
-d '{
"type": "template",
"phone": "919876543210",
"templateName": "order_confirmation",
"templateLanguage": "en",
"templateVariables": {
"1": "Jane Doe",
"2": "ORD-12345"
}
}'4. Read the response
A successful response looks like this:
201 Created
{
"success": true,
"data": {
"id": "msg_abc123",
"status": "ACCEPTED",
"message": "Message received and being sent to the recipient."
}
}Next step
Set up webhooks to receive real-time delivery status updates for your messages.
Read webhook documentation →