Organization Domain Pattern
Your organization’s API endpoints follow this pattern:{your-organization-domain}
- Your organization’s unique domain (e.g.,acme-corp.nudj.cx
,your-company.com
){api-type}
- The API you’re accessing:admin
,integration
, oranalytics
{endpoint}
- The specific API endpoint
Organization Type | Domain Pattern | Example |
---|---|---|
Standard Nudj Subdomain | {org-name}.nudj.cx | acme-corp.nudj.cx |
Custom Domain | {subdomain}.{domain}.com | api.yourcompany.com |
White-label | {custom-domain} | rewards.enterprise.com |
Quick Setup with Scripts
We provide an automated setup script that configures the API playground for your organization:- Ask for your organization’s domain
- Create custom OpenAPI specifications with your domain
- Generate a Mintlify configuration that uses your domain
- Add a convenient npm script to package.json
Manual Testing Workflow
1
Configure in Playground
Use the playground to set up your request parameters and headers
2
Copy the cURL Command
Click “Copy” to get the generated command
3
Replace the Domain
In your terminal, replace
nudjdev.nudj.cx
with your organization’s domain4
Execute the Request
Run the modified command
Programmatic Integration
When building integrations, always use your organization’s specific domain:Finding Your Domain
To find your organization’s API domain:- Check with your administrator - They can provide the correct domain
- Look at your Nudj platform URL - Often the same domain is used
- Check your Developer Settings - Available at your admin panel under Developer settings
Environment Testing
Your organization may have multiple environments:Troubleshooting
404 Not Found
404 Not Found
- Verify you’re using the correct organization domain
- Check that
/api/v2/
is included in the path - Ensure the endpoint exists for your API type
401 Unauthorized
401 Unauthorized
CORS Errors
CORS Errors
- Ensure your domain is whitelisted in your organization’s CORS settings
- Contact your administrator to add your domain if needed
- Use server-side requests instead of browser-based calls for production
Developer Settings
Get your API tokens and find your organization’s domain configuration