ChatofyDevelopersv1.0
API KeysWebhooks
Chatofy API
/
Getting Started
API Resources
API v1.0 Live
99.99%
Developer APICampaignsCampaign Logs

Campaign Logs

Retrieves per-recipient delivery logs for a campaign. Each entry shows delivery status for an individual contact.

GET/api/v1/campaign/:id/logs

Query Parameters

4 parameters
:iduuidrequired

Campaign UUID (from List Campaigns response).

statusstringrequired

Filter: DELIVERED, READ, FAILED, SENT, REPLIED.

limitnumberrequired

Max per page (default: 50).

pagenumberrequired

Page number (default: 1).

Response Payload

200 OKapplication/json
statusstring

"1" = Success, "0" = Failure.

messageobject

The response data payload.

Code Snippets & Examples

curl -X GET "https://app.chatofy.in/api/v1/campaign/e4443e21-aaaa-0000-0000-000000000001/logs?limit=50&page=1" \
  -H "Authorization: Bearer YOUR_API_KEY"

Was this endpoint guide helpful?

Previous Endpoint
Get Campaign
Documentation
All Endpoints
© 2026 Chatofy Cloud Platform. All rights reserved.
Enterprise SLA•99.99% Guaranteed
curl -X GET "https://app.chatofy.in/api/v1/campaign/e4443e21-aaaa-0000-0000-000000000001/logs?limit=50&page=1" \
  -H "Authorization: Bearer YOUR_API_KEY"
200 OKapplication/json
{
  "success": true,
  "message": "Campaign logs retrieved successfully",
  "data": {
    "logs": [
      {
        "id": "log-uuid-001",
        "status": "READ",
        "created_at": "2026-06-15T00:01:00.000Z",
        "updated_at": "2026-06-15T00:04:30.000Z",
        "contact": {
          "id": "cnt-001",
          "first_name": "Jane",
          "last_name": "Doe",
          "phone_number": "+9198XXXXXXXX"
        }
      },
      {
        "id": "log-uuid-002",
        "status": "DELIVERED",
        "created_at": "2026-06-15T00:01:05.000Z",
        "updated_at": "2026-06-15T00:01:12.000Z",
        "contact": {
          "id": "cnt-002",
          "first_name": "Ravi",
          "last_name": "Kumar",
          "phone_number": "+9199XXXXXXXX"
        }
      },
      {
        "id": "log-uuid-003",
        "status": "FAILED",
        "created_at": "2026-06-15T00:01:15.000Z",
        "updated_at": "2026-06-15T00:01:15.000Z",
        "contact": {
          "id": "cnt-003",
          "first_name": "Ali",
          "last_name": null,
          "phone_number": "+9715XXXXXXXX"
        }
      }
    ],
    "pagination": {
      "total": 498,
      "page": 1,
      "limit": 50,
      "pages": 10
    }
  }
}