> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeplo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GET Member Permissions

> Manage team member permission scopes.

## Update permissions

`PATCH /api/team/members/:id/permissions`

Manage granular permission scopes for team members.

### Headers

**Cookie** `string` *required*

Session cookie (login via POST /api/auth/login)

### Request body

```json theme={null}
{
  "permissions": [
    "contacts:view",
    "contacts:create",
    "contacts:edit",
    "inbox:view",
    "inbox:assign",
    "campaigns:view",
    "analytics:view"
  ]
}
```

```bash cURL theme={null}
curl -X PATCH https://zeplo.ai/api/team/members/1/permissions \
  -H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw" \
  -H "Content-Type: application/json" \
  -d '{
    "permissions": ["contacts:view", "inbox:view", "inbox:assign"]
  }'
```

### Available permissions

#### Contacts

| Permission | Description |
| - | - |
| `contacts:view` | View contacts |
| `contacts:create` | Create contacts |
| `contacts:edit` | Edit contacts |
| `contacts:delete` | Delete contacts |
| `contacts:export` | Export contacts |

#### Campaigns

| Permission | Description |
| - | - |
| `campaigns:view` | View campaigns |
| `campaigns:create` | Create campaigns |
| `campaigns:edit` | Edit campaigns |
| `campaigns:delete` | Delete campaigns |
| `campaigns:send` | Send campaigns |

#### Templates

| Permission | Description |
| - | - |
| `templates:view` | View templates |
| `templates:create` | Create templates |
| `templates:edit` | Edit templates |
| `templates:sync` | Sync templates with WhatsApp |

#### Inbox

| Permission | Description |
| - | - |
| `inbox:view` | View inbox conversations |
| `inbox:assign` | Assign conversations |

#### Analytics

| Permission | Description |
| - | - |
| `analytics:view` | View analytics |
| `analytics:export` | Export analytics |

#### Team

| Permission | Description |
| - | - |
| `team:view` | View team members |
| `team:create` | Create team members |
| `team:edit` | Edit team members |
| `team:delete` | Delete team members |
| `team:permissions` | Manage permissions |

#### Automation

| Permission | Description |
| - | - |
| `automation:view` | View automations |
| `automation:create` | Create automations |
| `automation:edit` | Edit automations |
| `automation:delete` | Delete automations |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.