Skip to content

Get All Contact API

This API is to get list All Contacts.

Parameters for Update Contact API

Headers Parameters

ParametersDescription
AuthorizationPlease add provided Bearer token - linked to your Cellcast account. Check here
Content-Typeapplication/json

Request Query Parameters

NameExampleDescription
page1number of page, default value : 1
limit10number of limit data, default value : 1000
tag675287bc817522401acxxxxxTag ID: Use a comma separator to filter by multiple IDs
list675287bc817522401acxxxxxList ID: Use a comma separator to filter by multiple IDs
tagNamemy-tagFilter by name of tag
listNamemy-listFilter by name of list

Curl Samples

Post https://api.cellcast.com/api/v2/contact

bash
curl --location --request GET 'https://api.cellcast.com/api/v2/contact?tagName=my-tag&listName=my-list&tag=673b085a6a1eaad90a7exxxx&list=672c4fb0f48495f13ae8xxxx&page=1&limit=10' ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{API_KEY}}' \
'

Replace with the actual API key that you own.

Responses

200 Success

json
{
    "message": "Success",
    "data": {
        "items": [
            {
                "ID": "672c50531076dc19c768xxxx",
                "Number": "403816000",
                "First Name": "Cellcast",
                "Last Name": "Contact",
                "Email": "[email protected]",
                "Unsubscribe": false,
                "Tags": [
                    {
                        "ID": "6705f869596ff04130325xxx",
                        "Name": "my-tag"
                    }
                ],
                "Lists": [
                    {
                        "ID": "672c4fb0f48495f13ae69xxx",
                        "Name": "my-list"
                    }
                ]
            }
        ],
        "next": 2,
        "current": 1,
        "prev": null
    }
}

401 Unauthorized

json
{
  "code": 401,
  "message": "Token expired",
  "stack": "APIError: Token expired ...."
}