Server-to-server
REST API¶
Use an API token created for your portal to read the businesses your integration can access.
Base URL
https://api.staging.levr.ai/api/external/v1/AuthenticationBearerPortal API token
FormatJSON
Make your first request
Ask a portal administrator to create an API token for your integration. Save it when it is shown; you cannot retrieve the plaintext again.
List the businesses your token can access:
curl --request GET \
--url 'https://api.staging.levr.ai/api/external/v1/businesses/' \
--header 'Authorization: Bearer $LEVR_API_TOKEN'
Treat API tokens as secrets. Keep them in a secret manager and never expose them in browser code.
Use the exact contract
Use the REST API reference to browse by resource. You can download the OpenAPI specification from the reference overview when your tooling needs the exact contract.