Setup
Navigate to the settings page in Levers app, and scroll to the API keys section. Click on Add API key.

Integration
API Authentication
Learn how to authenticate your API requests using your client credentials.
Quickstart Code
Get started with sample code for making your first API call.
API Authentication
To authenticate with the Levers API, you need to obtain a bearer token using your client credentials.Step 1: Get Your Access Token
Step 2: Use the Access Token
Include the access token in theAuthorization header for all subsequent API requests:
Quickstart Code
Install the following packages:.env file in the root directory of your project and add the following variables:
main.py in the root directory of your project and copy the following code into it:
Integrating AI Phone Calls
Learn how to integrate AI-powered phone calls for automated collections and customer communication.Create Contact
First, create a contact that will receive the AI phone call.For more details, see the Create Contact API reference.
Fetch Contacts
Retrieve your contacts to get the contact UUID for the AI phone call.For more details, see the Get Contacts API reference.
Trigger AI Phone Call
Use the contact UUID to initiate an AI-powered phone call.For more details, see the Call Contact API reference.

