Skip to main content

/kv/rest/v1/lists REST Method

Creates a new list.

Updated on
Jun 28, 2024

/kv/rest/v1/lists REST Method

Body Parameters

key
string
REQUIRED
The unique identifier for the list
items
array
REQUIRED
An array of items to be added to the list

Returns

200
Indicates that the new list was successfully created
Request
1
curl -X POST \
2
"https://api.quicknode.com/kv/rest/v1/lists" \
3
-H "accept: application/json" \
4
-H "Content-Type: application/json" \
5
-H "x-api-key: YOUR_API_KEY" \
6
-d $'{
7
"key": "my-list",
8
"items": ["item1"]
9
}'
10
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free