The userjourneys.ai API lets you programmatically check interview capacity for your experiments. Use it to dynamically show or hide interview widgets in your product based on remaining capacity.
Base URL
All API requests use the following base URL:
https://app.userjourneys.ai/api/v1
Authentication
Authenticate every request with a project API key passed in the Authorization header.
Authorization: Bearer uj_live_your_key_here
API keys are shown once at creation and cannot be retrieved later. Store your key securely.
Creating an API key
Open Settings
Go to Settings in the sidebar, then select the API tab.
Create a key
Click Create Key, enter a name (e.g., “Production”), and click Create.
Copy your key
Copy the key immediately. It starts with uj_live_ and will not be shown again.
Error handling
| Status | Meaning |
|---|
200 | Success |
401 | Missing or invalid API key |
All responses return JSON.