Documentation Index
Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt
Use this file to discover all available pages before exploring further.
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 herramienta execute.
Funciones
forwarding.activate
forwarding.activate(account_id: str, forwarding_id: str, active: bool) -> ForwardingRule
Reenvío: 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 | | |
| Nombre | Tipo | Requerido |
|---|
account_id | str | sí |
forwarding_id | str | sí |
active | bool | sí |
| 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 |
Solicitud:{
"request_id": "example",
"session_id": "session_123",
"code": "forwarding.activate(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", active=true)"
}
Respuesta:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "forwarding.activate",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Solicitud:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "forwarding.activate(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", active=true)"
}
}
}
Respuesta:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"forwarding.activate\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
forwarding.add
forwarding.add(account_id: str, target_email: str, domain?: str | null, workspace_id?: str | null) -> ForwardingRule
Reenvío: 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 | | |
| Nombre | Tipo | Requerido |
|---|
account_id | str | sí |
target_email | str | sí |
domain | str | null | no |
workspace_id | str | null | no |
| 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 |
Solicitud:{
"request_id": "example",
"session_id": "session_123",
"code": "forwarding.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", target_email=\"user@example.com\", domain=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
Respuesta:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "forwarding.add",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Solicitud:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "forwarding.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", target_email=\"user@example.com\", domain=\"example.com\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
Respuesta:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"forwarding.add\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
forwarding.delete
forwarding.delete(account_id: str, forwarding_id: str) -> {}
Reenvío: 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} | | |
| Nombre | Tipo | Requerido |
|---|
account_id | str | sí |
forwarding_id | str | sí |
| Campo | Tipo | Requerido |
|---|
result | {} | sí |
Solicitud:{
"request_id": "example",
"session_id": "session_123",
"code": "forwarding.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
Respuesta:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": {}
},
"responses": [
{
"index": 0,
"function": "forwarding.delete",
"status": "completed",
"result": {}
}
],
"complexity_score": 1
}
Solicitud:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "forwarding.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
Respuesta:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": {}\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"forwarding.delete\",\n \"status\": \"completed\",\n \"result\": {}\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
forwarding.list
forwarding.list(account_id: str, page?: int, page_size?: int) -> Page[ForwardingRule]
Reenvío: 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 | | |
| Nombre | Tipo | Requerido |
|---|
account_id | str | sí |
page | int | no |
page_size | int | no |
| 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í |
Solicitud:{
"request_id": "example",
"session_id": "session_123",
"code": "forwarding.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123)"
}
Respuesta:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "forwarding.list",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Solicitud:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "forwarding.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", page=123, page_size=123)"
}
}
}
Respuesta:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"forwarding.list\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
forwarding.update
forwarding.update(account_id: str, forwarding_id: str, target_email: str) -> ForwardingRule
Reenvío: 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} | | |
| Nombre | Tipo | Requerido |
|---|
account_id | str | sí |
forwarding_id | str | sí |
target_email | str | sí |
| 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 |
Solicitud:{
"request_id": "example",
"session_id": "session_123",
"code": "forwarding.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", target_email=\"user@example.com\")"
}
Respuesta:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "forwarding.update",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Solicitud:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "forwarding.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", target_email=\"user@example.com\")"
}
}
}
Respuesta:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"forwarding.update\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
forwarding.verification.confirm
forwarding.verification.confirm(account_id: str, forwarding_id: str, code: str) -> ForwardingRule
Reenvío: 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 | | |
| Nombre | Tipo | Requerido |
|---|
account_id | str | sí |
forwarding_id | str | sí |
code | str | sí |
| Campo | Tipo | Requerido |
|---|
verified | bool | sí |
forwarding_id | str | null | no |
Solicitud:{
"request_id": "example",
"session_id": "session_123",
"code": "forwarding.verification.confirm(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", code=\"<string>\")"
}
Respuesta:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "forwarding.verification.confirm",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
Solicitud:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "forwarding.verification.confirm(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", code=\"<string>\")"
}
}
}
Respuesta:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"forwarding.verification.confirm\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
forwarding.verification.send
forwarding.verification.send(account_id: str, forwarding_id: str) -> ForwardingRule
Reenvío: 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 | | |
| Nombre | Tipo | Requerido |
|---|
account_id | str | sí |
forwarding_id | str | sí |
| Campo | Tipo | Requerido |
|---|
cooldown_seconds | int | sí |
sent | bool | sí |
expires_at | str | null | no |
Solicitud:{
"request_id": "example",
"session_id": "session_123",
"code": "forwarding.verification.send(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
Respuesta:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "forwarding.verification.send",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
Solicitud:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "forwarding.verification.send(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", forwarding_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
Respuesta:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"forwarding.verification.send\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}