Skip to content

Put List

PUT
/v1/lists/{name}
curl --request PUT \
--url https://api.deskew.dev/v1/lists/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/csv' \
--data binary

Create a list (201) or replace it and bump its version (200). Limits: 100,000 rows, 5 MB, 20 columns.

name
required
Name
string
key
Key

Header of the key column (default: the first)

Any of:
string
<= 255 characters

Header of the key column (default: the first)

The CSV, either as the raw body (Content-Type: text/csv) or as a multipart form with a file field. The first row is the header.

string format: binary

Successful Response

Media typeapplication/json
Response Put List V1 Lists Name Put
object
key
additional properties
any

Example generated

{}

Created

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}