Authentication
All API endpoints require authentication using an API key and tenant ID. These credentials must be included in the HTTP headers of every request.
HTTP Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Your API token in the format: Bearer <your_token> |
| tenant_id | Yes | Your client identifier |
| Content-Type | Yes | Must be application/json |
Base URLs
The API is available in two environments:
Production
https://orchestrator.tecspal.com/
Sandbox
https://tecspal-orchestrator.sandbox.lexartlabs.uy/
Use the sandbox environment for testing and development. Production environment should only be used for live applications.
Getting Your Credentials
To obtain your API credentials get in touch with your account manager. They will provide you with a token and a tenant ID for the sandbox environment first.
Security Best Practices
- Keep your API token secure and never share it
- Use environment variables to store credentials in your applications
- Monitor your API usage through the dashboard