Upload document for a token

Upload document for a token. Please note that the requester must be able to administrate the token.

This endpoint requires a form-data request with the following fields:
- files: The PDF file to upload (max 2MB)
- label: The document label
- language: ISO 639-1 language code (e.g., "en", "fr", "es")

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

The token document file with metadata

string
required

Label of the new token document.

string
enum
required

Language of the document (ISO 639-1 code, e.g. "en", "fr", "es").

Allowed:
file
required

Array of PDF document files to upload (max 2MB each). Only the first file will be processed.

Responses

400

Token document upload failed due to invalid data.

You must upload a file to create a token document.

File size cannot be larger than 2MB.

You can only upload PDF files.

401

Unauthorized.

404

Token not found.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json