Transfert
Gérer les règles et adresses de transfert. Les exemples utilisent le mode code A2A. MCP expose le même mode code via son outilexecute.
Fonctions
forwarding.activate
forwarding.activate.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | forwarding.manage | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | forwarding.manage |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/active |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
forwarding_id | str | oui |
active | bool | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
active | bool | oui |
created_at | str | oui |
id | str | oui |
scope_id | str | oui |
scope_type | "account" | "workspace" | "domain" | oui |
target_email | str | oui |
updated_at | str | oui |
verification_required | bool | oui |
verification_state | "internal" | "pending" | "verified" | "expired" | oui |
verification_expires_at | str | null | non |
verification_sent_at | str | null | non |
verification_verified_at | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
Exemple MCP
Exemple MCP
Requête:Réponse:
forwarding.add
forwarding.add.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | forwarding.manage | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | forwarding.manage |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | POST /v1/public/accounts/{account_id}/forwarding |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
target_email | str | oui |
domain | str | null | non |
workspace_id | str | null | non |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
active | bool | oui |
created_at | str | oui |
id | str | oui |
scope_id | str | oui |
scope_type | "account" | "workspace" | "domain" | oui |
target_email | str | oui |
updated_at | str | oui |
verification_required | bool | oui |
verification_state | "internal" | "pending" | "verified" | "expired" | oui |
verification_expires_at | str | null | non |
verification_sent_at | str | null | non |
verification_verified_at | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
Exemple MCP
Exemple MCP
Requête:Réponse:
forwarding.delete
forwarding.delete.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | forwarding.manage | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | forwarding.manage |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | DELETE /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
forwarding_id | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
result | {} | oui |
Exemple A2A
Exemple A2A
Requête:Réponse:
Exemple MCP
Exemple MCP
Requête:Réponse:
forwarding.list
forwarding.list.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | forwarding.view | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | forwarding.view |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | GET /v1/public/accounts/{account_id}/forwarding |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
page | int | non |
page_size | int | non |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
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}] | oui |
page | int | oui |
page_size | int | oui |
total | int | oui |
Exemple A2A
Exemple A2A
Requête:Réponse:
Exemple MCP
Exemple MCP
Requête:Réponse:
forwarding.update
forwarding.update.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | forwarding.manage | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | forwarding.manage |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
forwarding_id | str | oui |
target_email | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
active | bool | oui |
created_at | str | oui |
id | str | oui |
scope_id | str | oui |
scope_type | "account" | "workspace" | "domain" | oui |
target_email | str | oui |
updated_at | str | oui |
verification_required | bool | oui |
verification_state | "internal" | "pending" | "verified" | "expired" | oui |
verification_expires_at | str | null | non |
verification_sent_at | str | null | non |
verification_verified_at | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
Exemple MCP
Exemple MCP
Requête:Réponse:
forwarding.verification.confirm
forwarding.verification.confirm.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | forwarding.manage | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | forwarding.manage |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/confirm |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
forwarding_id | str | oui |
code | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
verified | bool | oui |
forwarding_id | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
Exemple MCP
Exemple MCP
Requête:Réponse:
forwarding.verification.send
forwarding.verification.send.
| Propriété | Valeur | Propriété | Valeur |
|---|---|---|---|
| Autorisation requise | forwarding.manage | Authentification requise | oui |
| Mode d’exécution | sync | Capacité | forwarding.manage |
| Type de ressource | account | Champ d’ID de ressource | account_id |
| Route API publique | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/send |
Arguments
Arguments
| Nom | Type | Requis |
|---|---|---|
account_id | str | oui |
forwarding_id | str | oui |
Retours
Retours
| Champ | Type | Requis |
|---|---|---|
cooldown_seconds | int | oui |
sent | bool | oui |
expires_at | str | null | non |
Exemple A2A
Exemple A2A
Requête:Réponse:
Exemple MCP
Exemple MCP
Requête:Réponse: