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

> ## Agent Instructions
> Install the Courier skill before writing code: `npx skills add trycourier/courier-skills`. It carries the verified SDK shapes and the rules you cannot get wrong.
> Authenticate every request with `Authorization: Bearer <API_KEY>`. A workspace has several environments and each has its own keys, which are plain `pk_` strings with no environment prefix. Start with Test.
> Send with `client.send.message` from the Node SDK (`@trycourier/courier` v7 and later, where the client is the default import). Reference a template by its `nt_` id or its alias.
> A send accepts a bare Elemental element list, but storing content on a template requires the top-level elements wrapped in a channel element.
> To translate a template, write one locale at a time with `PUT /notifications/{id}/locales/{localeId}`, which merges into the existing translations. `PUT /notifications/{id}/content` and `PUT /notifications/{id}/elements/{elementId}` overwrite translations along with the content, so send each element's `id` and `locales` back, and first remove every `checksum` and any `locales` key that starts with an underscore.
> Templates and journeys can be built in the Courier app or created through the API. Either way they live in the workspace and are referenced by ID when you send.
> The hosted MCP server is https://mcp.courier.com. For a briefing on what Courier is and when to use it, read https://www.courier.com/llms.txt.
> Prefer the Guides tab for how-do-I questions and the Docs tab for how-does-it-behave questions. The API reference lives under /api-reference.

# Team access, roles, and SSO

> Invite teammates, set up Google, GitHub, or Okta SSO and SCIM, and on Enterprise, assign built-in or custom roles that control what each sees in logs.

Team access controls who belongs to a workspace and what each person can do.

## How it works

### Roles and permissions

Courier has six built-in roles. Each sets read/write access and how much of the message logs a member sees:

* **No logs**: the Logs page is empty.
* **Timeline only**: the message list and each message's timeline, with the event details blank.
* **Full logs**: adds the event details, which hold the request data (including PII) and provider responses. Members can also resend and archive messages.

| Role | Best for | Access |
| - | - | - |
| **Administrator** | Owners and admins | Full read/write, account management, edit API keys. Full logs. |
| **Manager** | A team lead without billing/user duties | Full read/write, view API keys. Full logs. |
| **Developer** | Engineers working the API and Designer | Read-only in Production, full in Test. Timeline-only logs in Production, full logs in Test. |
| **Designer** | Template and brand editors | Full read/write for Designer and Brands. Read-only integrations, Lists, and Metrics. No logs. |
| **Support Specialist** | Support staff | Read-only Designer/Brands/Integrations. Full Lists. Read-only Metrics. Full logs. |
| **Analyst** | Read-only users | Read-only Designer/Brands/Integrations/Lists/Metrics. No logs. |

To give Designers or Analysts log access, create a custom role with the `message` scopes below.

Administrators assign roles from **Settings → Team**. When no built-in role fits, define **custom roles** from granular scopes (`template:WriteItem`, `message:ReadEventDetails`, `brand:WriteItem`, and so on).

> [!NOTE]
>
> **Any role other than Administrator, and any custom role, requires the Enterprise plan.**\\
>
> On the Developer and Business plans, every teammate is an Administrator. An invite or API call that sets any other role is rejected.

### Custom role scopes

A custom role is a set of scopes. Each scope is a resource and an action, `template:WriteItem`.
A `resource:*` wildcard grants every action on that resource, so `template:*` covers listing,
reading, and writing Templates.

**Platform scopes** cover the notification product itself.

| Resource | Actions |
| - | - |
| `analytics` | `View` |
| `asset` | `ListItems`, `ReadItem`, `WriteItem` |
| `brand` | `ListItems`, `ReadItem`, `WriteItem` |
| `category` | `ListItems`, `ReadItem`, `WriteItem` |
| `integration` | `ListItems`, `ReadItem`, `WriteItem` |
| `list` | `ListItems`, `ReadItem`, `WriteItem` |
| `message` | `ListItems`, `ReadItem`, `ReadEventDetails`, `RequeueItem`, `WriteItem` |
| `metrics` | `GetMetrics` |
| `recipient` | `ListItems`, `ReadItem`, `WriteItem` |
| `shared-content` | `ListItems`, `ReadItem`, `WriteItem` |
| `template` | `ListItems`, `ReadItem`, `WriteItem` |
| `tenant` | `ListItems`, `ReadItem`, `WriteItem` |
| `webhook` | `ListItems`, `ReadItem`, `WriteItem` |

**Account-management scopes** cover the workspace rather than what it sends.

| Resource | Actions |
| - | - |
| `apikey` | `ListItems`, `ReadItem`, `WriteItem`, `RotateKey` |
| `billing` | `ViewBilling`, `UpdatePaymentMethod`, `UpdatePlan` |
| `environment` | `ListItems`, `ReadItem`, `WriteItem` |
| `security` | `WriteSettings` |
| `tracking` | `WriteSettings` |
| `user` | `ListItems`, `ReadItem`, `WriteItem`, `InviteUser` |

**`message:ReadEventDetails` is the one to grant deliberately.** It exposes the request data
on a message, which includes whatever PII the send carried. `message:ListItems` and
`message:ReadItem` alone give a timeline-only view, and adding `message:ReadEventDetails` fills
in the event details.

### Inviting and removing members

Invite teammates from **Settings → Team**: click **Invite User**, enter their email, and pick a role. Remove a member from the dropdown next to their email. Okta workspaces can also let members join through workspace discoverability (below). The Developer plan caps pending invites at 10. Accept or revoke one before sending more. Business and Enterprise have no cap.

### Single sign-on

**Google SSO**, **GitHub SSO**, and **Okta SSO** let your team authenticate through your identity provider. Require SSO to disable password login. **SCIM directory provisioning** creates, updates, and deactivates users from your directory.

* **Google and GitHub SSO**: available on every plan, including **Developer**. Require login from your configured domains under **Settings → Team**.
* **Okta SSO and SCIM**: connect Courier as an app in Okta for sign-in and directory sync. Both are commercial features. Contact [Courier](https://www.courier.com/request-demo) to enable them for your workspace.

### Workspace discoverability

A workspace that signs in through Okta can let people with an approved email domain join without an invite. Every other workspace adds people by invitation only. Google and GitHub SSO still work on every plan.

On an Okta workspace, confirm your domain is in the approved list under **Settings → Team**, then choose a level:

* **Request access**: an approved-domain user requests, an admin approves.
* **Join directly**: an approved-domain user joins without approval.
* **IT admin only**: members are added manually, used with Okta provisioning.

## FAQ

> [accordion] Can I add roles other than Administrator?
>
> On the Enterprise plan, yes: assign any of the six built-in roles or define custom roles. On Developer and Business, every member is an Administrator.

> [accordion] Do you support Okta and SCIM?
>
> Courier supports Okta SSO and SCIM directory provisioning. Both are enabled commercially rather than by a plan toggle, so contact Courier to turn them on.

> [accordion] What can each role see in logs?
>
> Each role sees no logs, a timeline-only view, or full logs with event details. Designer and Analyst see no logs. Developer sees the timeline only in Production and full logs in Test. Administrator, Manager, and Support Specialist see full logs.
