API Reference
API Reference

/candidates/:id/files

Returns the files associated with the given candidate. Accessible with all token types.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Results

Calling the /candidates/:id/files endpoint returns a JSON array of the candidate's files found in the Files tab.

keydescription
filesarray of files

Each file has the following keys:

keytypedescription
namestringThe name of the file
preview_urlstringThe URL to preview or download the file
kindstringThe kind of document. Only present for offer-related files
sourcestringThe source/type of the file

File URL expiration

The file URLs returned by this endpoint are pre-signed Amazon S3 URLs and are temporary. Each URL includes an X-Amz-Expires parameter set to 60000, meaning the link expires 60,000 seconds (16 hours and 40 minutes) after it is generated.
Do not store or cache these URLs for long-term use. If you need to access a file after the URL has expired, make a new request to this endpoint to retrieve a fresh link.


Path Params
string
required

The candidate's id

Responses

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