Create attachment

Attaches a file to an application and returns the attachment. Uploading a resume or cover_letter turns the application's existing one of that type into other. A take_home_test submits the application's open take-home test, which can email graders, and fails when there is no open take-home test. An offer_letter replaces every document on the current offer, signed letters included, and may restart its approvals. A signed_offer_letter replaces signed letters on every offer version. Both offer letter types fail when the application has no offer. A request rejected for no open take-home test or no offer attaches nothing.

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

Id of the application the attachment will be associated with, from GET /v3/applications.

string
required

Filename to store the attachment under, including extension. Extensions present in the organization's blocklisted-extensions list are rejected.

string
enum
required

Classification of the attachment. resume, cover_letter, and take_home_test are candidate-supplied documents; offer_packet, offer_letter, and signed_offer_letter are offer documents; form_attachment is generated by Greenhouse forms; other is the free-form bucket. take_home_test requires an open (unsubmitted) take-home test on the application, and offer_letter and signed_offer_letter require an offer on the application; otherwise the request returns 422 and nothing is attached. E-signed agreement types (midfunnel_agreement, automated_agreement) can't be uploaded.

string
required

Base64-encoded file contents. Provide either content or url, not both.

string

Publicly fetchable URL Greenhouse should download the file from. Provide either url or content, not both.

string
enum

Who can see the attachment within Greenhouse. public is visible to site admins, job admins, and assigned interviewers. admin_only is restricted to site admins and assigned job admins. private is restricted to admins with explicit private-candidate access. This setting applies only to the other and form_attachment types, and defaults to admin_only. Resumes, cover letters and take-home tests are always public. Offer and agreement documents are always private.

Allowed:
Responses

401

Unauthorized

403

Forbidden

422

Unprocessable Content

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