Eedesy
Book Demo
HomeProductsContact
Waflow
  • Introduction
  • Quick Start
  • WhatsApp Setup
  • Overview
  • Create Workspace
  • Team Management
  • Overview
  • Import Contacts
  • Tags & Segments
  • Custom Fields
  • Overview
  • Create Template
  • Variables
  • Approval Process
  • Overview
  • Create Campaign
  • Scheduling
  • Tracking
  • Overview
  • Reports
  • Overview
  • Drip Sequences
  • Triggers
  • Overview
  • Authentication
  • WhatsApp
  • Contacts
  • Templates
  • Campaigns
  • Analytics
  • Overview
  • Billing
  • Integrations

Related Products

  • AI Voice Agent
  • AI Voice Assistant
  • Try Free
Waflow
  • Introduction
  • Quick Start
  • WhatsApp Setup
  • Overview
  • Create Workspace
  • Team Management
  • Overview
  • Import Contacts
  • Tags & Segments
  • Custom Fields
  • Overview
  • Create Template
  • Variables
  • Approval Process
  • Overview
  • Create Campaign
  • Scheduling
  • Tracking
  • Overview
  • Reports
  • Overview
  • Drip Sequences
  • Triggers
  • Overview
  • Authentication
  • WhatsApp
  • Contacts
  • Templates
  • Campaigns
  • Analytics
  • Overview
  • Billing
  • Integrations
  1. Docs
  2. Waflow
  3. API Reference
  4. Contacts

Contacts API

Manage contacts, tags, custom fields, and bulk imports via the WAFlow API

Contacts API

Manage your contact database programmatically. Create, update, import, and organize contacts with tags and custom fields.

List Contacts

Get all contacts with optional filtering and pagination.

GET /api/contacts

Query Parameters:

Parameter Type Description
search string Search by name, email, or phone
page number Page number (default: 1)
pageSize number Items per page (default: 20, max: 100)
tags string JSON array of tag IDs to filter by

Example Request:

GET /api/contacts?search=john&page=1&pageSize=20&tags=[1,2]

Response:

{
  "contacts": [
    {
      "id": 1,
      "phoneNumber": "+1234567890",
      "firstName": "John",
      "lastName": "Doe",
      "email": "[email protected]",
      "tags": [
        { "id": 1, "name": "VIP", "color": "#3b82f6" }
      ],
      "customFields": {
        "company": "Acme Corp",
        "position": "Manager"
      },
      "createdAt": "2025-01-01T00:00:00.000Z"
    }
  ],
  "total": 1,
  "page": 1,
  "pageSize": 20
}

cURL Example:

curl -X GET "https://waflow.edesy.in/api/contacts?search=john&page=1&pageSize=20" \
  -H "Content-Type: application/json" \
  -b cookies.txt

Create Contact

Create a new contact in your workspace.

POST /api/contacts

Request Body:

{
  "phoneNumber": "+1234567890",
  "firstName": "John",
  "lastName": "Doe",
  "email": "[email protected]",
  "customFields": {
    "company": "Acme Corp"
  }
}

Response:

{
  "id": 1,
  "phoneNumber": "+1234567890",
  "firstName": "John",
  "lastName": "Doe",
  "email": "[email protected]",
  "tags": [],
  "customFields": {
    "company": "Acme Corp"
  },
  "createdAt": "2025-01-01T00:00:00.000Z"
}

JavaScript Example:

const response = await fetch('https://waflow.edesy.in/api/contacts', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  credentials: 'include',
  body: JSON.stringify({
    phoneNumber: '+1234567890',
    firstName: 'John',
    lastName: 'Doe',
    email: '[email protected]',
    customFields: {
      company: 'Acme Corp'
    }
  })
});

const data = await response.json();
console.log(data);

Update Contact

Update an existing contact's information.

PUT /api/contacts/{id}

Path Parameters:

Parameter Type Description
id number The contact ID

Request Body:

