Skip to content

API Documentation

Base URL

https://api.cmp.kalapa.vn/v1


/config - Get Configuration

URL:

GET https://api.cmp.kalapa.vn/v1/config

Headers:

  • x-cmp-api-key: <API_KEY>

Description:

This API returns configuration information for the CMP.

Example cURL:

bash
curl 'https://api.cmp.kalapa.vn/v1/config' \
  -H 'x-cmp-api-key: <API_KEY>'

URL:

GET https://api.cmp.kalapa.vn/v1/consents

Query Parameters:

  • tracking_id: The tracking ID associated with the consent data you want to retrieve.

Headers:

  • x-cmp-api-key: <API_KEY>

Description:

This API returns the consent data associated with a specific Tracking ID.

Example cURL:

bash
curl 'https://api.cmp.kalapa.vn/v1/consents?tracking_id=<TRACKING_ID>' \
  -H 'x-cmp-api-key: <API_KEY>'

You can replace <API_KEY> and <TRACKING_ID> with the actual values when using the API.