Bitrix24 Mail API

The Mail API from Bitrix24 — 24 operation(s) for mail.

GitHub OpenAPI

Operations 24

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /mail.mailbox.field.get Get a mailbox field definition · Get mailbox field mail.mailbox.field.get #
Ask an LLM
“What does a given mailbox field mean?”
“Can I look up the description of one mailbox field?”
Tell an agent
Get the definition of mailbox field {name}.
Describe mailbox field {name} with {select} fields.
POST /mail.mailbox.field.list List mailbox fields · Get a list of mailbox fields mail.mailbox.field.list #
Ask an LLM
“Which fields can I read on a mailbox?”
“What mailbox field names exist?”
Tell an agent
List all mailbox fields.
Show mailbox fields with {select} fields.
POST /mail.mailbox.get Get a mail server mailbox · Get mailbox mail.mailbox.get #
Ask an LLM
“Can I look up the configuration of a mailbox by its ID?”
“Which fields can I select when fetching a mailbox?”
Tell an agent
Get mailbox {id}.
Fetch mail server mailbox {id} returning {select}.
POST /mail.mailbox.list List mailboxes · Get a list of mailboxes mail.mailbox.list #
Ask an LLM
“Which mailboxes exist in my account?”
“Can I find a mailbox by email address?”
Tell an agent
List all mailboxes.
Find mailboxes with email {email}.
POST /mail.mailbox.senders List senders across mailboxes · Get senders mail.mailbox.senders #
Ask an LLM
“Who are the senders across my mailboxes?”
“Can I page through all mailbox senders?”
Tell an agent
List senders across mailboxes.
Show mailbox senders, {pagination} page.
POST /mail.message.createcalendarevent Create a calendar event from an email · Create a calendar event from an e-mail mail.message.createcalendarevent #
Ask an LLM
“Can I turn an email into a calendar event?”
“What date and time does the email event start and end?”
Tell an agent
Create a calendar event from email {messageId} from {dateFrom} to {dateTo}.
Add email {messageId} as a {name} event from {dateFrom} to {dateTo}.
POST /mail.message.createchat Create a chat from an email · Create a chat from e-mail mail.message.createchat #
Ask an LLM
“Can I start a chat from an email?”
“Is there a way to create a conversation thread from an email?”
Tell an agent
Create a chat from email {messageId}.
Start a conversation from email {messageId}.
POST /mail.message.createcrmactivity Create a CRM activity from an email · Create a CRM activity from an e-mail mail.message.createcrmactivity #
Ask an LLM
“Can I create a CRM activity from an email?”
“What happens to the email after a CRM activity is created?”
Tell an agent
Create a CRM activity from email {messageId}.
Log email {messageId} as a CRM activity.
POST /mail.message.createfeedpost Post an email to the News Feed · Create a News Feed message from e-mail mail.message.createfeedpost #
Ask an LLM
“Can I post an email to the News Feed?”
“Is it possible to share an email as a News Feed message?”
Tell an agent
Post email {messageId} to the News Feed.
Share email {messageId} on the News Feed as {title}.
POST /mail.message.createtask Create a task from an email · Create a task from an e-mail mail.message.createtask #
Ask an LLM
“Can I create a task from an email?”
“Who can be made responsible for an email task?”
Tell an agent
Create a task from email {messageId}.
Create a task from email {messageId} for {responsibleId} titled {title}.
POST /mail.message.field.get Get an email field definition · Get e-mail field mail.message.field.get #
Ask an LLM
“What does a given email field mean?”
“Can I look up the description of one email field?”
Tell an agent
Get the definition of email field {name}.
Describe email field {name} with {select} fields.
POST /mail.message.field.list List email fields · Get a list of email fields mail.message.field.list #
Ask an LLM
“Which fields can I read on an email?”
“What email field names exist?”
Tell an agent
List all email fields.
Show email fields with {select} fields.
POST /mail.message.forward Forward an email · Forward e-mail mail.message.forward #
Ask an LLM
“Can I forward an email to a new recipient?”
“Is it possible to CC or BCC recipients when forwarding an email?”
Tell an agent
Forward email {forwardMessageId} from {from} to {to} with subject {subject} and body {body}.
Forward email {forwardMessageId} from {from} to {to} with subject {subject}, body {body}, CC {cc}, BCC {bcc}.
POST /mail.message.get Get an e-mail message · Get e-mail mail.message.get #
Ask an LLM
“Can I read one email by its ID?”
“What fields can I choose when fetching an email?”
Tell an agent
Get email {id}.
Fetch e-mail message {id} with fields {select}.
POST /mail.message.list List emails · Get a list of e-mails mail.message.list #
Ask an LLM
“Which emails are in a mailbox?”
“Can I search emails by content or date range?”
Tell an agent
List emails in mailbox {mailboxId}.
Find emails in {mailboxId} matching {searchQuery}.
POST /mail.message.movetofolder Move emails to a folder · Move emails to folder mail.message.movetofolder #
Ask an LLM
“Can I move several emails to a folder at once?”
“What action do I use to move emails to a folder?”
Tell an agent
Move emails {messageIds} with action {action}.
Move emails {messageIds} with action {action} to folder {folder}.
POST /mail.message.removecrmactivity Remove an email's link to a CRM deal · Remove the link between an e-mail and a CRM deal mail.message.removecrmactivity #
Ask an LLM
“Can I unlink an email from a CRM deal?”
“What removes the CRM activity link from an email?”
Tell an agent destructive · confirm first
Remove the CRM activity link from email {messageId}.
Unlink email {messageId} from its CRM deal.
POST /mail.message.reply Reply to an email · Reply to e-mail mail.message.reply #
Ask an LLM
“Can I reply to an email from my own address?”
“Is it possible to CC or BCC recipients when replying to an email?”
Tell an agent
Reply to email {replyToMessageId} from {from} to {to} with subject {subject} and body {body}.
Reply to email {replyToMessageId} from {from} to {to} with subject {subject}, body {body}, CC {cc}, BCC {bcc}.
POST /mail.message.send Send an email · Send an e-mail mail.message.send #
Ask an LLM
“Can I send an email from my own address?”
“What do I need to send an email, like subject and body?”
Tell an agent
Send an email from {from} to {to} with subject {subject} and body {body}.
Send an email from {from} to {to} with subject {subject}, body {body}, CC {cc}, BCC {bcc}.
POST /mail.message.thread Get an email thread · Get e-mail thread mail.message.thread #
Ask an LLM
“What emails are in the thread of a given email?”
“Can I see the full conversation history of an email?”
Tell an agent
Get the thread of email {id}.
Show the {limit} most recent emails in the thread of {id}.
POST /mail.recipient.field.get Get one recipient field's description · Get recipient field mail.recipient.field.get #
Ask an LLM
“What does a specific recipient field in my mail setup mean?”
“Can I fetch the description of one mail recipient field by name?”
Tell an agent
Get the description of recipient field {name}.
Describe the mail recipient field {name} with fields {select}.
POST /mail.recipient.field.list List recipient fields · Get a list of recipient fields mail.recipient.field.list #
Ask an LLM
“Which recipient fields are available for my mail setup?”
“Can I get descriptions for several recipient fields at once?”
Tell an agent
List all recipient fields.
List recipient fields with {select} fields selected.
POST /mail.recipient.listcontacts Find contacts by name or email · Get a list of contacts mail.recipient.listcontacts #
Ask an LLM
“How do I find a contact by name or email for mail recipients?”
“Can I search my contact list for a recipient?”
Tell an agent
Find contacts matching {query}.
Search mail contacts for {query} with pagination {pagination}.
POST /mail.recipient.listemployees Find employees by name or email · Get a list of employees mail.recipient.listemployees #
Ask an LLM
“How do I find an employee by name or email for mail recipients?”
“Can I search my employee list for a recipient?”
Tell an agent
Find employees matching {query}.
Search mail employees for {query} with pagination {pagination}.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitrix24:bitrix24-mail-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitrix24-mail-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitrix24 REST Mail API
  version: 1.0.0
  description: 'Bitrix24 REST API provides access to CRM, tasks, drive, chats, telephony, e-commerce, automation, and other modules. Documentation: https://apidocs.bitrix24.com'
  contact:
    name: Bitrix24 Developer Support
    url: https://apidocs.bitrix24.com/support.html
  license:
    name: MIT
    url: https://github.com/bitrix-tools/b24-rest-docs/blob/main/LICENSE
  x-logo:
    url: https://apidocs.bitrix24.com/_images/bitrix24logo.svg
servers:
- url: https://{portal}.bitrix24.com/rest
  description: Your Bitrix24 portal (cloud)
  variables:
    portal:
      default: your-portal
      description: Subdomain of your Bitrix24 portal
- url: https://{host}/rest
  description: On-Premise Bitrix24 installation
  variables:
    host:
      default: your-bitrix24.example.com
      description: Host of your on-premise installation
security:
- AccessToken: []
tags:


# --- truncated at 32 KB (62 KB total) ---
# Full source: https://artifacts.apis.io/bitrix24/openapi/bitrix24-mail-api-openapi.yml