List contacts in a group

GET/sms-api/contact/getContacts/{groupId}

Contacts in a group, 15 per page. An empty group returns the plain envelope with an empty data array instead of the paginated one.

Parameters

  • groupIdpathstringrequired

    Group id.

  • pagequeryintegeroptional

    Page number, starting at 1.

Errors

  • 403Unauthorized. You do not own this contact group.
  • 404Contact group not found.

Request

curl -X GET "https://api.bulkclix.com/api/v1/sms-api/contact/getContacts/7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Accept: application/json"

Response · 200

application/json
{
  "data": [
    {
      "id": "e1f2…",
      "first_name": "Ama",
      "last_name": "Mensah",
      "phone_number": "233241234567",
      "email": "ama@example.com",
      "date": "01/12/2026",
      "time": "8:05 AM"
    }
  ],
  "links": {
    "first": "…",
    "last": "…",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "per_page": 15,
    "to": 1,
    "total": 1
  }
}