API Overview & Authentication

Welcome to the QuickFlow Developer API documentation. You can use our REST API to manage contacts, contact groups, and send SMS messages seamlessly.

Base URL

All API requests should be made to the following base URL:

http://127.0.0.1:8017/api/method

Authentication & Example Usage

We use token-based authentication. You must include your API Key and API Secret in the headers of all your requests. Pass them in the Authorization header using the format token api_key:api_secret.

Endpoints are constructed by appending the method path to the <baseurl>. For example, to send an SMS, the endpoint is http://127.0.0.1:8017/api/method/quickflow.sms.send.

Example cURL Request:

curl -X POST http://127.0.0.1:8017/api/method/quickflow.sms.send \
  -H "Authorization: token your_api_key:your_api_secret" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": "254700000000",
    "sender_id": "YOUR_SENDER_ID",
    "message": "Hello from QuickFlow!"
  }'

SMS API

Endpoints for sending SMS messages, managing campaigns, and checking credit balance.

POST/quickflow.sms.send

Send SMS

Send a single or bulk SMS to specific phone numbers.

Parameters (JSON Body):
  • recipient (string, required) - Phone number(s) separated by comma.
  • sender_id (string, required) - Your assigned Sender ID.
  • message (string, required) - The text message to send.
  • type (string, optional) - Type of message (default: "plain").
  • schedule_time (string, optional) - Time to schedule message.
  • dlt_template_id (string, optional) - DLT Template ID if applicable.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.sms.send
POST/quickflow.sms.campaign

Send Campaign

Send SMS to all contacts within a specific contact group.

Parameters (JSON Body):
  • contact_list_id (string, required) - ID of the contact group.
  • sender_id (string, required) - Your assigned Sender ID.
  • message (string, required) - The text message to send.
  • type (string, optional) - Type of message (default: "plain").
  • schedule_time (string, optional) - Time to schedule message.
  • dlt_template_id (string, optional) - DLT Template ID if applicable.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.sms.campaign
GET/quickflow.sms.get

Get SMS Status

Retrieve the status of a specific SMS message.

Query Parameters:
  • uid (string, required) - The unique ID of the SMS.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.sms.get
GET/quickflow.sms.list_all

List All SMS

Retrieve a history of all sent SMS messages.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.sms.list_all
GET/quickflow.sms.balance

Check Balance

Check your current credit balance for a specific Sender ID.

Query Parameters:
  • sender_id (string, required) - Your assigned Sender ID.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.sms.balance

Contacts API

Endpoints for managing individual contacts within contact groups.

POST/quickflow.contact.store_contact

Create Contact

Add a new contact to an existing contact group.

Parameters (JSON Body):
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group.
  • phone (string, required) - The contact's phone number.
  • first_name (string, optional) - Contact's first name.
  • last_name (string, optional) - Contact's last name.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.store_contact
GET/quickflow.contact.search_contact

Get Contact

Retrieve details of a specific contact.

Query Parameters:
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group.
  • uid (string, required) - Unique ID of the contact.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.search_contact
POST/quickflow.contact.update_contact

Update Contact

Update an existing contact's information.

Parameters (JSON Body):
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group.
  • uid (string, required) - Unique ID of the contact.
  • phone (string, optional) - New phone number.
  • first_name (string, optional) - New first name.
  • last_name (string, optional) - New last name.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.update_contact
POST/quickflow.contact.delete_contact

Delete Contact

Delete a contact from a group.

Parameters (JSON Body):
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group.
  • uid (string, required) - Unique ID of the contact to delete.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.delete_contact
GET/quickflow.contact.all_contacts

List All Contacts

Retrieve all contacts within a specific group.

Query Parameters:
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.all_contacts

Contact Groups API

Endpoints for creating and managing contact groups.

POST/quickflow.contact.store_group

Create Group

Create a new contact group for organizing your contacts.

Parameters (JSON Body):
  • sender_id (string, required) - Your assigned Sender ID.
  • name (string, required) - Name of the new contact group.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.store_group
GET/quickflow.contact.show_group

Get Group Details

Retrieve details of a specific contact group.

Query Parameters:
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group to retrieve.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.show_group
POST/quickflow.contact.update_group

Update Group

Update the name of an existing contact group.

Parameters (JSON Body):
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group.
  • name (string, required) - New name for the group.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.update_group
POST/quickflow.contact.delete_group

Delete Group

Delete a contact group. (Ensure it contains no active dependencies if required by logic).

Parameters (JSON Body):
  • sender_id (string, required) - Your assigned Sender ID.
  • group_id (string, required) - ID of the contact group to delete.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.delete_group
GET/quickflow.contact.all_groups

List All Groups

Retrieve all contact groups assigned to your Sender ID.

Query Parameters:
  • sender_id (string, required) - Your assigned Sender ID.

Endpoint URL:

http://127.0.0.1:8017/api/method/quickflow.contact.all_groups

@2025.All rights reserved by Quickflow