EleAPI's Resource center
  • 🏠Introduction
  • πŸ“’eleapi Resource Center
    • πŸƒβ€β™‚οΈHow eleapi works?
      • πŸ“–Starting with eleapi
      • πŸ“–Bot Management
        • πŸ“–Create new Bot
          • πŸ“–Website, Live chat or Landing Page Bots
          • πŸ“–WhatsApp Bot Creation with Manual Onboarding
            • βœ…Prerequisites for WhatsApp Bots
            • πŸ”€Create a Meta App
            • βœ”οΈRegister & Verify your WhatsApp Number
            • πŸ”—Subscribe WA webhook with eleapi
            • πŸ’³Update WA account Payment Method
            • πŸ¦Έβ€β™€οΈAssign System User to WhatsApp Account
            • πŸ“ƒGetting all the necessary details from Meta Developer Dashboard
          • πŸ“–Make Your Telegram Chatbot
        • πŸ“–Edit Your Chat Flow
        • πŸ“–Train Your AI Chatbot
          • πŸ“–Train your AI eleapi using websites
          • πŸ“–Train your AI eleapi by uploading files.
          • πŸ“–Train your AI eleapi using frequently asked questions (FAQs).
          • πŸ“–Train your bot using the conversation history.
          • πŸ“–Train your AI eleapi using other sources.
        • πŸ“–Bot Settings
          • πŸ“–Website Bot settings
            • πŸ“–Design
            • πŸ“–General
            • πŸ“–Alerts
            • πŸ“–Triggers
            • πŸ“–User Access
            • πŸ“–Chat Window
            • πŸ“–AI Settings
          • πŸ“–WhatsApp eleapi Settings
            • πŸ“–General
            • πŸ“–Alerts
            • πŸ“–AI Settings
          • πŸ“–Telegram Bot Settings
            • πŸ“–General
            • πŸ“–AI Settings
          • πŸ“–Facebook Bot Settings
            • πŸ“–General
            • πŸ“–AI Settings
        • πŸ“–Marketing Automation
          • πŸ“–Broadcasts on WhatsApp, Telegram & Facebook
          • πŸ“–Drip Campaigns on WhatsApp, Telegram & Facebook
        • πŸ“–Install your Website Chatbot
          • Install Website Bot on WordPress
        • πŸ“–3rd Party Apps Integrations
          • Agile CRM integration with eleapi
          • Apptivo CRM integration with eleapi
          • Autopilot CRM integration with eleapi
          • Bitrix24 CRM Integration with eleapi
          • CalendarHero integration with eleapi
          • Capsule CRM integration with eleapi
          • Chakra CRM integration with eleapi
          • Close CRM integration with eleapi
          • Copper CRM integration with eleapi
          • Drip CRM integration with eleapi
          • EngageBay CRM integration with eleapi
          • Drip CRM integration with eleapi
          • ExtraaEdge integration with eleapi
          • FirstPromoter integration with eleapi
          • Flowlu integration with eleapi
          • Freshworks CRM integration with eleapi
          • Freshdesk CRM integration with eleapi
          • Frontapp integration with eleapi
          • GetResponse integration with eleapi
          • Go High Level Integration with eleapi
          • Google Analytics integration with eleapi
          • Google Calendar Integration with eleapi
          • Google Contacts Integration with eleapi
          • Google Tasks integration with eleapi
          • Groove CRM integration with eleapi
          • Google Sheets integration with eleapi
          • Helpcrunch CRM integration with eleapi
          • HelpShift integration with eleapi
          • Hubspot CRM integration with eleapi
          • Infobip CRM integration with eleapi
          • Jira CRM integration with eleapi
          • Insightly CRM integration with eleapi
          • MoEngage CRM integration with eleapi
          • NetHunt integration with eleapi
          • Nimble CRM integration with eleapi
          • Nutshell CRM integration with eleapi
          • Onpipeline integration with eleapi
          • Nocrm integration with eleapi
          • Pipedrive CRM integration with eleapi
          • Salesflare CRM integration with eleapi
          • SendInBlue integration with eleapi
          • Shipway Integration with eleapi
          • Wealthbox CRM integration with eleapi
          • SupportBee CRM integration with eleapi
          • Zendesk CRM integration with eleapi
          • Zoho CRM integration with eleapi
          • Zoho Desk integration with eleapi
          • Zoho Projects integration with eleapi
      • πŸ“–Inbox
        • πŸ“–Managing Contacts, Chats & Conversation
        • πŸ“–Creating Groups
      • πŸ“–Teams
      • πŸ“–Subscriptions
      • πŸ“–My Account
        • πŸ“–Configure Custom Attribute
        • πŸ“–Configure Tags
        • πŸ“–Configure Chat Status
      • πŸ“–Notifications
    • ❓Frequently asked questions (FAQs)
      • Onboarding FAQs
      • Bot Installation FAQs
      • Inbox FAQs
      • Profile, Team & Notifications FAQs
      • Analytics FAQs
      • Chat Flow FAQs
      • Bot Settings FAQs
      • WhatsApp FAQs
      • Subscription FAQs
      • ChatGPT FAQs
    • πŸ› οΈCommon Errors & Troubleshooting
  • πŸ“–Product Guides & Training
    • πŸ‘©β€πŸ’»WhatsApp Cloud API by Meta
      • βš™οΈSetting Up Your Facebook Business Manager
      • πŸ’°Meta Conversation Pricing for WhatsApp Cloud API
      • πŸ‘§Update WhatsApp Bot Profile
      • βœ…Getting a green tick on WhatsApp
    • βš™οΈWhatsApp Bot Creation with Automated onboarding
    • πŸ’‘Must know-how of eleapi
      • πŸ”€Manage & Use Custom Attributes
      • πŸ–₯️Call external APIs in your chat flows
      • πŸ‘¨β€πŸ’ΌManging team roles & Users
      • πŸ“¨Send WhatsApp notifications using the eleapi APIs
  • πŸ› οΈAPI References
    • πŸ“„Contacts & Chats APIs
      • Get All Contacts
      • Getting Groups/Segments
      • Add WhatsApp Contact
      • Delete WhatsApp Contact
      • Website Contacts & Meta Data
    • πŸ“„WhatsApp Cloud API
      • GET Templates List
      • POST WhatsApp Template Message
      • POST Send Message API
