cURL
curl --request POST \ --url https://app.nex.ai/api/developers/v1/lists/{id}/records \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "attributes": "all", "limit": 50, "offset": 0, "sort": { "attribute": "name", "direction": "asc" } } '
{ "data": [ { "id": "32414268188027655", "object_id": "32414268188027650", "type": "person", "workspace_id": "32414268188027645", "created_at": "2024-01-15T14:20:00Z", "updated_at": "2024-01-20T09:15:00Z", "attributes": { "name": { "first_name": "Alice", "last_name": "Johnson" }, "email_addresses": [ "[email protected]" ], "job_title": "Product Manager", "phone_number": { "country_code": 1, "number": "5551112222" } } }, { "id": "32414268188027656", "object_id": "32414268188027650", "type": "person", "workspace_id": "32414268188027645", "created_at": "2024-01-16T08:30:00Z", "updated_at": "2024-01-16T08:30:00Z", "attributes": { "name": { "first_name": "Bob", "last_name": "Wilson" }, "email_addresses": [ "[email protected]" ], "job_title": "Founder", "location": { "city": "San Francisco", "region": "CA", "country": "US" } } } ], "limit": 50, "offset": 0, "total": 247 }
Retrieves all records that belong to a specific list with pagination
API key for authentication (format: "Bearer YOUR_API_KEY")
List ID
List records request with pagination options
Attributes parameter supports both string values ('all', 'primary', 'none') and object format for custom selection
all
primary
none
Show child attributes
attribute slug or ID
"asc" or "desc"
List of records with pagination info