Microsoft Azure Email Send API

The EmailSend API from Microsoft Azure, for emailsend.

GitHub OpenAPI

Operations 1

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 /emails:send Send an email · Microsoft Azure Queues An Email Message To Be Sent To One Or More Recipients #
Ask an LLM
“How do I send an email through Azure Communication Services?”
“Can I attach files or set a reply-to address on an outgoing email?”
Tell an agent
Send an email from {sender} to {recipients} with content {content}.
Email {recipients} from {sender} with attachments {attachments} and content {content}.

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/microsoft-azure:microsoft-azure-emailsend-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

microsoft-azure-emailsend-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure CommunicationEmailClient Email Send API
  description: Azure Communication Email Service
  version: 2021-10-01-preview
security:
- Authorization: []
tags:
- name: EmailSend
paths:
  /emails:send:
    post:
      tags:
      - EmailSend
      summary: Microsoft Azure Queues An Email Message To Be Sent To One Or More Recipients
      operationId: microsoftAzureEmailSend
      parameters:
      - in: header
        name: repeatability-request-id
        description: If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs.
        required: true
        schema:
          type: string
      - in: header
        name: repeatability-first-sent
        description: Must be sent by clients to specify that a request is repeatable. Repeatability-First-Sent is used to specify the date and time at which the request was first created in the IMF-fix date form of HTTP-date as defined in RFC7231. eg- Tue, 26 Mar 2019 16:06:51 GMT
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '202':
          description: Message accepted, the `Operation-Location` header contains the URL to poll for the message status.
          headers:
            Repeatability-Result:
              description: Status of a repeatable request.
              schema:
                type: string
            Operation-Location:
              description: Location url of where to poll the status of this message from.
              schema:
                type: string
            Retry-After:
              description: 'Amount of time client should wait before retrying the request, specified in seconds '
              schema:
                type: integer
            x-ms-request-id:
              description: System generated GUID indicating the id of this specific message, to be used for tracking purposes.
              schema:
                type: string
        default:
          description: Error
          headers:
            x-ms-error-code:
              description: Error code - this will be the same as the code in the error property in the response body.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: ../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse
      x-ms-examples:
        Send Email:
          $ref: ./examples/SendEmail.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailMessage'
        description: Message payload for sending an email
        required: true
components:
  schemas:
    EmailAttachmentType:
      description: The type of attachment file.
      enum:
      - avi
      - bmp
      - doc
      - docm
      - docx
      - gif
      - jpeg
      - mp3
      - one
      - pdf
      - png
      - ppsm
      - ppsx
      - ppt
      - pptm
      - pptx
      - pub
      - rpmsg
      - rtf
      - tif
      - txt
      - vsd
      - wav
      - wma
      - xls
      - xlsb
      - xlsm
      - xlsx
      type: string
      x-ms-enum:
        name: EmailAttachmentType
        modelAsString: true
    EmailImportance:
      description: The importance type for the email.
      enum:
      - high
      - normal
      - low
      type: string
      default: normal
      x-ms-enum:
        name: EmailImportance
        modelAsString: true
    EmailContent:
      description: Content of the email.
      type: object
      required:
      - subject
      properties:
        subject:
          description: Subject of the email message
          type: string
          example: An exciting offer especially for you!
        plainText:
          description: Plain text version of the email message.
          type: string
          example: This exciting offer was created especially for you, our most loyal customer.
        html:
          description: Html version of the email message.
          type: string
          example: <html><head><title>Exciting offer!</title></head><body><h1>This exciting offer was created especially for you, our most loyal customer.</h1></body></html>
    EmailCustomHeader:
      description: Custom header for email.
      type: object
      required:
      - name
      - value
      properties:
        name:
          description: Header name.
          type: string
          example: ''
        value:
          description: Header value.
          type: string
          example: ''
    EmailAddress:
      description: An object representing the email address and its display name
      type: object
      required:
      - email
      properties:
        email:
          description: Email address.
          type: string
          example: abc@contoso.com
        displayName:
          description: Email display name.
          type: string
          example: abc
    EmailRecipients:
      description: Recipients of the email
      type: object
      required:
      - to
      properties:
        to:
          description: Email To recipients
          type: array
          items:
            $ref: '#/components/schemas/EmailAddress'
        CC:
          description: Email CC recipients
          type: array
          items:
            $ref: '#/components/schemas/EmailAddress'
        bCC:
          description: Email BCC recipients
          type: array
          items:
            $ref: '#/components/schemas/EmailAddress'
    EmailMessage:
      description: Message payload for sending an email
      required:
      - sender
      - content
      - recipients
      type: object
      properties:
        headers:
          description: Custom email headers to be passed.
          type: array
          x-ms-client-name: CustomHeaders
          items:
            $ref: '#/components/schemas/EmailCustomHeader'
        sender:
          description: Sender email address from a verified domain.
          type: string
          example: info@contoso.com
        content:
          description: Email content to be sent.
          $ref: '#/components/schemas/EmailContent'
        importance:
          description: The importance type for the email.
          $ref: '#/components/schemas/EmailImportance'
        recipients:
          description: Recipients for the email.
          $ref: '#/components/schemas/EmailRecipients'
        attachments:
          description: list of attachments
          type: array
          items:
            $ref: '#/components/schemas/EmailAttachment'
        replyTo:
          description: Email addresses where recipients' replies will be sent to.
          type: array
          items:
            $ref: '#/components/schemas/EmailAddress'
        disableUserEngagementTracking:
          description: Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane.
          type: boolean
    EmailAttachment:
      description: Attachment to the email.
      type: object
      required:
      - name
      - attachmentType
      - contentBytesBase64
      properties:
        name:
          description: Name of the attachment
          type: string
          example: attachment.pdf
        attachmentType:
          $ref: '#/components/schemas/EmailAttachmentType'
        contentBytesBase64:
          description: Base64 encoded contents of the attachment
          type: string
          example: TWFueSBoYW5kcyBtYWtlIGxpZ2h0I
    EmailSendResult:
      description: Status of the long running operation
      required:
      - id
      - status
      type: object
      properties:
        id:
          description: The unique id of the operation. Use a UUID.
          type: string
          example: 8540c0de-899f-5cce-acb5-3ec493af3800
        status:
          description: Status of operation.
          enum:
          - NotStarted
          - Running
          - Succeeded
          - Failed
          - Canceled
          type: string
          x-ms-enum:
            name: EmailSendStatus
            modelAsString: true
        error:
          description: Error details when status is a non-success terminal state.
          $ref: ../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorDetail
  parameters:
    ApiVersionParameter:
      in: query
      name: api-version
      description: Version of API to invoke.
      required: true
      schema:
        type: string
        enum:
        - 2021-10-01-preview
  securitySchemes:
    Authorization:
      type: apiKey
      name: Authorization
      in: header
      description: An authentication string containing a signature generated using HMAC-SHA256 scheme.
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - name: endpoint
    description: The communication resource, for example https://my-resource.communication.azure.com
    required: true
    type: string
    in: path
    x-ms-skip-url-encoding: true
    x-ms-parameter-location: client