Skip to content

Get List Responses

This API is to get List Responses.

Parameters for getting List Responses

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/v1/apiClient/getResponses

bash
curl --location 'https://api.cellcast.com/api/v1/apiClient/getResponses?page=1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{API_KEY}}'

Replace with the actual API key that you own.

Responses

200 Success

json
{
    "meta": {
        "code": 200,
        "status": "SUCCESS"
    },
    "message": "You have 134 response(s)",
    "data": {
        "items": [
            {
                "from": "400000001",
                "body": "Multi Step Send Message Send Custom and Unsubscribe",
                "received_at": "2024-08-22T09:53:36.455Z",
                "message_id": ""
            },
            {
                "from": "400000002",
                "body": "Multi Step Send Message Send Custom and Unsubscribe",
                "received_at": "2024-08-20T15:23:52.615Z",
                "message_id": ""
            },
            {
                "from": "400000003",
                "body": "Multi Step Send Message to All except Unsubscribe",
                "received_at": "2024-08-20T15:17:57.617Z",
                "message_id": ""
            },
            {
                "from": "400000004",
                "body": "Multi Step Send Message to All except Unsubscribe",
                "received_at": "2024-08-20T15:14:22.598Z",
                "message_id": ""
            },
            {
                "from": "400000005",
                "body": "Multi Step Send Message to Custom Message",
                "received_at": "2024-08-20T15:14:09.498Z",
                "message_id": ""
            },
            {
                "from": "400000006",
                "body": "Multi Step Send Message to Custom Message",
                "received_at": "2024-08-20T15:12:21.078Z",
                "message_id": ""
            },
            {
                "from": "400000007",
                "body": "Multi Step Send Message to Custom Number",
                "received_at": "2024-08-20T15:10:07.118Z",
                "message_id": ""
            },
            {
                "from": "400000008",
                "body": "Multi Step Send Message to Sender",
                "received_at": "2024-08-20T15:06:34.396Z",
                "message_id": ""
            },
            {
                "from": "400000009",
                "body": "Multi Step FW Email",
                "received_at": "2024-08-20T13:43:23.002Z",
                "message_id": ""
            },
            {
                "from": "400000010",
                "body": "All and add tag",
                "received_at": "2024-08-19T16:27:58.550Z",
                "message_id": ""
            }
        ],
        "total": 134,
        "limit": 10,
        "totalPages": 14,
        "current": 1,
        "pagingCounter": 1,
        "hasPrevPage": false,
        "hasNextPage": true,
        "prevPage": null,
        "nextPage": 2
    },
    "error": {}
}

401 Unauthorized

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