> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Lever

## Overview

<CardGroup cols={3}>
  <Card title="Pre-built tooling" icon="screwdriver-wrench" href="#pre-built-tooling" />

  <Card title="Pre-built integrations" icon="square-check" href="#pre-built-integrations" />

  <Card title="Access requirements" icon="triangle-exclamation" href="#access-requirements" />

  <Card title="Setup guide" icon="rocket" href="#setup-guide" />

  <Card title="Useful links" icon="circle-info" href="#useful-links" />

  <Card title="API gotchas" icon="biohazard" href="#api-gotchas" />
</CardGroup>

## Pre-built tooling

<AccordionGroup>
  <Accordion title="✅ Authorization">
    | Tools                           | Status |
    | ------------------------------- | ------ |
    | Pre-built authorization (OAuth) | ✅      |
    | Credentials auto-refresh        | ✅      |
    | Auth parameters validation      | ✅      |
    | Pre-built authorization UI      | ✅      |
    | Custom authorization UI         | ✅      |
    | Expired credentials detection   | ✅      |
  </Accordion>

  <Accordion title="✅ Read & write data">
    | Tools                                     | Status                         |
    | ----------------------------------------- | ------------------------------ |
    | Pre-built integrations                    | ✅                              |
    | API unification                           | ✅                              |
    | 2-way sync                                | ✅                              |
    | Webhooks from Nango on data modifications | ✅                              |
    | Real-time webhooks from 3rd-party API     | 🚫 (time to contribute: \<48h) |
    | Proxy requests                            | ✅                              |
  </Accordion>

  <Accordion title="✅ Observability & data quality">
    | Tools                   | Status |
    | ----------------------- | ------ |
    | HTTP request logging    | ✅      |
    | End-to-end type safety  | ✅      |
    | Data runtime validation | ✅      |
    | OpenTelemetry export    | ✅      |
    | Slack alerts on errors  | ✅      |
    | Integration status API  | ✅      |
  </Accordion>

  <Accordion title="✅ Customization">
    | Tools                              | Status                         |
    | ---------------------------------- | ------------------------------ |
    | Create or customize use-cases      | ✅                              |
    | Pre-configured pagination          | 🚫 (time to contribute: \<48h) |
    | Pre-configured rate-limit handling | 🚫 (time to contribute: \<48h) |
    | Per-customer configurations        | ✅                              |
  </Accordion>
</AccordionGroup>

### Applications

| Function name                | Description                                                 | Type                                           | Source code                                                                                                                    |
| ---------------------------- | ----------------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `opportunities-applications` | Fetches a list of all applications for a candidate in Lever | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/opportunities-applications.ts) |

### Archived

| Function name         | Description              | Type                                         | Source code                                                                                                               |
| --------------------- | ------------------------ | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `get-archive-reasons` | Get all archived reasons | [Action](/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/get-archive-reasons.ts) |

### Notes

| Function name         | Description                                              | Type                                           | Source code                                                                                                             |
| --------------------- | -------------------------------------------------------- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `create-note`         | Action to create a note and add it to an opportunity.    | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/create-note.ts)       |
| `opportunities-notes` | Fetches a list of all notes for every single opportunity | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/opportunities-notes.ts) |

### Offers

| Function name          | Description                                               | Type                                           | Source code                                                                                                              |
| ---------------------- | --------------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `opportunities-offers` | Fetches a list of all offers for every single opportunity | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/opportunities-offers.ts) |

### Opportunities

| Function name                 | Description                                                                       | Type                                           | Source code                                                                                                                       |
| ----------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `create-opportunity`          | Create an opportunity and optionally candidates associated with the opportunity   | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/create-opportunity.ts)          |
| `update-opportunity`          | Update an opportunity                                                             | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/update-opportunity.ts)          |
| `update-opportunity-archived` | Update the archived state of an opportunity                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/update-opportunity-archived.ts) |
| `update-opportunity-links`    | Update the links in an opportunity                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/update-opportunity-links.ts)    |
| `update-opportunity-sources`  | Update the sources in an opportunity                                              | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/update-opportunity-sources.ts)  |
| `update-opportunity-stage`    | Update the stage in an opportunity                                                | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/update-opportunity-stage.ts)    |
| `update-opportunity-tags`     | Update the tags in an opportunity                                                 | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/update-opportunity-tags.ts)     |
| `opportunities`               | Fetches all opportunities                                                         | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/opportunities.ts)                 |
| `opportunities-feedbacks`     | Fetches a list of all feedback forms for a candidate for every single opportunity | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/opportunities-feedbacks.ts)       |
| `opportunities-interviews`    | Fetches a list of all interviews for every single opportunity                     | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/opportunities-interviews.ts)      |

### Postings

| Function name        | Description                                                                       | Type                                           | Source code                                                                                                            |
| -------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `postings`           | Fetches a list of all postings in Lever                                           | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/postings.ts)           |
| `postings-questions` | Fetches a list of all questions included in a posting’s application form in Lever | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/postings-questions.ts) |

### Posts

| Function name   | Description                                                                                                                              | Type                                         | Source code                                                                                                         |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `apply-posting` | Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings. | [Action](/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/apply-posting.ts) |
| `get-posting`   | Get single post for your account in Lever                                                                                                | [Action](/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/get-posting.ts)   |
| `get-postings`  | Get all posts for your account. Note that this does not paginate the response so it is possible that not all postings  are returned.     | [Action](/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/get-postings.ts)  |

### Stages

| Function name | Description                                                                                                                                  | Type                                           | Source code                                                                                                      |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `get-stages`  | Action to get lists all pipeline stages. Note that this does  not paginate the response so it is possible that not all stages  are returned. | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/get-stages.ts) |
| `stages`      | Fetches a list of all pipeline stages in Lever                                                                                               | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/syncs/stages.ts)       |

### Users

| Function name | Description                                                                           | Type                                         | Source code                                                                                                 |
| ------------- | ------------------------------------------------------------------------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `users`       | Lists all the users in your Lever account. Only active users are included by default. | [Action](/guides/functions/action-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/lever/actions/users.ts) |

## Access requirements

| Pre-Requisites    | Status | Comment |
| ----------------- | ------ | ------- |
| Paid dev account  | ❓      |         |
| Paid test account | ❓      |         |
| Partnership       | ❓      |         |
| App review        | ❓      |         |
| Security audit    | ❓      |         |

## Setup guide

*No setup guide yet.*

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

<Note>Contribute improvements to the setup guide by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/lever.mdx)</Note>

## Useful links

* [How to register an Application](https://hire.lever.co/developer/oauth#getting-set-up-with-oauth)
* [OAuth-related docs](https://hire.lever.co/developer/oauth#oauth-at-a-high-level)
* [API](https://hire.lever.co/developer/documentation#lever-api-reference)
* [Web API docs (their REST API)](https://hire.lever.co/developer/documentation)
* [API rate limiting](https://hire.lever.co/developer/documentation#rate-limits)

<Note>Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/lever.mdx)</Note>

## API gotchas

* You should create different integrations for using the Lever production vs. sandbox API.

<Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/lever.mdx)</Note>

<Card title="Connect to Lever" icon="link" href="/integrations/all/lever-basic/connect" horizontal>
  Guide to connect to Lever using Nango Connect.
</Card>
