Use these endpoints to interact with communication channels like WhatsApp. You can retrieve contacts and channels based on type, and tag users by their identifier (e.g., phone number).
π½ GET /api/public/channels/{channelType}/contacts β Retrieve Contacts by Channel Type
Fetches a list of contacts associated with the specified channel (e.g., WhatsApp).
Click to expand full details
πΉ URL
GET /api/public/channels/{channelType}/contacts
πΉ Path Parameters
Name
Type
Required
Description
channelType
string
β
The channel type (e.g., whatsapp)
πΉ Query Parameters
Name
Type
Required
Description
page
number
β
Page number for pagination
πΉ Headers
Name
Type
Required
Description
x-api-key
string
β
Your API key for authorization
πΉ Example Request
curl --request GET \
'https://iris-backend-production.up.railway.app/api/public/channels/whatsapp/contacts?page=1' \
--header 'x-api-key: YOUR_API_KEY'