Forwarding
Manage forwarding rules and forwarding addresses. The examples use A2A code mode. MCP exposes the same code mode through itsexecute tool.
Functions
forwarding.activate
| Property | Value | Property | Value |
|---|---|---|---|
| Requires permission | forwarding.manage | Auth required | yes |
| Execution mode | sync | Capability | forwarding.manage |
| Resource type | account | Resource ID field | account_id |
| Public API route | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/active |
Arguments
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
account_id | str | yes | Account UUID from the route path |
forwarding_id | str | yes | Forwarding rule UUID from the route path |
active | bool | yes | Whether forwarding should be active |
Returns
Returns
| Field | Type | Required | Description |
|---|---|---|---|
active | bool | yes | Whether forwarding is active |
created_at | str | yes | Forwarding rule creation timestamp |
id | str | yes | Forwarding rule UUID |
scope_id | str | yes | Resource UUID for the forwarding scope |
scope_type | "account" | "workspace" | "domain" | yes | Resource scope type for the forwarding rule |
target_email | str | yes | Forwarding destination email address |
updated_at | str | yes | Forwarding rule last update timestamp |
verification_required | bool | yes | Whether recipient verification is required |
verification_state | "internal" | "pending" | "verified" | "expired" | yes | Recipient verification state |
verification_expires_at | str | null | no | Verification expiry timestamp |
verification_sent_at | str | null | no | Verification email sent timestamp |
verification_verified_at | str | null | no | Verification completion timestamp |
A2A example
A2A example
Request:Response:
MCP example
MCP example
Request:Response:
forwarding.add
| Property | Value | Property | Value |
|---|---|---|---|
| Requires permission | forwarding.manage | Auth required | yes |
| Execution mode | sync | Capability | forwarding.manage |
| Resource type | account | Resource ID field | account_id |
| Public API route | POST /v1/public/accounts/{account_id}/forwarding |
Arguments
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
account_id | str | yes | Account UUID from the route path |
target_email | str | yes | Forwarding destination email address |
domain | str | null | no | Domain UUID or domain name scope for the forwarding rule |
workspace_id | str | null | no | Workspace UUID scope for the forwarding rule |
Returns
Returns
| Field | Type | Required | Description |
|---|---|---|---|
active | bool | yes | Whether forwarding is active |
created_at | str | yes | Forwarding rule creation timestamp |
id | str | yes | Forwarding rule UUID |
scope_id | str | yes | Resource UUID for the forwarding scope |
scope_type | "account" | "workspace" | "domain" | yes | Resource scope type for the forwarding rule |
target_email | str | yes | Forwarding destination email address |
updated_at | str | yes | Forwarding rule last update timestamp |
verification_required | bool | yes | Whether recipient verification is required |
verification_state | "internal" | "pending" | "verified" | "expired" | yes | Recipient verification state |
verification_expires_at | str | null | no | Verification expiry timestamp |
verification_sent_at | str | null | no | Verification email sent timestamp |
verification_verified_at | str | null | no | Verification completion timestamp |
A2A example
A2A example
Request:Response:
MCP example
MCP example
Request:Response:
forwarding.delete
| Property | Value | Property | Value |
|---|---|---|---|
| Requires permission | forwarding.manage | Auth required | yes |
| Execution mode | sync | Capability | forwarding.manage |
| Resource type | account | Resource ID field | account_id |
| Public API route | DELETE /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Arguments
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
account_id | str | yes | Account UUID from the route path |
forwarding_id | str | yes | Forwarding rule UUID from the route path |
Returns
Returns
| Field | Type | Required | Description |
|---|---|---|---|
result | {} | yes |
A2A example
A2A example
Request:Response:
MCP example
MCP example
Request:Response:
forwarding.list
| Property | Value | Property | Value |
|---|---|---|---|
| Requires permission | forwarding.view | Auth required | yes |
| Execution mode | sync | Capability | forwarding.view |
| Resource type | account | Resource ID field | account_id |
| Public API route | GET /v1/public/accounts/{account_id}/forwarding |
Arguments
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
account_id | str | yes | Account UUID from the route path |
page | int | no | One-based forwarding rule page number |
page_size | int | no | Maximum forwarding rules per page |
Returns
Returns
| Field | Type | Required | Description |
|---|---|---|---|
items | [{"active": bool, "created_at": str, "id": str, "scope_id": str, "scope_type": "account" | "workspace" | "domain", "target_email": str, "updated_at": str, "verification_required": bool, "verification_state": "internal" | "pending" | "verified" | "expired", "verification_expires_at"?: str | null, "verification_sent_at"?: str | null, "verification_verified_at"?: str | null}] | yes | Forwarding rules on this page |
page | int | yes | Current one-based page number |
page_size | int | yes | Maximum items per page |
total | int | yes | Total matching forwarding rules |
A2A example
A2A example
Request:Response:
MCP example
MCP example
Request:Response:
forwarding.update
| Property | Value | Property | Value |
|---|---|---|---|
| Requires permission | forwarding.manage | Auth required | yes |
| Execution mode | sync | Capability | forwarding.manage |
| Resource type | account | Resource ID field | account_id |
| Public API route | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Arguments
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
account_id | str | yes | Account UUID from the route path |
forwarding_id | str | yes | Forwarding rule UUID from the route path |
target_email | str | yes | Forwarding destination email address |
Returns
Returns
| Field | Type | Required | Description |
|---|---|---|---|
active | bool | yes | Whether forwarding is active |
created_at | str | yes | Forwarding rule creation timestamp |
id | str | yes | Forwarding rule UUID |
scope_id | str | yes | Resource UUID for the forwarding scope |
scope_type | "account" | "workspace" | "domain" | yes | Resource scope type for the forwarding rule |
target_email | str | yes | Forwarding destination email address |
updated_at | str | yes | Forwarding rule last update timestamp |
verification_required | bool | yes | Whether recipient verification is required |
verification_state | "internal" | "pending" | "verified" | "expired" | yes | Recipient verification state |
verification_expires_at | str | null | no | Verification expiry timestamp |
verification_sent_at | str | null | no | Verification email sent timestamp |
verification_verified_at | str | null | no | Verification completion timestamp |
A2A example
A2A example
Request:Response:
MCP example
MCP example
Request:Response:
forwarding.verification.confirm
| Property | Value | Property | Value |
|---|---|---|---|
| Requires permission | forwarding.manage | Auth required | yes |
| Execution mode | sync | Capability | forwarding.manage |
| Resource type | account | Resource ID field | account_id |
| Public API route | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/confirm |
Arguments
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
account_id | str | yes | Account UUID from the route path |
forwarding_id | str | yes | Forwarding rule UUID from the route path |
code | str | yes | Forwarding verification code |
Returns
Returns
| Field | Type | Required | Description |
|---|---|---|---|
verified | bool | yes | Whether forwarding verification succeeded |
forwarding_id | str | null | no | Forwarding rule UUID |
A2A example
A2A example
Request:Response:
MCP example
MCP example
Request:Response:
forwarding.verification.send
| Property | Value | Property | Value |
|---|---|---|---|
| Requires permission | forwarding.manage | Auth required | yes |
| Execution mode | sync | Capability | forwarding.manage |
| Resource type | account | Resource ID field | account_id |
| Public API route | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/send |
Arguments
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
account_id | str | yes | Account UUID from the route path |
forwarding_id | str | yes | Forwarding rule UUID from the route path |
Returns
Returns
| Field | Type | Required | Description |
|---|---|---|---|
cooldown_seconds | int | yes | Seconds before another verification email can be sent |
sent | bool | yes | Whether a verification email was sent |
expires_at | str | null | no | Verification expiry timestamp |
A2A example
A2A example
Request:Response:
MCP example
MCP example
Request:Response: