Creating an API Key
Open API Keys page
Manage your API Key
Your API Key is used to authenticate server-side requests to SpatialReal services. Best Practices:- Store your API Key in environment variables or a secrets manager
- Never expose your API Key in client-side code
- Never commit your API Key to version control
Temporary Session Token
For quick testing and development, you can generate a Temporary Session Token directly in SpatialReal Studio.Temporary Session Tokens are valid for 24 hours only. They are intended for testing purposes and should not be used in production.
Open Your Application
Navigate to API keys page in SpatialReal Studio, then click the details button of your application.

Production Authentication
In production, you should generate session tokens from your backend server using the API Key. See the Authentication Guide for implementation details.Authentication Guide
Learn how to implement secure server-side authentication





