hostinger-api-mcp 1.16.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -49,7 +49,7 @@ pnpm update -g hostinger-api-mcp
49
49
 
50
50
  This package installs the following MCP server commands:
51
51
 
52
- - `hostinger-api-mcp` — unified server with every tool (246 total)
52
+ - `hostinger-api-mcp` — unified server with every tool (248 total)
53
53
  - `hostinger-agency-hosting-mcp` — 26 tools for agency-hosting
54
54
  - `hostinger-billing-mcp` — 8 tools for billing
55
55
  - `hostinger-dns-mcp` — 8 tools for dns
@@ -57,7 +57,7 @@ This package installs the following MCP server commands:
57
57
  - `hostinger-ecommerce-mcp` — 12 tools for ecommerce
58
58
  - `hostinger-horizons-mcp` — 2 tools for horizons
59
59
  - `hostinger-hosting-mcp` — 48 tools for hosting
60
- - `hostinger-mail-mcp` — 10 tools for mail
60
+ - `hostinger-mail-mcp` — 12 tools for mail
61
61
  - `hostinger-reach-mcp` — 12 tools for reach
62
62
  - `hostinger-vps-mcp` — 62 tools for vps
63
63
  - `hostinger-wordpress-mcp` — 35 tools for wordpress
@@ -1639,6 +1639,24 @@ plan, attached domain, and expiration details.
1639
1639
  - **Method**: `GET`
1640
1640
  - **Path**: `/api/mail/v1/orders`
1641
1641
 
1642
+ #### mail_getOrderPlanV1
1643
+
1644
+ Retrieve the plan the given mail order was purchased with, including
1645
+ domain-level and mailbox-level quotas, limits, and protocol
1646
+ availability.
1647
+
1648
+ - **Method**: `GET`
1649
+ - **Path**: `/api/mail/v1/orders/{orderId}/plan`
1650
+
1651
+ #### mail_createWebhookV1
1652
+
1653
+ Create a webhook for the given mailbox. The generated secret is
1654
+ returned only in this response and is sent as a bearer token with
1655
+ every delivery.
1656
+
1657
+ - **Method**: `POST`
1658
+ - **Path**: `/api/mail/v1/mailboxes/{mailboxId}/webhooks`
1659
+
1642
1660
  ### `hostinger-reach-mcp`
1643
1661
 
1644
1662
  #### reach_deleteAContactV1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "Hostinger API — manage domains, DNS, hosting, VPS, billing and more from Gemini CLI.",
