API Reference
API Reference

/candidates/:id/update_custom_attribute_value

Updates a custom attribute value for a candidate. Required scope: r_jobs. Accessible with all token types.

Boolean

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
checked (required)booleantrue | false

A complete request would be:

{ 
  "custom_attribute_key": "13e0eb0e", 
  "checked": "true"
}

Short text

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
value (required)stringThe candidate's response (maximum 128 characters)

A complete request would be:

{ 
  "custom_attribute_key": "13e0eb0e", 
  "value": "This is a test"
}

Free text

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
value (required)textThe candidate's response

A complete request would be:

{ 
  "custom_attribute_key": "13e0eb0e", 
  "value": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreat."
}

Numeric

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
value (required)integerThe value may be an integer or floating point number (use '.' as decimal point separator)

A complete request would be:

{
    "custom_attribute_key": "5331",
    "value": 1234
}

File (base64 encoded)

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
file/name (required)stringThe file name
file/data (required)stringThe candidate’s file encoded in base64

A complete request would be:

{
    "custom_attribute_key": "52f",
    "file": {
        "name": "updated_custom_attribute_file.pdf",
        "data": "d29ya2FibGUgcnVsZXoK"
    }
}

File (URL)

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
file_url (required)stringA URL pointing to the candidate’s answer

A complete request would be:

{
    "custom_attribute_key": "52f",
    "file_url": "https://somedomain.com/abcdefgh.jpg"
}

Date

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute identifier
date (required)stringThe date in ISO 8601 format (i.e. "2017-05-22")

A complete request would be:

{
    "custom_attribute_key": "52d",
    "date": "1970-01-01"
}

Dropdown

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
choices (required)array of strings[choices_ids]. Provide only one selected choice

A complete request would be:

{
    "custom_attribute_key": "52e",
    "choices": ["1228"]
}

Multiple choice

keytypedescription
custom_attribute_key (required)stringThe unique custom attribute key
choices (required)array of strings[choices_ids]. For single answer questions provide only one selected choice

A complete request would be:

{
    "custom_attribute_key": "534",
    "choices": ["122d", "122e"]
}
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!