Work in Progress: How to fetch job offers from Lever’s API

  • Add an Option Buttons component

  • Create a new computed field

  • Add the following code:

function result() {
    return fetch(`${encodeURIComponent('<>')}`, {
      headers: {
        Authorization: "Basic API KEY" //replace with the API key
      .then(res => res.json())
      .then(json => {return => job.state == "published").map(j => ({ key:, text: j.text, description:, url:, triggerEvent: 'open-url' }))})
  • Select the Option Buttons and go to More Options

  • Open the Advanced dropdown and in the OPTIONAL - BUTTON REPEATER KEY select the computed field that fetches the options

Last updated