Put List
PUT
/v1/lists/{name}
const url = 'https://api.deskew.dev/v1/lists/example';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'text/csv'}, body: 'binary'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.deskew.dev/v1/lists/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: text/csv' \ --data binaryCreate a list (201) or replace it and bump its version (200). Limits: 100,000 rows, 5 MB, 20 columns.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
required
Name
string
Query Parameters
Section titled “Query Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”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
object
file
required
string format: binary
Responses
Section titled “Responses”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>
ValidationErrorobject
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": {} } ]}