Skip to content

Get List All Contacts

This API is to get list All Contacts.

Parameters for getting List All Contacts

Headers Parameters

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

Code Samples

GET https://api.cellcast.com/api/v2/contact/all/simple

bash
curl --location 'https://api.cellcast.com/api/v2/contact/all/simple' \
--header 'Authorization: Bearer {{API_KEY}}'

Replace with the actual API key that you own.

Responses

200 Success

json
[
    {
        "_id": "66df1a1b54b1200000000000",
        "name": "Jane Doe",
        "number": "400000000"
    },
    {
        "_id": "66db1c5be0a1230000000000",
        "name": "John Doe",
        "number": "400000001"
    }
]

401 Unauthorized

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