{
  "firstName": "Jane",
  "lastName": "Smith",
  "email": "[email protected]"
}

Response:

{
  "id": 1,
  "phoneNumber": "+1234567890",
  "firstName": "Jane",
  "lastName": "Smith",
  "email": "[email protected]",
  "tags": [],
  "customFields": {},
  "updatedAt": "2025-01-01T00:00:00.000Z"
}

Bulk Import Contacts

Import multiple contacts at once with validation and duplicate handling.

POST /api/contacts/import

Request Body:

{
  "contacts": [
    {
      "phoneNumber": "+1234567890",
      "firstName": "John",
      "lastName": "Doe",
      "email": "[email protected]",
      "tags": ["VIP", "Customer"]
    },
    {
      "phoneNumber": "+1987654321",
      "firstName": "Jane",
      "lastName": "Smith",
      "email": "[email protected]"
    }
  ],
  "options": {
    "skipDuplicates": true,
    "updateExisting": false
  }
}

Options:

Option Type Default Description
skipDuplicates boolean true Skip contacts with existing phone numbers
updateExisting boolean false Update existing contacts instead of skipping

Response:

{
  "success": true,
  "imported": 1,
  "skipped": 0,
  "failed": 0,
  "details": {
    "successful": ["[email protected]"],
    "duplicates": [],
    "failed": []
  }
}

cURL Example:

curl -X POST "https://waflow.edesy.in/api/contacts/import" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
    "contacts": [
      {
        "phoneNumber": "+1234567890",
        "firstName": "John",
        "lastName": "Doe",
        "email": "[email protected]",
        "tags": ["VIP"]
      }
    ],
    "options": {
      "skipDuplicates": true,
      "updateExisting": false
    }
  }'

Phone Number Format

Phone numbers should be in E.164 format:

  • Include country code with + prefix
  • No spaces, dashes, or parentheses
  • Examples: +1234567890, +919876543210

Valid formats:

  • +1234567890 (US)
  • +919876543210 (India)
  • +447911123456 (UK)

Invalid formats:

  • 1234567890 (missing +)
  • +1 234 567 890 (contains spaces)
  • (123) 456-7890 (local format)

Rate Limits

Operation Limit
List contacts 100 requests/minute
Create contact 60 requests/minute
Update contact 60 requests/minute
Bulk import 10,000 contacts/request
Previous
WhatsApp
Next
Templates

On this page

  • List Contacts
  • Create Contact
  • Update Contact
  • Bulk Import Contacts
  • Phone Number Format
  • Rate Limits

Stay Updated

Get the latest updates on AI voice technology, product releases, and exclusive resources.

Get Started

Try our products for free
AI Voice Agent
Build voice AI for calls
WhatsApp AI Bot
Automate WhatsApp chats
Website Chatbot
AI chat for websites
Edesy CRM
Manage leads & customers
Book a DemoCall UsEmail Us
Eedesy

Your all-in-one platform for digital innovation. We build AI-powered solutions that transform how businesses operate.

[email protected]+91 95475 31359

Products

  • AI Voice Assistant
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Products

  • AI Voice Assistant
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service
  • AI Voice Assistant
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products
  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases
  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services
  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo
  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Popular Free Tools

Compress PDFMerge PDFPDF to WordGST CalculatorEMI CalculatorSIP CalculatorJSON FormatterBase64 EncoderImage CompressorQR Code GeneratorVoice AI ROI CalculatorAmazon FBA CalculatorAI Email WriterVideo to GIFPrivacy Policy GeneratorCRM ROI CalculatorMeeting Cost Calculator
Categories:PDF ToolsDeveloper ToolsFinance CalculatorsImage ToolsVideo ToolsAI Writing ToolsAudio ToolsWhatsApp ToolsDocument GeneratorsVoice AI ToolsE-commerce ToolsView All Tools

© 2026 Edesy Technology Labs Pvt Ltd

SSL Secured
99.9% Uptime