Skip to content

Jobs and Image Custom Fields

If you need information on how to download the image from an image custom field it can be found here.

This section documents how to upload a file to an image custom field when creating a job. Please note, this varies slightly from other custom field types in that you must include the custom field type.

You can upload one JPG, PNG, or PDF file to an image custom field. The file must be less than 5MB in size.

To upload an image you must first encode the image as base 64 encoded text. You then include this text in the data field shown in the example below.

If you would like to add a image to a job, you include the following XML in a POST:

    <custom_fields type="array">
        <custom_field>
            <name>The name of your image custom field here.</name>
            <type>image</type>
            <data>The base64 encoded value for your image file here.</data>
        </custom_field>
    </custom_fields>