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. The SwaggerUI API Documentation and OpenAPI Specifications 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. In this way, you can reach Wizard API; however, in Admin Center, Analytics, and Integration Hub, you can reach the API URL and API Docs in the same way (via the About dialog).
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
WIZARD_API_URL = '...'
API_KEY = '...'
response = requests.get(
url=f'{WIZARD_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"]}')