Skip to content

Create Packet

POST
/v1/packets
curl --request POST \
--url https://api.deskew.dev/v1/packets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form files=binary \
--form uploads=example \
--form packet=example \
--form assignments=example \
--form webhook_url=example

Submit several documents (or one zip) as a packet. Always runs in the background.

Media typemultipart/form-data
Body_create_packet_v1_packets_post
object
files
Files
Any of:
Array<string>
uploads
Uploads
Any of:
Array<string>
packet
Packet
Any of:
string
assignments
Assignments
Any of:
string
webhook_url
Webhook Url
Any of:
string

Successful Response

Media typeapplication/json
Response Create Packet V1 Packets Post
object
key
additional properties
any

Example generated

{}

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": {}
}
]
}