curl --request POST \
--url https://app.nex.ai/api/developers/v1/objects/{slug}/lists \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "VIP Contacts",
"slug": "vip-contacts",
"description": "High-value contacts"
}
'{
"attributes": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"options": {
"is_multi_value": true,
"is_required": true,
"is_unique": true,
"is_whole_number": true,
"select_options": [
{
"id": "<string>",
"name": "<string>"
}
],
"use_raw_format": true
},
"slug": "<string>",
"type": "<string>"
}
],
"created_at": "<string>",
"description": "<string>",
"id": "<string>",
"name": "<string>",
"name_plural": "<string>",
"slug": "<string>",
"type": "<string>"
}Creates a new list associated with a specific object type
curl --request POST \
--url https://app.nex.ai/api/developers/v1/objects/{slug}/lists \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "VIP Contacts",
"slug": "vip-contacts",
"description": "High-value contacts"
}
'{
"attributes": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>",
"options": {
"is_multi_value": true,
"is_required": true,
"is_unique": true,
"is_whole_number": true,
"select_options": [
{
"id": "<string>",
"name": "<string>"
}
],
"use_raw_format": true
},
"slug": "<string>",
"type": "<string>"
}
],
"created_at": "<string>",
"description": "<string>",
"id": "<string>",
"name": "<string>",
"name_plural": "<string>",
"slug": "<string>",
"type": "<string>"
}API key for authentication (format: "Bearer YOUR_API_KEY")
Object slug (e.g., 'person', 'company')
List to create
Created list
Hide child attributes
Hide child attributes