Integration via API#
An Application Programming Interface (API) allows machines, such as other systems and tools, to perform actions and transfer data based on agreed-upon methods.
By selecting the About option from the Profile menu, users are directed to the About page where the API URL and API Docs are provided. Each instance includes SwaggerUI API Documentation, which allows you to explore all operations and data transfer and also you to directly try out the API calls, with example responses provided for guidance.
Example#
After obtaining your authentication token and reviewing the API documentation, you can start making API calls to execute actions and transfer data, easily integrating them into your projects. Here’s a simple example using the Requests library in Python:
import requests
API_URL = '...'
API_KEY = '...'
response = requests.get(
url=f'{API_URL}/users/current',
headers={'Authorization': f'Bearer {API_KEY}'},
)
response.raise_for_status()
user = response.json()
print(f'This API Key belongs to {user["email"]}')