Set a custom field
curl --request PUT \
--url https://api.hotfix.jobs/v1/employer/applications/{application_id}/fields/{key} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": "175000"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({value: '175000'})
};
fetch('https://api.hotfix.jobs/v1/employer/applications/{application_id}/fields/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hotfix.jobs/v1/employer/applications/{application_id}/fields/{key}"
payload = { "value": "175000" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"custom_fields": [
{
"id": "8b0f6f7e-1c2d-4e3f-9a8b-7c6d5e4f3a21",
"key": "salary_expectation",
"name": "Salary expectation",
"type": "currency",
"value": "175000",
"display": "$175,000"
}
]
}Fields
Set a custom field
Set or clear one custom field on an application. Send value as text, in the form the field’s type takes; an empty value clears it. The change shows in the application’s activity.
PUT
/
v1
/
employer
/
applications
/
{application_id}
/
fields
/
{key}
Set a custom field
curl --request PUT \
--url https://api.hotfix.jobs/v1/employer/applications/{application_id}/fields/{key} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": "175000"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({value: '175000'})
};
fetch('https://api.hotfix.jobs/v1/employer/applications/{application_id}/fields/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hotfix.jobs/v1/employer/applications/{application_id}/fields/{key}"
payload = { "value": "175000" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"custom_fields": [
{
"id": "8b0f6f7e-1c2d-4e3f-9a8b-7c6d5e4f3a21",
"key": "salary_expectation",
"name": "Salary expectation",
"type": "currency",
"value": "175000",
"display": "$175,000"
}
]
}Authorizations
ApiKeyBearerAuth
Path Parameters
Body
application/json