Create a list
POST/v1/lists
Creates a new list. The $name and $objectType fields are required.
Supports idempotency via the Idempotency-Key header.
Required scope: lists:create
Rate limit category: Write
Body ParametersJSON
Returns
Create a list
curl https://api.lightfield.app/v1/lists \
-H 'Content-Type: application/json' \
-H 'Lightfield-Version: 2026-03-01' \
-H "Authorization: Bearer $API_KEY" \
-d '{
"fields": {
"$name": "$name",
"$objectType": "account"
}
}'{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}