5
5
  "mcpServers": {
6
6
  "hostinger": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hostinger-api-mcp",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "mcpName": "io.github.hostinger/hostinger-api-mcp",
5
5
  "description": "MCP server for Hostinger API",
6
6
  "repository": {
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/hostinger/api-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "1.16.0",
9
+ "version": "1.17.0",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "hostinger-api-mcp",
14
- "version": "1.16.0",
14
+ "version": "1.17.0",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
@@ -29,7 +29,7 @@ const SECURITY_SCHEMES = {
29
29
 
30
30
  /**
31
31
  * MCP Server for Hostinger API
32
- * Generated from OpenAPI spec version 1.15.0
32
+ * Generated from OpenAPI spec version 1.16.0
33
33
  */
34
34
  class MCPServer {
35
35
  constructor({ name, version, tools }) {
@@ -52,7 +52,7 @@ const SECURITY_SCHEMES: Record<string, SecurityScheme> = {
52
52
 
53
53
  /**
54
54
  * MCP Server for Hostinger API
55
- * Generated from OpenAPI spec version 1.15.0
55
+ * Generated from OpenAPI spec version 1.16.0
56
56
  */
57
57
  class MCPServer {
58
58
  private readonly name: string;
@@ -4746,6 +4746,89 @@ export default [
4746
4746
  ],
4747
4747
  "group": "mail"
4748
4748
  },
4749
+ {
4750
+ "name": "mail_getOrderPlanV1",
4751
+ "description": "Retrieve the plan the given mail order was purchased with, including\ndomain-level and mailbox-level quotas, limits, and protocol\navailability.",
4752
+ "method": "GET",
4753
+ "path": "/api/mail/v1/orders/{orderId}/plan",
4754
+ "inputSchema": {
4755
+ "type": "object",
4756
+ "properties": {
4757
+ "orderId": {
4758
+ "type": "string",
4759
+ "description": "Order resource ID"
4760
+ }
4761
+ },
4762
+ "required": [
4763
+ "orderId"
4764
+ ]
4765
+ },
4766
+ "security": [
4767
+ {
4768
+ "apiToken": []
4769
+ }
4770
+ ],
4771
+ "group": "mail"
4772
+ },
4773
+ {
4774
+ "name": "mail_createWebhookV1",
4775
+ "description": "Create a webhook for the given mailbox. The generated secret is\nreturned only in this response and is sent as a bearer token with\nevery delivery.",
4776
+ "method": "POST",
4777
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/webhooks",
4778
+ "inputSchema": {
4779
+ "type": "object",
4780
+ "properties": {
4781
+ "mailboxId": {
4782
+ "type": "string",
4783
+ "description": "Mailbox resource ID"
4784
+ },
4785
+ "name": {
4786
+ "type": "string",
4787
+ "description": "Human-readable name for this webhook"
4788
+ },
4789
+ "description": {
4790
+ "type": "string",
4791
+ "description": "Optional description of the webhook's purpose"
4792
+ },
4793
+ "events": {
4794
+ "type": "array",
4795
+ "description": "Events that trigger this webhook",
4796
+ "items": {
4797
+ "type": "string",
4798
+ "description": "events parameter",
4799
+ "enum": [
4800
+ "message.received"
4801
+ ]
4802
+ }
4803
+ },
4804
+ "status": {
4805
+ "type": "string",
4806
+ "description": "Initial status of the webhook",
4807
+ "enum": [
4808
+ "active",
4809
+ "disabled",
4810
+ "paused"
4811
+ ]
4812
+ },
4813
+ "url": {
4814
+ "type": "string",
4815
+ "description": "Publicly reachable URL that receives the webhook POST requests"
4816
+ }
4817
+ },
4818
+ "required": [
4819
+ "mailboxId",
4820
+ "name",
4821
+ "events",
4822
+ "url"
4823
+ ]
4824
+ },
4825
+ "security": [
4826
+ {
4827
+ "apiToken": []
4828
+ }
4829
+ ],
4830
+ "group": "mail"
4831
+ },
4749
4832
  {
4750
4833
  "name": "reach_deleteAContactV1",
4751
4834
  "description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
@@ -4760,6 +4760,89 @@ const tools: OpenApiTool[] = [
4760
4760
  ],
4761
4761
  "group": "mail"
4762
4762
  },
4763
+ {
4764
+ "name": "mail_getOrderPlanV1",
4765
+ "description": "Retrieve the plan the given mail order was purchased with, including\ndomain-level and mailbox-level quotas, limits, and protocol\navailability.",
4766
+ "method": "GET",
4767
+ "path": "/api/mail/v1/orders/{orderId}/plan",
4768
+ "inputSchema": {
4769
+ "type": "object",
4770
+ "properties": {
4771
+ "orderId": {
4772
+ "type": "string",
4773
+ "description": "Order resource ID"
4774
+ }
4775
+ },
4776
+ "required": [
4777
+ "orderId"
4778
+ ]
4779
+ },
4780
+ "security": [
4781
+ {
4782
+ "apiToken": []
4783
+ }
4784
+ ],
4785
+ "group": "mail"
4786
+ },
4787
+ {
4788
+ "name": "mail_createWebhookV1",
4789
+ "description": "Create a webhook for the given mailbox. The generated secret is\nreturned only in this response and is sent as a bearer token with\nevery delivery.",
4790
+ "method": "POST",
4791
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/webhooks",
4792
+ "inputSchema": {
4793
+ "type": "object",
4794
+ "properties": {
4795
+ "mailboxId": {
4796
+ "type": "string",
4797
+ "description": "Mailbox resource ID"
4798
+ },
4799
+ "name": {
4800
+ "type": "string",
4801
+ "description": "Human-readable name for this webhook"
4802
+ },
4803
+ "description": {
4804
+ "type": "string",
4805
+ "description": "Optional description of the webhook's purpose"
4806
+ },
4807
+ "events": {
4808
+ "type": "array",
4809
+ "description": "Events that trigger this webhook",
4810
+ "items": {
4811
+ "type": "string",
4812
+ "description": "events parameter",
4813
+ "enum": [
4814
+ "message.received"
4815
+ ]
4816
+ }
4817
+ },
4818
+ "status": {
4819
+ "type": "string",
4820
+ "description": "Initial status of the webhook",
4821
+ "enum": [
4822
+ "active",
4823
+ "disabled",
4824
+ "paused"
4825
+ ]
4826
+ },
4827
+ "url": {
4828
+ "type": "string",
4829
+ "description": "Publicly reachable URL that receives the webhook POST requests"
4830
+ }
4831
+ },
4832
+ "required": [
4833
+ "mailboxId",
4834
+ "name",
4835
+ "events",
4836
+ "url"
4837
+ ]
4838
+ },
4839
+ "security": [
4840
+ {
4841
+ "apiToken": []
4842
+ }
4843
+ ],
4844
+ "group": "mail"
4845
+ },
4763
4846
  {
4764
4847
  "name": "reach_deleteAContactV1",
4765
4848
  "description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
@@ -498,5 +498,88 @@ export default [
498
498
  }
499
499
  ],
500
500
  "group": "mail"
501
+ },
502
+ {
503
+ "name": "mail_getOrderPlanV1",
504
+ "description": "Retrieve the plan the given mail order was purchased with, including\ndomain-level and mailbox-level quotas, limits, and protocol\navailability.",
505
+ "method": "GET",
506
+ "path": "/api/mail/v1/orders/{orderId}/plan",
507
+ "inputSchema": {
508
+ "type": "object",
509
+ "properties": {
510
+ "orderId": {
511
+ "type": "string",
512
+ "description": "Order resource ID"
513
+ }
514
+ },
515
+ "required": [
516
+ "orderId"
517
+ ]
518
+ },
519
+ "security": [
520
+ {
521
+ "apiToken": []
522
+ }
523
+ ],
524
+ "group": "mail"
525
+ },
526
+ {
527
+ "name": "mail_createWebhookV1",
528
+ "description": "Create a webhook for the given mailbox. The generated secret is\nreturned only in this response and is sent as a bearer token with\nevery delivery.",
529
+ "method": "POST",
530
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/webhooks",
531
+ "inputSchema": {
532
+ "type": "object",
533
+ "properties": {
534
+ "mailboxId": {
535
+ "type": "string",
536
+ "description": "Mailbox resource ID"
537
+ },
538
+ "name": {
539
+ "type": "string",
540
+ "description": "Human-readable name for this webhook"
541
+ },
542
+ "description": {
543
+ "type": "string",
544
+ "description": "Optional description of the webhook's purpose"
545
+ },
546
+ "events": {
547
+ "type": "array",
548
+ "description": "Events that trigger this webhook",
549
+ "items": {
550
+ "type": "string",
551
+ "description": "events parameter",
552
+ "enum": [
553
+ "message.received"
554
+ ]
555
+ }
556
+ },
557
+ "status": {
558
+ "type": "string",
559
+ "description": "Initial status of the webhook",
560
+ "enum": [
561
+ "active",
562
+ "disabled",
563
+ "paused"
564
+ ]
565
+ },
566
+ "url": {
567
+ "type": "string",
568
+ "description": "Publicly reachable URL that receives the webhook POST requests"
569
+ }
570
+ },
571
+ "required": [
572
+ "mailboxId",
573
+ "name",
574
+ "events",
575
+ "url"
576
+ ]
577
+ },
578
+ "security": [
579
+ {
580
+ "apiToken": []
581
+ }
582
+ ],
583
+ "group": "mail"
501
584
  }
502
585
  ];
@@ -512,6 +512,89 @@ const tools: OpenApiTool[] = [
512
512
  }
513
513
  ],
514
514
  "group": "mail"
515
+ },
516
+ {
517
+ "name": "mail_getOrderPlanV1",
518
+ "description": "Retrieve the plan the given mail order was purchased with, including\ndomain-level and mailbox-level quotas, limits, and protocol\navailability.",
519
+ "method": "GET",
520
+ "path": "/api/mail/v1/orders/{orderId}/plan",
521
+ "inputSchema": {
522
+ "type": "object",
523
+ "properties": {
524
+ "orderId": {
525
+ "type": "string",
526
+ "description": "Order resource ID"
527
+ }
528
+ },
529
+ "required": [
530
+ "orderId"
531
+ ]
532
+ },
533
+ "security": [
534
+ {
535
+ "apiToken": []
536
+ }
537
+ ],
538
+ "group": "mail"
539
+ },
540
+ {
541
+ "name": "mail_createWebhookV1",
542
+ "description": "Create a webhook for the given mailbox. The generated secret is\nreturned only in this response and is sent as a bearer token with\nevery delivery.",
543
+ "method": "POST",
544
+ "path": "/api/mail/v1/mailboxes/{mailboxId}/webhooks",
545
+ "inputSchema": {
546
+ "type": "object",
547
+ "properties": {
548
+ "mailboxId": {
549
+ "type": "string",
550
+ "description": "Mailbox resource ID"
551
+ },
552
+ "name": {
553
+ "type": "string",
554
+ "description": "Human-readable name for this webhook"
555
+ },
556
+ "description": {
557
+ "type": "string",
558
+ "description": "Optional description of the webhook's purpose"
559
+ },
560
+ "events": {
561
+ "type": "array",
562
+ "description": "Events that trigger this webhook",
563
+ "items": {
564
+ "type": "string",
565
+ "description": "events parameter",
566
+ "enum": [
567
+ "message.received"
568
+ ]
569
+ }
570
+ },
571
+ "status": {
572
+ "type": "string",
573
+ "description": "Initial status of the webhook",
574
+ "enum": [
575
+ "active",
576
+ "disabled",
577
+ "paused"
578
+ ]
579
+ },
580
+ "url": {
581
+ "type": "string",
582
+ "description": "Publicly reachable URL that receives the webhook POST requests"
583
+ }
584
+ },
585
+ "required": [
586
+ "mailboxId",
587
+ "name",
588
+ "events",
589
+ "url"
590
+ ]
591
+ },
592
+ "security": [
593
+ {
594
+ "apiToken": []
595
+ }
596
+ ],
597
+ "group": "mail"
515
598
  }
516
599
  ];
517
600
  export default tools;
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/agency-hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-agency-hosting-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/all.js';
5
5
 
6
- startServer({ name: 'hostinger-api-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-api-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/billing.js';
5
5
 
6
- startServer({ name: 'hostinger-billing-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-billing-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/dns.js';
5
5
 
6
- startServer({ name: 'hostinger-dns-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-dns-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/domains.js';
5
5
 
6
- startServer({ name: 'hostinger-domains-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-domains-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/ecommerce.js';
5
5
 
6
- startServer({ name: 'hostinger-ecommerce-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-ecommerce-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/horizons.js';
5
5
 
6
- startServer({ name: 'hostinger-horizons-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-horizons-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/hosting.js';
5
5
 
6
- startServer({ name: 'hostinger-hosting-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-hosting-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/mail.js';
5
5
 
6
- startServer({ name: 'hostinger-mail-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-mail-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/reach.js';
5
5
 
6
- startServer({ name: 'hostinger-reach-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-reach-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/vps.js';
5
5
 
6
- startServer({ name: 'hostinger-vps-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-vps-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.17.0', tools });
@@ -3,4 +3,4 @@
3
3
  import { startServer } from '../core/runtime.js';
4
4
  import tools from '../core/tools/wordpress.js';
5
5
 
6
- startServer({ name: 'hostinger-wordpress-mcp', version: '1.16.0', tools });
6
+ startServer({ name: 'hostinger-wordpress-mcp', version: '1.17.0', tools });
package/types.d.ts CHANGED
@@ -3205,6 +3205,56 @@ plan, attached domain, and expiration details.
3205
3205
  response: any; // Response structure will depend on the API
3206
3206
  };
3207
3207
 
3208
+ /**
3209
+ * Retrieve the plan the given mail order was purchased with, including
3210
+ domain-level and mailbox-level quotas, limits, and protocol
3211
+ availability.
3212
+ */
3213
+ "mail_getOrderPlanV1": {
3214
+ params: {
3215
+ /**
3216
+ * Order resource ID
3217
+ */
3218
+ orderId: string;
3219
+ };
3220
+ response: any; // Response structure will depend on the API
3221
+ };
3222
+
3223
+ /**
3224
+ * Create a webhook for the given mailbox. The generated secret is
3225
+ returned only in this response and is sent as a bearer token with
3226
+ every delivery.
3227
+ */
3228
+ "mail_createWebhookV1": {
3229
+ params: {
3230
+ /**
3231
+ * Mailbox resource ID
3232
+ */
3233
+ mailboxId: string;
3234
+ /**
3235
+ * Human-readable name for this webhook
3236
+ */
3237
+ name: string;
3238
+ /**
3239
+ * Optional description of the webhook's purpose
3240
+ */
3241
+ description?: string;
3242
+ /**
3243
+ * Events that trigger this webhook
3244
+ */
3245
+ events: array;
3246
+ /**
3247
+ * Initial status of the webhook
3248
+ */
3249
+ status?: string;
3250
+ /**
3251
+ * Publicly reachable URL that receives the webhook POST requests
3252
+ */
3253
+ url: string;
3254
+ };
3255
+ response: any; // Response structure will depend on the API
3256
+ };
3257
+
3208
3258
  /**
3209
3259
  * Delete a contact with the specified UUID.
3210
3260