### Answer
Based on the available documentation, Retell AI does not provide API endpoints to programmatically create workspaces or API keys [(1) ](
) . You cannot create or manage API keys via API - they must be created manually through the Retell dashboard .
For multi-tenant architecture, the recommended approach is to use a
single workspace and maintain separate Retell agents and LLMs per tenant in your own database [(2) ](
) . You can create agents programmatically using the API , and differentiate tenants through your application logic rather than separate workspaces.
Regarding workspaces:
- You can have up to 50 workspaces with unlimited agent creation [(3) ](
)
- However, there's no API support for creating, listing, or managing workspaces programmatically [(1) ](
)
- Each workspace requires its own API key that must be manually created [(4) ](
) [(1) ](
)
The lack of workspace and API key management via API means that if you need a new workspace for each client, setup cannot be fully automated - it requires manual intervention through the Retell dashboard [(1) ](
) . This is a known limitation for partners building multi-tenant applications .
If you need different phone numbers per tenant, you can use custom Twilio setup with different Twilio accounts per tenant while maintaining agents in a single Retell wor