Weiterleitung
Weiterleitungsregeln und Weiterleitungsadressen verwalten. Die Beispiele verwenden den A2A-Code-Modus. MCP stellt denselben Code-Modus über sein Toolexecute bereit.
Funktionen
forwarding.activate
forwarding.activate.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | forwarding.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | forwarding.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/active |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
forwarding_id | str | ja |
active | bool | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
active | bool | ja |
created_at | str | ja |
id | str | ja |
scope_id | str | ja |
scope_type | "account" | "workspace" | "domain" | ja |
target_email | str | ja |
updated_at | str | ja |
verification_required | bool | ja |
verification_state | "internal" | "pending" | "verified" | "expired" | ja |
verification_expires_at | str | null | nein |
verification_sent_at | str | null | nein |
verification_verified_at | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
forwarding.add
forwarding.add.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | forwarding.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | forwarding.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/forwarding |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
target_email | str | ja |
domain | str | null | nein |
workspace_id | str | null | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
active | bool | ja |
created_at | str | ja |
id | str | ja |
scope_id | str | ja |
scope_type | "account" | "workspace" | "domain" | ja |
target_email | str | ja |
updated_at | str | ja |
verification_required | bool | ja |
verification_state | "internal" | "pending" | "verified" | "expired" | ja |
verification_expires_at | str | null | nein |
verification_sent_at | str | null | nein |
verification_verified_at | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
forwarding.delete
forwarding.delete.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | forwarding.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | forwarding.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | DELETE /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
forwarding_id | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
result | {} | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
forwarding.list
forwarding.list.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | forwarding.view | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | forwarding.view |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | GET /v1/public/accounts/{account_id}/forwarding |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
page | int | nein |
page_size | int | nein |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
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}] | ja |
page | int | ja |
page_size | int | ja |
total | int | ja |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
forwarding.update
forwarding.update.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | forwarding.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | forwarding.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | PATCH /v1/public/accounts/{account_id}/forwarding/{forwarding_id} |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
forwarding_id | str | ja |
target_email | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
active | bool | ja |
created_at | str | ja |
id | str | ja |
scope_id | str | ja |
scope_type | "account" | "workspace" | "domain" | ja |
target_email | str | ja |
updated_at | str | ja |
verification_required | bool | ja |
verification_state | "internal" | "pending" | "verified" | "expired" | ja |
verification_expires_at | str | null | nein |
verification_sent_at | str | null | nein |
verification_verified_at | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
forwarding.verification.confirm
forwarding.verification.confirm.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | forwarding.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | forwarding.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/confirm |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
forwarding_id | str | ja |
code | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
verified | bool | ja |
forwarding_id | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort:
forwarding.verification.send
forwarding.verification.send.
| Eigenschaft | Wert | Eigenschaft | Wert |
|---|---|---|---|
| Erforderliche Berechtigung | forwarding.manage | Authentifizierung erforderlich | ja |
| Ausführungsmodus | sync | Fähigkeit | forwarding.manage |
| Ressourcentyp | account | Ressourcen-ID-Feld | account_id |
| Öffentliche API-Route | POST /v1/public/accounts/{account_id}/forwarding/{forwarding_id}/verification/send |
Argumente
Argumente
| Name | Typ | Erforderlich |
|---|---|---|
account_id | str | ja |
forwarding_id | str | ja |
Rückgabe
Rückgabe
| Feld | Typ | Erforderlich |
|---|---|---|
cooldown_seconds | int | ja |
sent | bool | ja |
expires_at | str | null | nein |
A2A-Beispiel
A2A-Beispiel
Anfrage:Antwort:
MCP-Beispiel
MCP-Beispiel
Anfrage:Antwort: