Environments
Valora documents production and testing hosts separately from API path versions. Always combine the documented host with the exact path shown on the endpoint page.
Hosts
| Environment | Host |
|---|---|
| Production | https://valora.spotahome.com |
| Staging / testing | https://valora-testing.laravel.cloud |
Path families
| Path family | Description |
|---|---|
/api/v1/... |
Versioned production API paths. |
/api/sandbox/v1/... |
Sandbox-compatible API paths where the endpoint supports sandbox data. |
/api/auth/jwt/... |
JWT login, refresh, user info, and logout paths. |
/api/v1/tokens/... |
Long-lived API token lifecycle paths. |
Production vs sandbox tokens
Long-lived production and sandbox tokens are separate credentials. A production token starts with vl_; a sandbox token starts with sd_.
Generating, rotating, or revoking one environment's token does not change the other environment's token.
Moving to production
Before switching to production:
- Replace sandbox URLs with the documented production endpoint URLs.
- Replace sandbox tokens with production tokens.
- Confirm that your integration handles
401,403,404,422, and429responses. - Confirm that automated jobs have retry behavior for temporary
5xxresponses.