Upload documents to be attached to applications

Uploading files to this endpoint enables you to attach them to an application later. Please keep in mind that the auto-generated code on the right-hand side when adding a file from this tool should only be considered as a guide, and might not work when copy-pasting in your code directly. Please refer to the documentation for the language/library you are using on how to upload a multipart-form-data file.

Body Params
file
required

The file to be uploaded.

Maximum file size: 20MB

Must be one of the supported types: pdf, pptx, xlsx, docx, doc, xls, ppt, ods, odt, 7z, gz, rar, zip, bmp, gif, jpg, png, tif, csv, txt, rtf, mp4, 3gp, mov, avi, wmv

Headers
string

The partner identifier

string

The application identifier

string
required

Your company's Personio Id

Responses

401

Unauthorized - The API token and/or company id was not recognized. Please provide a valid API token in as value of an Authorization header, like Bearer api-token-value.

403

Forbidden - Your company does not have access to one of the features used in this request.

429

Too Many Requests - You have exceeded the rate-limit for your API call.

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