Skip to main content
GET
/
callback
/
display-contacts
Display contacts by tag and user ID
curl --request GET \
  --url https://api.cleartalk.ai/callback/display-contacts \
  --header 'x-api-key: <api-key>'

Authorizations

x-api-key
string
header
required

API Key for authentication

Query Parameters

selectedTag
string
required

Selected tag to filter contacts

userId
number
required

User ID

isGHL
string
required

Indicate whether contacts should be obtained from GHL or from the local database

listName
string

Name of the list to filter contacts (only applies when isGHL is false)

Response

200

Returns list of contacts