Skip to main content
GET
/
exo-api
/
resources
/
{name}
List records
curl --request GET \
  --url https://api.example.com/exo-api/resources/{name}
Returns records for the given resource. Results are paginated and can be searched. Non-admin users only see records they own (based on the resource’s ownerColumn). Admins see all records.

Path parameters

name
string
required
The resource name (e.g. contact, order).

Query parameters

Search term to filter results. Matches against the resource’s searchable columns.
per_page
integer
default:"15"
Number of records per page.
page
integer
default:"1"
Page number.

Request

curl -H "Authorization: Bearer YOUR_TOKEN" \
     "https://your-app.com/exo-api/resources/contact?search=jane&per_page=10"

Response

Returns a standard Laravel paginated response. The data array contains the transformed records. Example response:
{
  "data": [
    {
      "id": 1,
      "name": "Jane Smith",
      "email": "[email protected]",
      "created_at": "2026-03-28T14:30:00+00:00"
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 10,
  "total": 1,
  "next_page_url": null,
  "prev_page_url": null
}

Errors

StatusDescription
404Resource name not found