Fetch KPI Component Data

GET/components/kpis/{kpiComponentId}

Returns data for a KPI component.

KPI components display a single aggregated value together with:

  • title
  • value
  • footer
  • optional redirect link
Base URL
https://api.client.com

Request

Path parameters

kpiComponentIdstringrequired

The KPI component ID.

Query parameters

reference_idstring

The reference ID identifying the external account or entity.

languagestring

Language identifier.

localestring

Locale identifier.

Request example

cURL · cURL
curl -L -X GET "https://api.client.com/components/kpis/{kpiComponentId}" \
  -H "Accept: application/json"

Responses

KPI component data.

application/json
titlestring

KPI title.

Example: Total
valuestring

KPI value.

Example: 954.32
footerstring

KPI footer text.

Example: Buy More Credit
linkstring (uri)

Redirect URL.

Example: https://www.SMS.es.com
Example response
{
  "title": "Total",
  "value": "954.32",
  "footer": "Buy More Credit",
  "link": "https://www.SMS.es.com"
}