Mailgi is an MCP server published by xyz.mailgi, hosted at api.mailgi.xyz. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 67 tools, including register_agent, org_login_request_code, org_login_verify, topup_lookup, topup_start.
Email for AI agents: register a real inbox with no human, then send, receive and read mail.
13 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Creates a new agent with its own email address and returns its API key, shown once.
| Parameter | Type | Description |
|---|---|---|
| did | string | Optional did:key DID; only changes the alias address. |
| label | string | A name for your own reference. |
| localPart | string | Chosen address before the @, used with domainToken. |
| domainToken | string | Registration token for an organization's domain. Requires localPart. |
{
"name": "register_agent",
"title": "Register an agent",
"description": "Creates a new agent with its own email address and returns its API key, shown once.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"did": {
"type": "string",
"description": "Optional did:key DID; only changes the alias address."
},
"label": {
"type": "string",
"description": "A name for your own reference."
},
"localPart": {
"type": "string",
"description": "Chosen address before the @, used with domainToken."
},
"domainToken": {
"type": "string",
"description": "Registration token for an organization's domain. Requires localPart."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Register an agent",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Emails a 6-digit dashboard login code to a human's address. Creates the account on first login.
| Parameter | Type | Description |
|---|---|---|
| email * | string | The human's email address; the code is sent there. |
{
"name": "org_login_request_code",
"title": "Request dashboard login code",
"description": "Emails a 6-digit dashboard login code to a human's address. Creates the account on first login.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "The human's email address; the code is sent there."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Request dashboard login code",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Exchanges an emailed login code for a dashboard session token.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The 6-digit code from the email, e.g. "482913". |
| email * | string | The address the code was sent to. |
{
"name": "org_login_verify",
"title": "Verify dashboard login code",
"description": "Exchanges an emailed login code for a dashboard session token.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"email",
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 6,
"minLength": 6,
"description": "The 6-digit code from the email, e.g. \"482913\"."
},
"email": {
"type": "string",
"format": "email",
"description": "The address the code was sent to."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Verify dashboard login code",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Shows which wallet a top-up for a Mailgi address would credit, and the allowed amounts.
| Parameter | Type | Description |
|---|---|---|
| address * | string | The agent's email or alias address. |
{
"name": "topup_lookup",
"title": "Look up a top-up",
"description": "Shows which wallet a top-up for a Mailgi address would credit, and the allowed amounts.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"description": "The agent's email or alias address."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Look up a top-up",
"readOnlyHint": true,
"openWorldHint": false
}
}Creates a card payment link for the wallet behind any Mailgi address. Give it to a human to pay.
| Parameter | Type | Description |
|---|---|---|
| address * | string | The agent's email or alias address. |
| amountUsd * | number | USD, within the range from topup_lookup. |
{
"name": "topup_start",
"title": "Start a top-up",
"description": "Creates a card payment link for the wallet behind any Mailgi address. Give it to a human to pay.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"address",
"amountUsd"
],
"properties": {
"address": {
"type": "string",
"description": "The agent's email or alias address."
},
"amountUsd": {
"type": "number",
"description": "USD, within the range from topup_lookup."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Start a top-up",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Returns whether a top-up payment has been paid and credited.
| Parameter | Type | Description |
|---|---|---|
| sessionId * | string | Checkout session ID from the payment link. |
{
"name": "topup_status",
"title": "Check a top-up",
"description": "Returns whether a top-up payment has been paid and credited.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sessionId"
],
"properties": {
"sessionId": {
"type": "string",
"maxLength": 255,
"description": "Checkout session ID from the payment link."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check a top-up",
"readOnlyHint": true,
"openWorldHint": false
}
}Checks that the Mailgi API, its database and the mail server are up.
No parameters.
{
"name": "health",
"title": "Service health",
"description": "Checks that the Mailgi API, its database and the mail server are up.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Service health",
"readOnlyHint": true,
"openWorldHint": false
}
}Returns this agent's profile: its addresses, label and domain.
No parameters.
{
"name": "agent_get",
"title": "Get agent profile",
"description": "Returns this agent's profile: its addresses, label and domain.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Get agent profile",
"readOnlyHint": true,
"openWorldHint": false
}
}Returns this agent's daily send and API counters; the latest day is partial.
| Parameter | Type | Description |
|---|---|---|
| to | ref | ISO date, inclusive. Defaults to today. |
| from | string | ISO date, inclusive. Defaults to 30 days ago. |
{
"name": "agent_usage",
"title": "Get agent usage",
"description": "Returns this agent's daily send and API counters; the latest day is partial.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"$ref": "#/properties/from",
"description": "ISO date, inclusive. Defaults to today."
},
"from": {
"type": "string",
"description": "ISO date, inclusive. Defaults to 30 days ago."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get agent usage",
"readOnlyHint": true,
"openWorldHint": false
}
}Permanently deletes this agent, its mailbox and all its API keys.
No parameters.
{
"name": "agent_delete",
"title": "Delete agent",
"description": "Permanently deletes this agent, its mailbox and all its API keys.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Delete agent",
"readOnlyHint": false,
"destructiveHint": true
}
}Lists message headers in the mailbox, newest first by default; filter by folder with mailboxId.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort by receivedAt. |
| limit | integer | Max messages to return. |
| position | integer | Zero-based offset for pagination. |
| mailboxId | string | Folder ID from mailbox_list. Omit for all mail. |
{
"name": "mail_list",
"title": "List messages",
"description": "Lists message headers in the mailbox, newest first by default; filter by folder with mailboxId.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"sort": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort by receivedAt."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Max messages to return."
},
"position": {
"type": "integer",
"minimum": 0,
"description": "Zero-based offset for pagination."
},
"mailboxId": {
"type": "string",
"description": "Folder ID from mailbox_list. Omit for all mail."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List messages",
"readOnlyHint": true,
"openWorldHint": false
}
}Returns one message with its full text and HTML body.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Message ID from mail_list. |
{
"name": "mail_get",
"title": "Read a message",
"description": "Returns one message with its full text and HTML body.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Message ID from mail_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a message",
"readOnlyHint": true,
"openWorldHint": false
}
}Sends an email from this agent's address. Mail to outside addresses is charged to the wallet. Until the wallet is first topped up it is free, up to 50 new recipients a day, and sent mail ends with a one-line "Sent with Mailgi" footer.
| Parameter | Type | Description |
|---|---|---|
| cc | array | Cc addresses, visible to all recipients. At most 50. |
| to * | array | Recipient addresses. |
| bcc | array | Bcc addresses, hidden from other recipients. At most 50. |
| replyTo | string | Reply-To address. |
| subject * | string | Subject line. |
| htmlBody | string | HTML body. |
| textBody | string | Plain-text body. |
{
"name": "mail_send",
"title": "Send email",
"description": "Sends an email from this agent's address. Mail to outside addresses is charged to the wallet. Until the wallet is first topped up it is free, up to 50 new recipients a day, and sent mail ends with a one-line \"Sent with Mailgi\" footer.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"to",
"subject"
],
"properties": {
"cc": {
"type": "array",
"items": {
"type": "string",
"maxLength": 320
},
"description": "Cc addresses, visible to all recipients. At most 50."
},
"to": {
"type": "array",
"items": {
"type": "string",
"maxLength": 320
},
"minItems": 1,
"description": "Recipient addresses."
},
"bcc": {
"type": "array",
"items": {
"type": "string",
"maxLength": 320
},
"description": "Bcc addresses, hidden from other recipients. At most 50."
},
"replyTo": {
"type": "string",
"description": "Reply-To address."
},
"subject": {
"type": "string",
"description": "Subject line."
},
"htmlBody": {
"type": "string",
"description": "HTML body."
},
"textBody": {
"type": "string",
"description": "Plain-text body."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Send email",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Moves a message to the Trash folder.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Message ID from mail_list. |
{
"name": "mail_delete",
"title": "Move message to Trash",
"description": "Moves a message to the Trash folder.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Message ID from mail_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Move message to Trash",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Moves a message to another folder.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Message ID from mail_list. |
| mailboxId * | string | Destination folder ID from mailbox_list. |
{
"name": "mail_move",
"title": "Move message",
"description": "Moves a message to another folder.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"mailboxId"
],
"properties": {
"id": {
"type": "string",
"description": "Message ID from mail_list."
},
"mailboxId": {
"type": "string",
"description": "Destination folder ID from mailbox_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Move message",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Marks a message as seen or unseen, flagged or unflagged.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Message ID from mail_list. |
| seen | boolean | true marks the message read, false unread. Omit to leave it unchanged. |
| flagged | boolean | true flags (stars) the message, false clears the flag. Omit to leave it unchanged. |
{
"name": "mail_set_flags",
"title": "Set message flags",
"description": "Marks a message as seen or unseen, flagged or unflagged.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Message ID from mail_list."
},
"seen": {
"type": "boolean",
"description": "true marks the message read, false unread. Omit to leave it unchanged."
},
"flagged": {
"type": "boolean",
"description": "true flags (stars) the message, false clears the flag. Omit to leave it unchanged."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Set message flags",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Lists all folders, including Inbox, Sent and Trash.
No parameters.
{
"name": "mailbox_list",
"title": "List folders",
"description": "Lists all folders, including Inbox, Sent and Trash.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List folders",
"readOnlyHint": true,
"openWorldHint": false
}
}Creates a folder, optionally nested under another.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Folder name. |
| parentId | string | Parent folder ID for nesting. |
{
"name": "mailbox_create",
"title": "Create folder",
"description": "Creates a folder, optionally nested under another.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Folder name."
},
"parentId": {
"type": "string",
"description": "Parent folder ID for nesting."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create folder",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Changes a custom folder's name; its ID and messages stay the same.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Folder ID from mailbox_list. |
| name * | string | New folder name; cannot be empty. |
{
"name": "mailbox_rename",
"title": "Rename folder",
"description": "Changes a custom folder's name; its ID and messages stay the same.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"description": "Folder ID from mailbox_list."
},
"name": {
"type": "string",
"description": "New folder name; cannot be empty."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rename folder",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Permanently deletes a custom folder, chosen by its ID from mailbox_list.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Folder ID from mailbox_list. |
{
"name": "mailbox_delete",
"title": "Delete folder",
"description": "Permanently deletes a custom folder, chosen by its ID from mailbox_list.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Folder ID from mailbox_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete folder",
"readOnlyHint": false,
"destructiveHint": true
}
}Lists this agent's API keys. Key values are never shown again.
No parameters.
{
"name": "apikey_list",
"title": "List API keys",
"description": "Lists this agent's API keys. Key values are never shown again.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List API keys",
"readOnlyHint": true,
"openWorldHint": false
}
}Creates another API key for this agent. The key is shown once.
| Parameter | Type | Description |
|---|---|---|
| label | string | A name for your own reference, e.g. "ci". |
| expiresAt | string | ISO 8601 expiry date-time. |
{
"name": "apikey_create",
"title": "Create API key",
"description": "Creates another API key for this agent. The key is shown once.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"label": {
"type": "string",
"description": "A name for your own reference, e.g. \"ci\"."
},
"expiresAt": {
"type": "string",
"description": "ISO 8601 expiry date-time."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create API key",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Revokes an API key immediately.
| Parameter | Type | Description |
|---|---|---|
| keyId * | string | API key ID from apikey_list, not the key value. |
{
"name": "apikey_revoke",
"title": "Revoke API key",
"description": "Revokes an API key immediately.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"keyId"
],
"properties": {
"keyId": {
"type": "string",
"description": "API key ID from apikey_list, not the key value."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Revoke API key",
"readOnlyHint": false,
"destructiveHint": true
}
}Returns the wallet this agent spends from: balance, prices, the free tier and how to top up.
No parameters.
{
"name": "billing_get",
"title": "Get wallet",
"description": "Returns the wallet this agent spends from: balance, prices, the free tier and how to top up.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Get wallet",
"readOnlyHint": true,
"openWorldHint": false
}
}Creates a card payment link for this agent's wallet. Give it to a human to pay.
| Parameter | Type | Description |
|---|---|---|
| amountUsd * | number | USD; the minimum is in billing_get. |
{
"name": "billing_topup",
"title": "Create top-up link",
"description": "Creates a card payment link for this agent's wallet. Give it to a human to pay.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"amountUsd"
],
"properties": {
"amountUsd": {
"type": "number",
"maximum": 1000,
"minimum": 1,
"description": "USD; the minimum is in billing_get."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create top-up link",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Lists the wallet ledger, newest first.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max transactions to return, 1-100. Defaults to 20. |
| offset | integer | Transactions to skip, for pagination. Defaults to 0. |
{
"name": "billing_transactions",
"title": "List wallet transactions",
"description": "Lists the wallet ledger, newest first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Max transactions to return, 1-100. Defaults to 20."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Transactions to skip, for pagination. Defaults to 0."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List wallet transactions",
"readOnlyHint": true,
"openWorldHint": false
}
}Lists this agent's webhook endpoints.
No parameters.
{
"name": "webhook_list",
"title": "List webhooks",
"description": "Lists this agent's webhook endpoints.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List webhooks",
"readOnlyHint": true,
"openWorldHint": false
}
}Registers an HTTPS URL to be notified when mail arrives. The signing secret is shown once.
| Parameter | Type | Description |
|---|---|---|
| url * | string | HTTPS URL to POST notifications to. |
| eventTypes | array | Events to notify on. Only "mail.received" is supported, and it is the default. |
{
"name": "webhook_create",
"title": "Create webhook",
"description": "Registers an HTTPS URL to be notified when mail arrives. The signing secret is shown once.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "HTTPS URL to POST notifications to."
},
"eventTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Events to notify on. Only \"mail.received\" is supported, and it is the default."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create webhook",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Deletes a webhook endpoint.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from webhook_list. |
{
"name": "webhook_delete",
"title": "Delete webhook",
"description": "Deletes a webhook endpoint.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from webhook_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete webhook",
"readOnlyHint": false,
"destructiveHint": true
}
}Lists recent delivery attempts for a webhook endpoint.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from webhook_list. |
{
"name": "webhook_deliveries",
"title": "List webhook deliveries",
"description": "Lists recent delivery attempts for a webhook endpoint.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from webhook_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List webhook deliveries",
"readOnlyHint": true,
"openWorldHint": false
}
}Queues a delivery attempt to be sent again.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from webhook_list. |
| deliveryId * | string | Delivery ID from webhook_deliveries. |
{
"name": "webhook_resend",
"title": "Resend webhook delivery",
"description": "Queues a delivery attempt to be sent again.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"deliveryId"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from webhook_list."
},
"deliveryId": {
"type": "string",
"description": "Delivery ID from webhook_deliveries."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Resend webhook delivery",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Re-enables a webhook endpoint that was switched off after repeated failures.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from webhook_list. |
{
"name": "webhook_enable",
"title": "Re-enable webhook",
"description": "Re-enables a webhook endpoint that was switched off after repeated failures.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from webhook_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Re-enable webhook",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Returns the signed-in user and the organizations they belong to.
No parameters.
{
"name": "org_me",
"title": "Who am I",
"description": "Returns the signed-in user and the organizations they belong to.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Who am I",
"readOnlyHint": true,
"openWorldHint": false
}
}Revokes the current dashboard session token.
No parameters.
{
"name": "org_logout",
"title": "Sign out",
"description": "Revokes the current dashboard session token.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Sign out",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Lists the organizations the signed-in user belongs to.
No parameters.
{
"name": "org_list",
"title": "List organizations",
"description": "Lists the organizations the signed-in user belongs to.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List organizations",
"readOnlyHint": true,
"openWorldHint": false
}
}Creates an organization; the signed-in user becomes its owner.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Display name, up to 80 characters. |
| slug | string | URL-safe ID: lowercase letters, digits and single hyphens, e.g. "acme-labs". Defaults to one made from name. |
{
"name": "org_create",
"title": "Create organization",
"description": "Creates an organization; the signed-in user becomes its owner.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "Display name, up to 80 characters."
},
"slug": {
"type": "string",
"maxLength": 40,
"description": "URL-safe ID: lowercase letters, digits and single hyphens, e.g. \"acme-labs\". Defaults to one made from name."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create organization",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Returns one organization: its name, slug and the signed-in user's role in it.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
{
"name": "org_get",
"title": "Get organization",
"description": "Returns one organization: its name, slug and the signed-in user's role in it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get organization",
"readOnlyHint": true,
"openWorldHint": false
}
}Changes an organization's display name; its slug and ID stay the same.
| Parameter | Type | Description |
|---|---|---|
| name * | string | New display name, up to 80 characters. |
| orgId * | string | Organization ID from org_list. |
{
"name": "org_rename",
"title": "Rename organization",
"description": "Changes an organization's display name; its slug and ID stay the same.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"description": "New display name, up to 80 characters."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Rename organization",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Lists an organization's members and their roles.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
{
"name": "org_member_list",
"title": "List members",
"description": "Lists an organization's members and their roles.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List members",
"readOnlyHint": true,
"openWorldHint": false
}
}Changes a member's role in the organization to owner, admin or member.
| Parameter | Type | Description |
|---|---|---|
| role * | string | The member's new role. |
| orgId * | string | Organization ID from org_list. |
| userId * | string | User ID of the member, from org_member_list. |
{
"name": "org_member_set_role",
"title": "Change member role",
"description": "Changes a member's role in the organization to owner, admin or member.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"userId",
"role"
],
"properties": {
"role": {
"enum": [
"owner",
"admin",
"member"
],
"type": "string",
"description": "The member's new role."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"userId": {
"type": "string",
"description": "User ID of the member, from org_member_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Change member role",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Removes a member from the organization, or leaves it when userId is your own.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| userId * | string | User ID of the member, from org_member_list. |
{
"name": "org_member_remove",
"title": "Remove member",
"description": "Removes a member from the organization, or leaves it when userId is your own.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"userId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"userId": {
"type": "string",
"description": "User ID of the member, from org_member_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Remove member",
"readOnlyHint": false,
"destructiveHint": true
}
}Emails an invitation to join the organization.
| Parameter | Type | Description |
|---|---|---|
| role | string | Role they get on accepting. Defaults to member. |
| email * | string | Email address of the person to invite. |
| orgId * | string | Organization ID from org_list. |
{
"name": "org_invite_create",
"title": "Invite member",
"description": "Emails an invitation to join the organization.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"email"
],
"properties": {
"role": {
"enum": [
"admin",
"member"
],
"type": "string",
"description": "Role they get on accepting. Defaults to member."
},
"email": {
"type": "string",
"format": "email",
"description": "Email address of the person to invite."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Invite member",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Lists an organization's pending invitations.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
{
"name": "org_invite_list",
"title": "List invites",
"description": "Lists an organization's pending invitations.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List invites",
"readOnlyHint": true,
"openWorldHint": false
}
}Revokes a pending invitation.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| inviteId * | string | Invite ID from org_invite_list. |
{
"name": "org_invite_revoke",
"title": "Revoke invite",
"description": "Revokes a pending invitation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"inviteId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"inviteId": {
"type": "string",
"description": "Invite ID from org_invite_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Revoke invite",
"readOnlyHint": false,
"destructiveHint": true
}
}Accepts an organization invitation with the token from the invite email.
| Parameter | Type | Description |
|---|---|---|
| token * | string | Invite token from the link in the invitation email. |
{
"name": "invite_accept",
"title": "Accept invite",
"description": "Accepts an organization invitation with the token from the invite email.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"description": "Invite token from the link in the invitation email."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Accept invite",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Attaches a custom domain and returns the DNS records to publish.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| domain * | string | e.g. example.com |
{
"name": "domain_attach",
"title": "Attach domain",
"description": "Attaches a custom domain and returns the DNS records to publish.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domain"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domain": {
"type": "string",
"maxLength": 253,
"description": "e.g. example.com"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Attach domain",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Lists an organization's custom domains.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
{
"name": "domain_list",
"title": "List domains",
"description": "Lists an organization's custom domains.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List domains",
"readOnlyHint": true,
"openWorldHint": false
}
}Returns a domain's verification status and the DNS records it needs.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "domain_get",
"title": "Get domain",
"description": "Returns a domain's verification status and the DNS records it needs.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get domain",
"readOnlyHint": true,
"openWorldHint": false
}
}Re-checks the domain's DNS records and verifies it if they are correct.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "domain_verify",
"title": "Verify domain",
"description": "Re-checks the domain's DNS records and verifies it if they are correct.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Verify domain",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Detaches a custom domain from the organization.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "domain_detach",
"title": "Detach domain",
"description": "Detaches a custom domain from the organization.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Detach domain",
"readOnlyHint": false,
"destructiveHint": true
}
}Lists the inboxes (agents) on a domain.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "domain_inbox_list",
"title": "List inboxes",
"description": "Lists the inboxes (agents) on a domain.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List inboxes",
"readOnlyHint": true,
"openWorldHint": false
}
}Creates an inbox with a chosen address on a domain. Its API key is shown once.
| Parameter | Type | Description |
|---|---|---|
| label | string | A name for your own reference. |
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
| localPart * | string | e.g. "support" for support@yourdomain.com |
{
"name": "domain_inbox_create",
"title": "Create inbox",
"description": "Creates an inbox with a chosen address on a domain. Its API key is shown once.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId",
"localPart"
],
"properties": {
"label": {
"type": "string",
"maxLength": 80,
"description": "A name for your own reference."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
},
"localPart": {
"type": "string",
"maxLength": 64,
"description": "e.g. \"support\" for support@yourdomain.com"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create inbox",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Removes an inbox and its mail from a domain.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| agentId * | string | Inbox ID from domain_inbox_list. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "domain_inbox_delete",
"title": "Delete inbox",
"description": "Removes an inbox and its mail from a domain.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId",
"agentId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"agentId": {
"type": "string",
"description": "Inbox ID from domain_inbox_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete inbox",
"readOnlyHint": false,
"destructiveHint": true
}
}Creates a token that lets an agent register its own address on this domain. Shown once.
| Parameter | Type | Description |
|---|---|---|
| label | string | A name for your own reference. |
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "regtoken_create",
"title": "Create registration token",
"description": "Creates a token that lets an agent register its own address on this domain. Shown once.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId"
],
"properties": {
"label": {
"type": "string",
"maxLength": 80,
"description": "A name for your own reference."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create registration token",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Lists a domain's registration tokens.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "regtoken_list",
"title": "List registration tokens",
"description": "Lists a domain's registration tokens.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List registration tokens",
"readOnlyHint": true,
"openWorldHint": false
}
}Revokes a registration token.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| tokenId * | string | Registration token ID from regtoken_list, not the token value. |
| domainId * | string | Domain ID from domain_list. |
{
"name": "regtoken_revoke",
"title": "Revoke registration token",
"description": "Revokes a registration token.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId",
"tokenId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"tokenId": {
"type": "string",
"description": "Registration token ID from regtoken_list, not the token value."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Revoke registration token",
"readOnlyHint": false,
"destructiveHint": true
}
}Returns daily send, receive and API counters across the organization.
| Parameter | Type | Description |
|---|---|---|
| to | string | ISO date, inclusive. Defaults to today. |
| from | string | ISO date, inclusive. Defaults to 30 days ago. |
| orgId * | string | Organization ID from org_list. |
| breakdown | string | Split each day by agent. |
{
"name": "org_usage",
"title": "Get organization usage",
"description": "Returns daily send, receive and API counters across the organization.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"to": {
"type": "string",
"description": "ISO date, inclusive. Defaults to today."
},
"from": {
"type": "string",
"description": "ISO date, inclusive. Defaults to 30 days ago."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"breakdown": {
"enum": [
"agent"
],
"type": "string",
"description": "Split each day by agent."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get organization usage",
"readOnlyHint": true,
"openWorldHint": false
}
}Returns daily send, receive and API counters for one domain.
| Parameter | Type | Description |
|---|---|---|
| to | string | ISO date, inclusive. Defaults to today. |
| from | string | ISO date, inclusive. Defaults to 30 days ago. |
| orgId * | string | Organization ID from org_list. |
| domainId * | string | Domain ID from domain_list. |
| breakdown | string | Split each day by agent. |
{
"name": "domain_usage",
"title": "Get domain usage",
"description": "Returns daily send, receive and API counters for one domain.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"domainId"
],
"properties": {
"to": {
"type": "string",
"description": "ISO date, inclusive. Defaults to today."
},
"from": {
"type": "string",
"description": "ISO date, inclusive. Defaults to 30 days ago."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"domainId": {
"type": "string",
"description": "Domain ID from domain_list."
},
"breakdown": {
"enum": [
"agent"
],
"type": "string",
"description": "Split each day by agent."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get domain usage",
"readOnlyHint": true,
"openWorldHint": false
}
}Returns the organization's shared wallet: balance, prices and how to top up.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
{
"name": "org_billing_get",
"title": "Get organization wallet",
"description": "Returns the organization's shared wallet: balance, prices and how to top up.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get organization wallet",
"readOnlyHint": true,
"openWorldHint": false
}
}Creates a card payment link for the organization wallet.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
| amountUsd * | number | USD; the minimum is in org_billing_get. |
{
"name": "org_billing_topup",
"title": "Create organization top-up link",
"description": "Creates a card payment link for the organization wallet.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"amountUsd"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"amountUsd": {
"type": "number",
"maximum": 1000,
"minimum": 1,
"description": "USD; the minimum is in org_billing_get."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create organization top-up link",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Lists the organization wallet ledger, newest first.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max transactions to return, 1-100. Defaults to 20. |
| orgId * | string | Organization ID from org_list. |
| offset | integer | Transactions to skip, for pagination. Defaults to 0. |
{
"name": "org_billing_transactions",
"title": "List organization transactions",
"description": "Lists the organization wallet ledger, newest first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Max transactions to return, 1-100. Defaults to 20."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Transactions to skip, for pagination. Defaults to 0."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List organization transactions",
"readOnlyHint": true,
"openWorldHint": false
}
}Lists webhook endpoints across the organization's inboxes.
| Parameter | Type | Description |
|---|---|---|
| orgId * | string | Organization ID from org_list. |
{
"name": "org_webhook_list",
"title": "List organization webhooks",
"description": "Lists webhook endpoints across the organization's inboxes.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId"
],
"properties": {
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List organization webhooks",
"readOnlyHint": true,
"openWorldHint": false
}
}Registers an HTTPS URL to be notified when mail arrives at one of the organization's inboxes.
| Parameter | Type | Description |
|---|---|---|
| url * | string | HTTPS URL to POST notifications to. |
| orgId * | string | Organization ID from org_list. |
| agentId * | string | Inbox ID from domain_inbox_list. |
| eventTypes | array | Events to notify on. Only "mail.received" is supported, and it is the default. |
{
"name": "org_webhook_create",
"title": "Create organization webhook",
"description": "Registers an HTTPS URL to be notified when mail arrives at one of the organization's inboxes.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"agentId",
"url"
],
"properties": {
"url": {
"type": "string",
"description": "HTTPS URL to POST notifications to."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"agentId": {
"type": "string",
"description": "Inbox ID from domain_inbox_list."
},
"eventTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Events to notify on. Only \"mail.received\" is supported, and it is the default."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create organization webhook",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Deletes a webhook endpoint.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from org_webhook_list. |
| orgId * | string | Organization ID from org_list. |
{
"name": "org_webhook_delete",
"title": "Delete organization webhook",
"description": "Deletes a webhook endpoint.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from org_webhook_list."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Delete organization webhook",
"readOnlyHint": false,
"destructiveHint": true
}
}Lists recent delivery attempts for a webhook endpoint.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from org_webhook_list. |
| orgId * | string | Organization ID from org_list. |
{
"name": "org_webhook_deliveries",
"title": "List organization webhook deliveries",
"description": "Lists recent delivery attempts for a webhook endpoint.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from org_webhook_list."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List organization webhook deliveries",
"readOnlyHint": true,
"openWorldHint": false
}
}Queues a delivery attempt to be sent again.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from org_webhook_list. |
| orgId * | string | Organization ID from org_list. |
| deliveryId * | string | Delivery ID from org_webhook_deliveries. |
{
"name": "org_webhook_resend",
"title": "Resend organization webhook delivery",
"description": "Queues a delivery attempt to be sent again.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"id",
"deliveryId"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from org_webhook_list."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
},
"deliveryId": {
"type": "string",
"description": "Delivery ID from org_webhook_deliveries."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Resend organization webhook delivery",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Re-enables a webhook endpoint that was switched off after repeated failures.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook endpoint ID from org_webhook_list. |
| orgId * | string | Organization ID from org_list. |
{
"name": "org_webhook_enable",
"title": "Re-enable organization webhook",
"description": "Re-enables a webhook endpoint that was switched off after repeated failures.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"orgId",
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Webhook endpoint ID from org_webhook_list."
},
"orgId": {
"type": "string",
"description": "Organization ID from org_list."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Re-enable organization webhook",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Mailgi gives an AI agent a real email address it uses over an API. Each tool calls one Mailgi REST endpoint and behaves exactly like it. Agent tools need the connection header `Authorization: Bearer <apiKey>`; register_agent creates an agent and returns one. Organization tools (domains, inboxes, team, org wallet) need `X-Mailgi-Session: <token>`; get one with org_login_request_code and org_login_verify. Read the mailgi://skill resource for prices, limits and error codes.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.