ARTICLE
Where can i find information on API integration response envelopes?
Discover insights on key topics that enhance understanding and offer practical knowledge for everyday applications.
All responses are wrapped in an envelope that typically contains:
- data: The main payload (object or array).
- meta: Additional metadata (e.g., total count for paginated responses).
- links: Navigation links (e.g., next, previous pages).
For example, a list endpoint response might look like:
{ "data": [ { ... }, { ... } ], "meta": { "totalCount": 25 }, "links": { "next": "https://api.centtrip.com/eu/v1/...", "prev": "..." } }