# Retellai Enterprise Rbac

> Writes role-based access control configurations for Retell AI voice agent workspaces using the retel

Writes role-based access control configurations for Retell AI voice agent workspaces using the retell-sdk TypeScript package, restricting operator permissions such as agent version publishing and deployment status checks while blocking access to call transcripts, recordings, billing, and user management. Use when setting up least-privilege operator roles in Retell AI, testing that a role can promote an agent version but cannot read protected call content, or tracking role assignments for release windows.

- Page: https://ss33.ai/skills/jeremylongshore/retellai-enterprise-rbac-30702552874
- Publisher: jeremylongshore
- Category: [Security](https://ss33.ai/skills/category/security-w9g95g) › [Application security](https://ss33.ai/skills/category/security-w9g95g/application-security-6s8pr9)
- License: MIT
- Source: https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/6cc8e76343714d8807b4a5f1aa604b7ede5e497f/plugins/saas-packs/retellai-pack/skills/retellai-enterprise-rbac/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/jeremylongshore/retellai-enterprise-rbac-30702552874

# Retell AI Enterprise Rbac

## Overview

Implementation patterns for Retell AI enterprise rbac — voice agent and telephony platform.

## Prerequisites

- Completed `retellai-install-auth` setup

## Instructions

### Step 1: SDK Pattern

```typescript
import Retell from 'retell-sdk';
const retell = new Retell({ apiKey: process.env.RETELL_API_KEY! });

const agents = await retell.agent.list();
console.log(`Agents: ${agents.length}`);
```

## Output

- Retell AI integration for enterprise rbac

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| 401 Unauthorized | Invalid API key | Check RETELL_API_KEY |
| 429 Rate Limited | Too many requests | Implement backoff |
| 400 Bad Request | Invalid parameters | Check API documentation |

## Examples

### Grant a release operator access without granting call-data access

Create a role limited to publishing an approved agent version and inspecting
deployment status. Do not include transcript, recording, billing, or user
management permissions in that role. Test the role against a preview agent:
it should promote the designated version but fail to retrieve protected call
content. Record the role, environment, and approver before assigning it to a
new operator, and remove the assignment when the release window closes.

## Resources

- [Retell AI Documentation](https://docs.retellai.com)
- [retell-sdk npm](https://www.npmjs.com/package/retell-sdk)

## Next Steps

See related Retell AI skills for more workflows.
