Uploads

Create an upload session

Registers one or more files (1 to 6,000) and returns the part size to use when uploading each of them. Every file needs at least one available credit at this point, so an account with fewer available credits than files is refused with INSUFFICIENT_CREDITS.

Idempotent: a retry with the same upload_session_id and the same files returns the existing session. The same upload_session_id with different files is SESSION_ALREADY_INITIALIZED.

Rate limit: 600 requests per minute per API key, shared by the upload endpoints.

post/uploads/sessions

Request

  • Base URL: https://api.invoicedataextraction.com/v1
  • URL: https://api.invoicedataextraction.com/v1/uploads/sessions
  • Auth: HTTP bearer

Request body

upload_session_idstring required

An identifier you choose: 1 to 200 characters from letters, digits, dots, underscores, colons and hyphens. Used for upload_session_id, file_id and submission_id.

Response

The session, with the part size to upload each file in.

successtrue required
upload_session_idstring required

An identifier you choose: 1 to 200 characters from letters, digits, dots, underscores, colons and hyphens. Used for upload_session_id, file_id and submission_id.

Changes

No recorded changes to this operation across all 1 revision of this API.