Upload file and link to applicant

Upload file and link to applicant.

Uploads a file to S3 and links it to the applicant in a single call.
Consolidation of /upload + direct S3 POST + /link_upload.

Allowed file types: PDF, JPG, JPEG, PNG, GIF, HEIC, HEIF, WEBP, AVIF, DOC, DOCX, TXT.

Maximum file size: 15MB.

Use this endpoint to upload a secure file and link it to an applicant in one request. It replaces the separate S3 upload and link_upload calls.

Send a multipart/form-data request with these fields:

FieldRequiredDescription
fileYesThe file to upload. Allowed types are PDF, JPG, JPEG, PNG, GIF, HEIC, HEIF, WEBP, AVIF, DOC, DOCX, and TXT. The maximum size is 15 MB.
keyYesFountain file identifier, also called the data key.
attribute_to_applicantNoSet to true to show the applicant as the actor for the upload in the History panel. Omit it to attribute the upload to the caller. A Fountain One OAuth token attributes it to the Hire user with the token's email: your own user for a personal key, the integration's user for an integration key. A Hire API key, or a token whose email matches no Hire user, attributes it to the account owner. A request that sends both a Hire API key and a token is attributed by the Hire API key.

Example request fields:

file=@/path/to/driver_license.pdf
key=driver_license
attribute_to_applicant=true

A successful request returns:

{ "uploaded": true }
Path Params
string
required
Body Params
file
required

File binary to upload

string
required

Fountain file identifier (e.g. driver_license)

boolean

When true, attributes the upload to the applicant (rather than the caller) in the History panel.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json