SaaSify runs separate production and demo environments. Build and test against demo, then point your code at production.
Base URLs
| Environment | API base URL | Frontend | Use it for |
|---|---|---|---|
| Demo | https://api-demo.saasify.ai | https://demo-z.saasify.ai | Building and testing your integration. |
| Production | https://api.saasify.ai | https://app.saasify.ai | Live traffic against your real tenant. |
Every request goes to the same host for all operations — there is no separate /public or partner host. Pick the base URL for your environment and prepend it to the paths in the API reference (for example, https://api-demo.saasify.ai/api/subscriptions/list).
A second production host
Some tenants are served from a second production instance at https://api-portal.saasify.ai instead of https://api.saasify.ai. Use whichever host your tenant was provisioned on.
Choosing an environment in code
Keep the base URL in configuration rather than hard-coding it, so the same build runs against demo and production:
# Demo
BASE_URL="https://api-demo.saasify.ai"
# Production
# BASE_URL="https://api.saasify.ai"
curl "$BASE_URL/api/subscriptions/list" -H "Authorization: Bearer $TOKEN"import os
BASE_URL = os.environ.get("SAASIFY_BASE_URL", "https://api-demo.saasify.ai")const BASE_URL = process.env.SAASIFY_BASE_URL ?? "https://api-demo.saasify.ai";var baseUrl = Environment.GetEnvironmentVariable("SAASIFY_BASE_URL")
?? "https://api-demo.saasify.ai";
var client = new HttpClient { BaseAddress = new Uri(baseUrl) };