Skip to main content
GET
/
exo-api
/
resources
/
{name}
/
{id}
Get a record
curl --request GET \
  --url https://api.example.com/exo-api/resources/{name}/{id}
Returns the transformed data for a specific record. The user must be authorized to view the record (admin or owner).

Path parameters

name
string
required
The resource name (e.g. contact, order).
id
integer
required
The record’s ID.

Request

curl -H "Authorization: Bearer YOUR_TOKEN" \
     https://your-app.com/exo-api/resources/contact/1

Response

Returns the record’s transformed fields directly (not wrapped in data). Example response:
{
  "id": 1,
  "name": "Jane Smith",
  "email": "[email protected]",
  "phone": "+1-555-0123",
  "created_at": "2026-03-28T14:30:00+00:00"
}

Errors

StatusDescription
403User is not authorized to view this record
404Resource or record not found