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

> ## Agent Instructions
> Use Stable documentation by default. Honor an explicit Beta request or a URL under /docs/beta/. If the requested version conflicts with the installed CLI package or API origin, clarify the target before writing integration code.
> Pages under /docs/beta/ document Beta; other product pages document Stable. Keep the CLI package, commands, API origin, and credentials within the selected version. State the documentation version in your answer.
> For MCP search, always pass version: Stable or version: Beta. Unfiltered search mixes both versions. For filesystem reads, keep Beta queries under /beta/ and exclude /beta/ from Stable queries; discover paths before reading them.
> The public docs base is https://photon.codes/docs. Convert MCP page paths to public URLs under that base, preserving /beta/ when present. Read https://photon.codes/docs/skill.md for version selection and https://photon.codes/docs/llms.txt for the version indexes.

# Get email sending policies

> Get email sending policies: getEmailSendingPolicies in the TypeScript, Python, Rust and Go clients.

`GET /v1/projects/{id}/platforms/email/sending-policy`

Reads Organization email recipient allowances shared across all its Projects, with rolling 60-second and 24-hour windows. Also returns Project and Organization review status and Photon policy pauses. Projects have no separate recipient quota. These limits are independent of subscription allowances. A policy pause blocks sending; an unpaused policy does not guarantee that every domain, suppression or account check permits a send. Requires platforms:read for the path Project.

**TypeScript**

```typescript TypeScript theme={null}
photon.projects.platforms.getEmailSendingPolicies(input: GetEmailSendingPoliciesInput, options?: RequestOptions): Promise<GetEmailSendingPoliciesOutput>
```

**Python**

```python Python theme={null}
photon.projects.platforms.get_email_sending_policies(input: GetEmailSendingPoliciesInput) -> models.EmailSendingPolicies
```

**Rust**

```rust Rust theme={null}
client.get_email_sending_policies(id: String).await -> Result<ResponseValue<types::EmailSendingPolicies>, Error<GetEmailSendingPoliciesError>>
```

**Go**

```go Go theme={null}
client.Projects.Platforms.GetEmailSendingPolicies(ctx context.Context, params *GetEmailSendingPoliciesParams, opts ...RequestOption) (*EmailSendingPolicies, error)
```

```typescript TypeScript theme={null}
import { Photon } from "@photon-ai/api";

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.projects.platforms.getEmailSendingPolicies({
  path: {
    id: "id",
  },
});
```

```python Python theme={null}
import os

from photon_api import Photon
from photon_api.rpc_generated import GetEmailSendingPoliciesInput

photon = Photon(headers={"Authorization": f"Bearer {os.environ['PHOTON_API_TOKEN']}"})
result = photon.projects.platforms.get_email_sending_policies(
    GetEmailSendingPoliciesInput.model_validate({
        "path": {
            "id": "id",
        },
    })
)
```

```rust Rust theme={null}
use photon_ai_api::{Credential, PhotonClientBuilder, SecretString};

let token = std::env::var("PHOTON_API_TOKEN")?;
let client = PhotonClientBuilder::new()
    .credential("accountServiceKey", Credential::Bearer(SecretString::from(token)))
    .build()?;
let result = client
    .get_email_sending_policies("id".to_owned())
    .await
    .map_err(|error| format!("{error:?}"))?
    .into_inner();
```

```go Go theme={null}
import (
	"context"
	"os"

	photonapi "github.com/photon-hq/api/packages/go"
)

ctx := context.Background()
client := photonapi.NewClient(photonapi.WithAPIKey(os.Getenv("PHOTON_API_TOKEN")))
result, err := client.Projects.Platforms.GetEmailSendingPolicies(ctx, &photonapi.GetEmailSendingPoliciesParams{
	ID: "id",
})
if err != nil {
	return err
}
_ = result
```

```json 200 theme={null}
{
  "organization": {
    "paused": true,
    "recipientsPer24Hours": 1,
    "recipientsPerMinute": 1,
    "reviewStatus": "new",
    "updatedAt": "2026-01-01T00:00:00Z"
  },
  "project": {
    "paused": true,
    "reviewStatus": "new",
    "updatedAt": "2026-01-01T00:00:00Z"
  }
}
```

## Parameters

**id** `string` *required*

## Returns

**`200`** The Project and Organization sending policies. EmailSendingPolicies

**organization** `EmailOrganizationSendingPolicy` *required*

**project** `EmailSendingPolicy` *required*


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