Updated October 29, 2026
Environments
Choose the right API origin and keep test and production credentials separate.
Choose an API origin
| Environment | Origin | Use |
|---|---|---|
| Local | http://localhost:8000 | Your local backend |
| Staging | https://api.staging.facily.ai | Provisioned integration testing |
| Production | https://api.facily.ai | Authorized live operations |
Resource paths include /v1. The origin itself does not. Use separately provisioned credentials for each environment.
Test with provisioned access
Staging is a separate environment with separate credentials and data. Confirm the organization, facilities, and provider configuration you may use before testing writes.
Before using production
- Confirm production access and required capability enablement.
- Provision a production key with minimum permissions.
- Set the production origin and secret independently of staging.
- Verify a read request and check the organization and facility IDs.
- Confirm payment, partner, or provider-specific go-live requirements.
- Handle errors, rate limiting, and request IDs in your application.
Keep buildingExplore the API reference