API Endpoint
Last updated
Last updated
API Endpoints in Lleverage allow you to trigger workflows programmatically from your own applications. When you create a workflow with an API Call trigger, you can publish it to generate an endpoint that can be called from external systems.
Programmable access to your Lleverage workflows
Secure authentication with Lleverage API tokens
Code examples in multiple programming languages
Field specification for data transfer
Custom integration into your existing applications
Start by creating a workflow with an "API Call" trigger
Configure the required fields and authentication in the trigger settings
Build your workflow with the desired actions
Click the "Publish" button in the top right corner
The Publish Panel will display your API endpoint URL
💡 Read more about different trigger types in the Triggers documentation page.
Go to your Organization Settings
Find the section for API tokens
Generate a new Lleverage API token
Copy and store the token securely for future use
⚠️ API tokens provide access to your workflows, so keep them secure and never share them publicly.
Publish your workflow with an API Call trigger
In the Publish Panel, locate the "Get Code" button
Click the button to view code examples
Select from available programming languages:
Node.js
Python
PHP
Go
💡 These code examples provide ready-to-use templates that you can adapt for your specific integration needs.
Use the endpoint URL provided in the Publish Panel
Include your Lleverage API token in the authorization header
Structure your request body to include all fields defined in the trigger
Send the request using your preferred programming language or API client
⚠️ Always include all fields specified in the trigger configuration, even if you're not using them in your workflow. Missing fields will cause the API call to fail.
Use the provided code examples as a starting point
Modify the example with your actual API endpoint and token
Run the code from your development environment
Monitor the response to ensure successful workflow triggering
Check your workflow execution in the Lleverage platform
💡 We recommend implementing proper error handling in your API integration to manage any