curl --request POST \
--url https://app.nex.ai/api/developers/v1/objects/{slug}/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": [
"alice@techcorp.com"
],
"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": [
"bob@startup.io"
],
"job_title": "Founder",
"location": {
"city": "San Francisco",
"region": "CA",
"country": "US"
}
}
}
],
"limit": 50,
"offset": 0,
"total": 247
}Retrieves records (entities) for a specific object type with pagination and optional filtering
curl --request POST \
--url https://app.nex.ai/api/developers/v1/objects/{slug}/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": [
"alice@techcorp.com"
],
"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": [
"bob@startup.io"
],
"job_title": "Founder",
"location": {
"city": "San Francisco",
"region": "CA",
"country": "US"
}
}
}
],
"limit": 50,
"offset": 0,
"total": 247
}API key for authentication (format: "Bearer YOUR_API_KEY")
Object slug (e.g., 'person', 'company')
List records request with pagination and filtering options
Attributes parameter supports both string values ('all', 'primary', 'none') and object format for custom selection
all, primary, none List of records with pagination info