Returns the offer related data of the given candidate. Required scope: r_candidates
. Accessible with all token types.
Results
Calling the /candidates/:id/offer
endpoint returns a JSON array of the candidate's latest offer.
This is an example object that has the following keys (response may differ per account):
key | type | description |
---|---|---|
candidate/id |
| The candidate key |
candidate/name |
| The candidate full name |
created_at |
| The offer creation date |
document_variables |
| The document variables of the offer |
documents |
| The documents related to the offer (Offer letter & other documents) |
state |
| The state of the offer ('accepted', 'rejected' etc.) |
Document variables
The document_variables array contains variable objects in the following format:
key | type | description |
---|---|---|
document_variable/name |
| The name of the document variable |
document_variable/slug |
| Slug of the document variable |
value/body |
| The value body (in all cases except salary type variables) |
value/data |
| The value data (only in salary type variables) |
value/data/amount |
| The amount of salary |
value/data/frequency |
| The frequency of the amount of salary |
value/data/currency_iso |
| The currency of salary |
value/data/cached_value |
| The salary details in plain language |
Documents
The documents array contains offer related documents in the following format:
key | type | description |
---|---|---|
name |
| The name of the filename |
preview_url |
| The full url to the document |
kind |
| The type of the document ("Offer" etc.) |