API Responsesbeginner

Single Resource Success Response JSON Example

A clean envelope-style API response for returning one resource with metadata.

Real-world use case: Use this for REST endpoints that return a single record plus request metadata.
1{
2 "data": {
3 "id": "usr_8f41",
4 "fullName": "Maya Patel",
5 "email": "[email protected]"
6 },
7 "meta": {
8 "requestId": "req_1182",
9 "servedAt": "2026-03-12T10:18:00Z"
10 },
11 "error": null
12}

Where this shape shows up in production

REST APIs
Admin endpoints
Mobile app backends

Related examples