Request IDs

Request IDs

Each API call comes with a corresponding request identifier. This identifier is located in the response headers, labeled as x-request-id. Should you need to reach out to us regarding a particular request, supplying the request identifier will facilitate the quickest possible resolution.

Example

import request from 'request';

request(
  {
    json: true,
    url: 'https://api.kulipa.xyz/v1/cards',
    headers: { 'x-api-key': 'apiKeyXxx' },
  },
  (err, res, body) => {
    requestId = res.headers['x-request-id']; // x-request-id: 6998977e-ee84-4729-821c-ceba9c0434a0
  },
);