eTelecom docs
English
English
  • INSTRUCTIONS FOR USE
    • Administration page for cs.etelecom
    • Google Chrome Extension
    • App eTelecom
  • API INTEGRATION
    • Shop
      • Account
      • Usage
    • Partner
      • Account
      • Usage
    • VPBX
      • VoIP SDK
        • Android
        • iOS
        • Web
        • Flutter
      • PBX REST APIs
        • Partner Get Tenant List
        • Partner Add Hotline
        • Partner Get Hotline List
        • Partner Activate Tenant
        • Partner Add Hotline To Tenant
        • Partner Removed Hotline From Tenant
        • Partner Remove Hotline
        • Create Tenant
        • Get Tenant information
        • Get Driver Config
        • Get hotline list
        • Create Account User
        • Get List User
        • Create extension
        • Get extension information
        • Get extension list
        • Assign extension to user
        • Change hotline for extension
        • Remove User Of Extension
        • Get call history
    • Zalo Cloud
      • Instructions for connecting Zalo Cloud
      • Zalo Cloud API
        • Create OA authorization link
        • Connect OA
        • Get refresh token
        • Get OA list
        • Get OA information
        • Update Webhook for OA
        • Get list of users
        • Send Text Consulting
        • Send Consulting message according to user information request form
        • Send advice message with sticker
        • Send message Consulting with attached photo
        • Send message Consulting attached file
        • Send transaction message
        • Upload file
        • Send request for calling permission
        • Check if the customer has granted calling permission
        • Get list of requests for calling permission
        • Create a news template
        • Get sample details
        • Get list of news samples
        • Journey Token Creation
        • Get Journey Token Details
        • Get Journey Token List
        • Get message list
        • Get message details
        • Send ZNS
        • Send ZNS with Journey Token
  • SMS BRANDNAME
    • User manual
    • SMS API
      • Send SMS
      • Get message status
      • Get sample details
Powered by GitBook
On this page
  1. API INTEGRATION
  2. Zalo Cloud
  3. Zalo Cloud API

Get list of users

This API is used to get the list of users interacting with OA

PreviousUpdate Webhook for OANextSend Text Consulting

Last updated 5 months ago

Note:

  • For APIs used for Shop, the API key is: . The base_url information of the .

  • For APIs used for Partner, the API key is: . The base_url information of the .

Request:

curl --location '$BASE_URL.Zalo/ListFollowers' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
  "filter": {
    "assigned_user_id": "string",
    "date_from": "2019-08-24T14:15:22Z",
    "date_to": "2019-08-24T14:15:22Z",
    "gender": "unknown",
    "has_conversation": true,
    "name": "string",
    "oa_id": "string",
    "phone": "string",
    "state": "follow",
    "tags": [
      "string"
    ],
    "zl_user_id": "string",
    "zl_user_ids": [
      "string"
    ]
  },
  "paging": {
    "after": "string",
    "before": "string",
    "limit": 0,
    "sort": "string"
  }
}'

Response:

{
  "followers": [
    {
      "assigned_user_id": "string",
      "avatar": "string",
      "avatars": {
        "120": "string",
        "240": "string"
      },
      "created_at": "2019-08-24T14:15:22Z",
      "full_name": "string",
      "gender": "unknown",
      "has_conversation": true,
      "id": "string",
      "oa_id": "string",
      "phone": "string",
      "shared_info": {
        "address": "string",
        "city": "string",
        "district": "string",
        "name": "string",
        "phone": "string",
        "ward": "string"
      },
      "shop_id": "string",
      "state": "follow",
      "tags_and_notes_info": {
        "notes": [
          "string"
        ],
        "tag_names": [
          "string"
        ]
      },
      "updated_at": "2019-08-24T14:15:22Z",
      "zl_user_id": "string",
      "zl_user_id_by_app": "string"
    }
  ],
  "paging": {
    "after": "string",
    "before": "string",
    "limit": 0,
    "next": "string",
    "prev": "string",
    "sort": "string"
  }
}

Request body structure

Parameters
Data type
Describe

assigned_user_id

string

Employee ID assigned

id

int64

OA ID

name

string

Zalo Username

date_from

string<date-time>

Start date

date_to

string<date-time>

End date

gender

string (pwGender) Enum

Gender " unknown" " male" female" " other"

has_conversation

boolean

True: Have a conversation

False: No conversation

phone

string

User phone number

state

string (gqFollowState) Enum

follow: Interested

tags

Array of strings

Labels assigned to users

zl_user_id

string

Zalo User ID

Return data attribute structure

Parameters
Data type
Describe

assigned_user_id

string

Employee ID assigned

avatar

string

User avatar

full_name

string

User name

id

string

User ID on eTelecom

id

int64

OA ID

shared_info

object (mrSharedInfo)

User consents to share information

address

string

Address

city

string

City

district

string

District

ward

string

Ward

name

string

Zalo Username

created_at

string<date-time>

Time of recording interaction

updated_at

string<date-time>

Update time

gender

string (pwGender) Enum

Gender " unknown" " male" female" " other"

has_conversation

boolean

True: Have a conversation

False: No conversation

phone

string

User phone number

shop_id

string

Shop ID on eTelecom

state

string (gqFollowState) Enum

follow: Interested

unfollow: Not interested

tags

Array of strings

Labels assigned to users

zl_user_id

string

Zalo User ID

zl_user_id_by_app

string

Zalo user ID by app

<api_key>
Shop
<shop_key>
Partner

ListFollowers

post
Body
Responses
200
A successful response
application/json
post
POST /ListFollowers HTTP/1.1
Host: $BASE_URL.Zalo
Content-Type: application/json
Accept: */*
Content-Length: 343

{
  "filter": {
    "assigned_user_id": "text",
    "date_from": "2025-06-14T21:48:02.854Z",
    "date_to": "2025-06-14T21:48:02.854Z",
    "gender": "unknown",
    "has_conversation": true,
    "name": "text",
    "oa_id": "text",
    "phone": "text",
    "state": "follow",
    "tags": [
      "text"
    ],
    "zl_user_id": "text",
    "zl_user_ids": [
      "text"
    ]
  },
  "paging": {
    "after": "text",
    "before": "text",
    "limit": 1,
    "sort": "text"
  }
}
200

A successful response

{
  "followers": [
    {
      "assigned_user_id": "text",
      "avatar": "text",
      "avatars": {
        "120": "text",
        "240": "text"
      },
      "created_at": "2025-06-14T21:48:02.854Z",
      "full_name": "text",
      "gender": "unknown",
      "has_conversation": true,
      "id": "text",
      "oa_id": "text",
      "phone": "text",
      "shared_info": {
        "address": "text",
        "city": "text",
        "district": "text",
        "name": "text",
        "phone": "text",
        "ward": "text"
      },
      "shop_id": "text",
      "state": "follow",
      "tags_and_notes_info": {
        "notes": [
          "text"
        ],
        "tag_names": [
          "text"
        ]
      },
      "updated_at": "2025-06-14T21:48:02.854Z",
      "zl_user_id": "text",
      "zl_user_id_by_app": "text"
    }
  ],
  "paging": {
    "after": "text",
    "before": "text",
    "limit": 1,
    "next": "text",
    "prev": "text",
    "sort": "text"
  }
}