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

# client.notifications

> Tenant notification policies (email/slack/webhook/discord/log channels).

Tenant notification policies (email/slack/webhook/discord/log channels).

Reach it as `client.notifications` on a [`QumoClient`](/sdk/reference/client#qumoclient).

### listPolicies

```ts theme={null}
listPolicies(params: { tenant_id: string }): Promise<NotificationPolicy[]>
```

Lists a workspace's notification policies.

Types: [`NotificationPolicy`](/sdk/reference/types#notificationpolicy)

### createPolicy

```ts theme={null}
createPolicy(policy: Omit<NotificationPolicy, "id" | "created_at" | "updated_at">): Promise<NotificationPolicy>
```

Creates a notification policy.

Types: [`NotificationPolicy`](/sdk/reference/types#notificationpolicy)

### deletePolicy

```ts theme={null}
deletePolicy(id: string, params: { tenant_id: string }): Promise<void>
```

Deletes a notification policy.

### testPolicy

```ts theme={null}
testPolicy(id: string, tenantId: string): Promise<{ ok: boolean; error?: string }>
```

Dispatch a test notification for a policy.
