Blog
Github
  1. Contact
  • Getting Started
    • Introduction
    • Quickstart
    • Authentication
    • Status codes
  • Webhook
    • Webhook Setup
    • Webhook Events and Schema
  • API Reference
    • Contact
      • Listing
        GET
      • Create
        POST
      • Filter By SocialPlatformId
        GET
      • Form Fields
        GET
      • Detail
        GET
      • Update
        PATCH
      • Delete
        DELETE
      • Fetch Contact Groups
        GET
      • Update tags
        PATCH
    • Tag
      • Listing
    • Channel
      • Listing
      • Create
    • Ticket
      • Listing
      • Create
      • Filter by Contact ID
      • Form Fields
      • Update
      • Update status
    • Category
      • Listing
    • CxLog
      • Listing
    • Message
      • Send message
Blog
Github
  1. Contact

Fetch Contact Groups

GET
/api/v1/contacts/groups
This endpoint allows you to get contact groups. You can use this endpoint to get ids of contact groups to include in create contact endpoint.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apigw.klinkcx.com/api/v1/contacts/groups' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
  "total": 49,
  "page": 1,
  "pageSize": 10,
  "lastPage": 5,
  "data": [
    {
      "id": "7b03581e-78d1-47fa-aaf0-8f5b3733a803",
      "value": "new",
      "label": "new",
      "is_default": false
    }
  ]
}
Modified at 2026-01-08 17:54:58
Previous
Delete
Next
Update tags
Built with