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

# gRPC

> High-performance email sending with gRPC.

# gRPC

For high-performance applications, you can connect directly to our HTTP/2 gRPC API.

<Info>
  **Supported Languages**: Any language with gRPC support — Go, Python, Java, C++, Ruby, C#, PHP, and more\
  **Best For**: Polyglot environments or languages without an official SDK
</Info>

## Connection Details

<ResponseField name="Address" type="string">
  `api.simpleemailapi.dev:443`
</ResponseField>

<ResponseField name="Service" type="string">
  `v1.EmailService`
</ResponseField>

<ResponseField name="Method" type="string">
  `SendEmail`
</ResponseField>

## Authentication

Pass your api key in the `Authorization` metadata header.

```bash theme={null}
Authorization: Bearer sea_live_...
```

## Example (buf curl)

Use `buf curl` to invoke RPCs using the remote schema registry—no manual proto downloads required.

```bash theme={null}
buf curl \
  --schema buf.build/simpleemailapi/public \
  --header "Authorization: Bearer sea_live_..." \
  --data '{
    "from": "hello@yourdomain.com",
    "to": ["user@example.com"],
    "subject": "Hello gRPC",
    "body": "Sent via direct buf curl!",
    "async": true
  }' \
  https://api.simpleemailapi.dev/v1.EmailService/SendEmail
```

## Protobuf Definitions

You can generate clients for any language (Go, Java, Python, C++, etc.) using our Protobuf definitions available on the [Buf Registry (BSR)](https://buf.build/simpleemailapi/public).

```bash theme={null}
# Example: Inspecting the service with reflection
grpcurl \
  -H "Authorization: Bearer sea_live_..." \
  api.simpleemailapi.dev:443 \
  describe v1.EmailService
```