Powered by GitBook
On this page
  • Get User Inbox
  • Got any questions?
  1. API References
  2. Contacts & Chats APIs

Get All Contacts

This page contains the API documentation for the getting all contacts of platform.

Get User Inbox

This API endpoint allows you to retrieve user data from the inbox. It provides various filtering options to customize the query.

Endpoint URL: https://api-v7.express-chat.com/inbox/users

HTTP Method: POST

Request Headers

  • Authorization: A bearer token is required for authentication. Replace [MASKED_TOKEN] with your valid API token. This token is used to authenticate and authorize the request.

Request Body

The request body should be a JSON object containing various filtering criteria to customize the query. Here's a breakdown of the request body fields:

  • searchText (string): Search text to filter users.

  • tags (array): An array of tags to filter users.

  • status (array): An array of status values to filter users.

  • isOnline (boolean): Indicates whether users are online.

  • _botWebsite (array): Filter users based on interactions on the website.

  • _botWhatsapp (array): Filter users based on interactions on WhatsApp.

  • _botTelegram (array): Filter users based on interactions on Telegram.

  • _botFacebook (array): Filter users based on interactions on Facebook.

  • _agentAssigned (array): Filter users assigned to specific agents.

  • segments (array): An array of segments to filter users.

  • applicableFilters (array): An array of applicable filters.

  • lastSeenAt (object): Date range filter for the last seen timestamp.

  • createdAt (object): Date range filter for the creation timestamp.

  • userInteracted (boolean): Indicates whether users have interacted.

  • lastMessageBy (array): Filter users based on the last message sender.

  • isLiveChatActive (boolean): Indicates whether live chat is active for users.

  • hasOrdered (object): Filter users based on their order history.

Sample Request

curl 'https://api-v7.express.com/inbox/users' \
  -X 'POST' \
  -H 'Authorization: Bearer [MASKED_TOKEN]' \
  -H 'Content-Type: application/json' \
  -d '{
    "searchText": "",
    "tags": [],
    "status": [],
    "isOnline": false,
    "_botWebsite": [],
    "_botWhatsapp": [],
    "_botTelegram": [],
    "_botFacebook": [],
    "_agentAssigned": [],
    "segments": [],
    "applicableFilters": ["userInteracted"],
    "lastSeenAt": {
      "startAt": "",
      "endsAt": ""
    },
    "createdAt": {
      "startAt": "",
      "endsAt": ""
    },
    "userInteracted": true,
    "lastMessageBy": [],
    "isLiveChatActive": false,
    "hasOrdered": {
      "status": false,
      "lastAt": ""
    },
    "page": 1,
    "isExport": "none",
    "isContact": true
  }' \
  --compressed

Replace [MASKED_TOKEN] in the request with your actual API token and customize the request body filters as needed for your use case.

Response

The API will respond with a JSON object containing the user data based on the applied filters. The response format may vary depending on the data available and the applied filters.

Please replace [MASKED_TOKEN] in the request with your actual API token for actual usage.

If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If not, write us at enquiries@eleapi.io.

PreviousContacts & Chats APIsNextGetting Groups/Segments

Last updated 7 months ago

Got any questions?

πŸ› οΈ
πŸ“„
❓