Skip to main content
POST
/
v1
/
files
Create File Endpoint
curl --request POST \
  --url https://api.extract.page/v1/files \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "size_bytes": 123,
  "filename": "<string>",
  "content_type": "<string>"
}
'
{
  "id": "<string>",
  "customer_id": "<string>",
  "status": "<string>",
  "size_bytes": 123,
  "created_at": "<string>",
  "expires_at": "<string>",
  "upload": {
    "method": "<string>",
    "url": "<string>",
    "expires_at": "<string>"
  },
  "object": "file",
  "filename": "<string>",
  "content_type": "<string>",
  "sha256": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.extract.page/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Body

application/json
size_bytes
integer
required
filename
string | null
Maximum string length: 512
content_type
string | null
Maximum string length: 128

Response

Successful Response

id
string
required
customer_id
string
required
status
string
required
size_bytes
integer
required
created_at
string
required
expires_at
string
required
upload
UploadDescriptor · object
required
object
string
default:file
filename
string | null
content_type
string | null
sha256
string | null