Reenvío
Gestionar reglas y direcciones de reenvío. Los ejemplos usan el modo de código A2A. MCP expone el mismo modo de código mediante su herramientaexecute.
Funciones
forwarding.activate
forwarding.activate.
| Propiedad | Valor | Propiedad | Valor |
|---|---|---|---|
| Permiso requerido | forwarding.manage | Autenticación requerida | sí |
| Modo de ejecución | sync | Capacidad | forwarding.manage |
| Tipo de recurso | account | Campo ID del recurso | account_id |
| Ruta API pública | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/active |
Argumentos
Argumentos
| Nombre | Tipo | Requerido |
|---|---|---|
account_id | str | sí |
forwarding_id | str | sí |
active | bool | sí |
Devuelve
Devuelve
| Campo | Tipo | Requerido |
|---|---|---|
active | bool | sí |
created_at | str | sí |
id | str | sí |
scope_id | str | sí |
scope_type | "account" | "workspace" | "domain" | sí |
target_email | str | sí |
updated_at | str | sí |
verification_required | bool | sí |
verification_state | "internal" | "pending" | "verified" | "expired" | sí |
verification_expires_at | str | null | no |
verification_sent_at | str | null | no |
verification_verified_at | str | null | no |
Ejemplo A2A
Ejemplo A2A
Solicitud:Respuesta:
Ejemplo MCP
Ejemplo MCP
Solicitud:Respuesta:
forwarding.add
forwarding.add.
| Propiedad | Valor | Propiedad | Valor |
|---|---|---|---|
| Permiso requerido | forwarding.manage | Autenticación requerida | sí |
| Modo de ejecución | sync | Capacidad | forwarding.manage |
| Tipo de recurso | account | Campo ID del recurso | account_id |
| Ruta API pública | POST /v1/public/accounts/{account_id}/forwarding |
Argumentos
Argumentos
| Nombre | Tipo | Requerido |
|---|---|---|
account_id | str | sí |
target_email | str | sí |
domain | str | null | no |
workspace_id | str | null | no |
Devuelve
Devuelve
| Campo | Tipo | Requerido |
|---|---|---|
active | bool | sí |
created_at | str | sí |
id | str | sí |
scope_id | str | sí |
scope_type | "account" | "workspace" | "domain" | sí |
target_email | str | sí |
updated_at | str | sí |
verification_required | bool | sí |
verification_state | "internal" | "pending" | "verified" | "expired" | sí |
verification_expires_at | str | null | no |
verification_sent_at | str | null | no |
verification_verified_at | str | null | no |
Ejemplo A2A
Ejemplo A2A
Solicitud:Respuesta:
Ejemplo MCP
Ejemplo MCP
Solicitud:Respuesta:
forwarding.delete
forwarding.delete.
| Propiedad | Valor | Propiedad | Valor |
|---|---|---|---|
| Permiso requerido | forwarding.manage | Autenticación requerida | sí |
| Modo de ejecución | sync | Capacidad | forwarding.manage |
| Tipo de recurso | account | Campo ID del recurso | account_id |
| Ruta API pública | DELETE /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Argumentos
Argumentos
| Nombre | Tipo | Requerido |
|---|---|---|
account_id | str | sí |
forwarding_id | str | sí |
Devuelve
Devuelve
| Campo | Tipo | Requerido |
|---|---|---|
result | {} | sí |
Ejemplo A2A
Ejemplo A2A
Solicitud:Respuesta:
Ejemplo MCP
Ejemplo MCP
Solicitud:Respuesta:
forwarding.list
forwarding.list.
| Propiedad | Valor | Propiedad | Valor |
|---|---|---|---|
| Permiso requerido | forwarding.view | Autenticación requerida | sí |
| Modo de ejecución | sync | Capacidad | forwarding.view |
| Tipo de recurso | account | Campo ID del recurso | account_id |
| Ruta API pública | GET /v1/public/accounts/{account_id}/forwarding |
Argumentos
Argumentos
| Nombre | Tipo | Requerido |
|---|---|---|
account_id | str | sí |
page | int | no |
page_size | int | no |
Devuelve
Devuelve
| Campo | Tipo | Requerido |
|---|---|---|
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}] | sí |
page | int | sí |
page_size | int | sí |
total | int | sí |
Ejemplo A2A
Ejemplo A2A
Solicitud:Respuesta:
Ejemplo MCP
Ejemplo MCP
Solicitud:Respuesta:
forwarding.update
forwarding.update.
| Propiedad | Valor | Propiedad | Valor |
|---|---|---|---|
| Permiso requerido | forwarding.manage | Autenticación requerida | sí |
| Modo de ejecución | sync | Capacidad | forwarding.manage |
| Tipo de recurso | account | Campo ID del recurso | account_id |
| Ruta API pública | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Argumentos
Argumentos
| Nombre | Tipo | Requerido |
|---|---|---|
account_id | str | sí |
forwarding_id | str | sí |
target_email | str | sí |
Devuelve
Devuelve
| Campo | Tipo | Requerido |
|---|---|---|
active | bool | sí |
created_at | str | sí |
id | str | sí |
scope_id | str | sí |
scope_type | "account" | "workspace" | "domain" | sí |
target_email | str | sí |
updated_at | str | sí |
verification_required | bool | sí |
verification_state | "internal" | "pending" | "verified" | "expired" | sí |
verification_expires_at | str | null | no |
verification_sent_at | str | null | no |
verification_verified_at | str | null | no |
Ejemplo A2A
Ejemplo A2A
Solicitud:Respuesta:
Ejemplo MCP
Ejemplo MCP
Solicitud:Respuesta:
forwarding.verification.confirm
forwarding.verification.confirm.
| Propiedad | Valor | Propiedad | Valor |
|---|---|---|---|
| Permiso requerido | forwarding.manage | Autenticación requerida | sí |
| Modo de ejecución | sync | Capacidad | forwarding.manage |
| Tipo de recurso | account | Campo ID del recurso | account_id |
| Ruta API pública | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/confirm |
Argumentos
Argumentos
| Nombre | Tipo | Requerido |
|---|---|---|
account_id | str | sí |
forwarding_id | str | sí |
code | str | sí |
Devuelve
Devuelve
| Campo | Tipo | Requerido |
|---|---|---|
verified | bool | sí |
forwarding_id | str | null | no |
Ejemplo A2A
Ejemplo A2A
Solicitud:Respuesta:
Ejemplo MCP
Ejemplo MCP
Solicitud:Respuesta:
forwarding.verification.send
forwarding.verification.send.
| Propiedad | Valor | Propiedad | Valor |
|---|---|---|---|
| Permiso requerido | forwarding.manage | Autenticación requerida | sí |
| Modo de ejecución | sync | Capacidad | forwarding.manage |
| Tipo de recurso | account | Campo ID del recurso | account_id |
| Ruta API pública | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/send |
Argumentos
Argumentos
| Nombre | Tipo | Requerido |
|---|---|---|
account_id | str | sí |
forwarding_id | str | sí |
Devuelve
Devuelve
| Campo | Tipo | Requerido |
|---|---|---|
cooldown_seconds | int | sí |
sent | bool | sí |
expires_at | str | null | no |
Ejemplo A2A
Ejemplo A2A
Solicitud:Respuesta:
Ejemplo MCP
Ejemplo MCP
Solicitud:Respuesta: