Zoho Emails API

The Emails API from Zoho — 2 operation(s) for emails.

GitHub OpenAPI

Operations 2

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

GET /{module}/{recordId}/Emails/actions/download_attachments Download an email attachment · Get Download Attachments Details #
Ask an LLM
“How do I download the file attachment from an email on a CRM record?”
“Can I fetch an email attachment by its ID and name?”
Tell an agent
Download attachment {id} named {name} from email {message_id} on {module} record {recordId} for user {user_id}.
Fetch the binary content of email attachment {id} on {module} record {recordId}, user {user_id}, message {message_id}, name {name}.
GET /{module}/{recordId}/Emails/actions/download_inline_images Download inline images from an email · Download inline images embedded in an email related to a record #
Ask an LLM
“How do I download the images embedded inside an email on a record?”
“Can I fetch one inline image by its ID?”
Tell an agent
Download inline image {id} from email {message_id} on {module} record {recordId} for user {user_id}.
Fetch embedded image {id} on {module} record {recordId}, user {user_id}, message {message_id}.

Documentation

Specifications

Code Examples

Other Resources

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/zoho:zoho-emails-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

zoho-emails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Download Email Attachments Emails API
  description: Download attachments associated with emails in Zoho CRM.
  version: '8.0'
servers:
- url: https://zohoapis.{dc}/crm/{version}
  description: API Server URL
  variables:
    dc:
      enum:
      - com
      - eu
      - in
      - cn
      - au
      default: com
      description: API Server URL TLD
    version:
      default: v8
      description: API Version
tags:
- name: Emails
paths:
  /{module}/{recordId}/Emails/actions/download_attachments:
    get:
      summary: Get Download Attachments Details
      description: Fetches the binary content of an email attachment for a specific record.
      operationId: downloadEmailAttachments
      parameters:
      - $ref: '#/components/parameters/Module'
      - $ref: '#/components/parameters/RecordId'
      - $ref: '#/components/parameters/UserId'
      - $ref: '#/components/parameters/MessageId'
      - $ref: '#/components/parameters/Id'
      - $ref: '#/components/parameters/Name'
      responses:
        '200':
          description: Attachment downloaded successfully
          content:
            application/octet-stream:
              schema:
                description: Binary stream of the attachment file.
                type: string
                format: binary
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                description: Error response for validation or missing parameters.
                oneOf:
                - description: Generic validation error schema.
                  type: object
                  additionalProperties: false
                  properties:
                    status:
                      type: string
                      description: Error status
                      enum:
                      - error
                    code:
                      type: string
                      description: Error code
                      maxLength: 50
                    message:
                      type: string
                      description: Error message
                      maxLength: 500
                    details:
                      type: object
                      description: Context details
                      additionalProperties: true
                  required:
                  - status
                  - code
                  - message
                - description: Error for missing mandatory fields.
                  type: object
                  additionalProperties: false
                  properties:
                    status:
                      type: string
                      description: Status
                      enum:
                      - error
                    code:
                      type: string
                      description: Code
                      const: MANDATORY_NOT_FOUND
                    message:
                      type: string
                      description: Message
                      maxLength: 500
                  required:
                  - status
                  - code
                  - message
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - iam-oauth2-schema:
        - ZohoCRM.modules.emails.READ
        - ZohoCRM.modules.leads.READ
      tags:
      - Emails
  /{module}/{recordId}/Emails/actions/download_inline_images:
    get:
      summary: Download inline images embedded in an email related to a record
      operationId: getDownloadInlineImages
      description: Download inline images embedded in an email related to a record.
      parameters:
      - $ref: '#/components/parameters/Module'
      - $ref: '#/components/parameters/RecordId'
      - $ref: '#/components/parameters/UserId'
      - $ref: '#/components/parameters/MessageId'
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: The inline image file.
          content:
            image/png:
              schema:
                type: string
                format: binary
                description: The binary content of the image file
        '400':
          description: Bad Request - Error in parameters or module.
          content:
            application/json:
              schema:
                description: Error response object for failed image download
                type: object
                additionalProperties: false
                properties:
                  status:
                    type: string
                    description: Status of the request
                    enum:
                    - error
                  code:
                    type: string
                    description: Error code identifying the issue
                    enum:
                    - INVALID_URL_PATTERN
                    - INVALID_DATA
                    - INVALID_REQUEST_METHOD
                    - INVALID_TOKEN
                    - INVALID_MODULE
                  message:
                    type: string
                    description: Human-readable error message
                    maxLength: 255
                  details:
                    type: object
                    description: Additional error details
                    additionalProperties: true
                    properties:
                      resource_path_index:
                        type: integer
                        format: int32
                        description: Index of the resource path causing the error
                required:
                - status
                - code
                - message
                - details
      security:
      - iam-oauth2-schema:
        - ZohoCRM.modules.emails.READ
        - ZohoCRM.modules.leads.all
        - ZohoCRM.modules.contacts.all
        - ZohoCRM.modules.deals.all
      tags:
      - Emails
components:
  schemas:
    ErrorResponse:
      description: Standard Zoho CRM error response structure.
      type: object
      additionalProperties: false
      properties:
        status:
          type: string
          description: Status
          enum:
          - error
        code:
          type: string
          description: Error code
          maxLength: 100
        message:
          type: string
          description: Error message
          maxLength: 1000
        details:
          type: object
          description: Details
          additionalProperties: true
      required:
      - status
      - code
      - message
  parameters:
    RecordId:
      name: recordId
      in: path
      required: true
      description: The unique record ID.
      schema:
        type: string
        maxLength: 20
    Module:
      name: module
      in: path
      required: true
      description: The API name of the CRM module.
      schema:
        type: string
        maxLength: 100
    Name:
      name: name
      in: query
      required: true
      description: The attachment name.
      schema:
        type: string
        maxLength: 255
    Id:
      name: id
      in: query
      required: true
      description: The attachment ID.
      schema:
        type: string
        maxLength: 100
    MessageId:
      name: message_id
      in: query
      required: true
      description: The ID of the email message.
      schema:
        type: string
        maxLength: 100
    UserId:
      name: user_id
      in: query
      required: true
      description: The ID of the user.
      schema:
        type: string
        maxLength: 20
  securitySchemes:
    iam-oauth2-schema:
      type: oauth2
      description: Zoho CRM OAuth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.zoho.com/oauth/v2/auth
          tokenUrl: https://accounts.zoho.com/oauth/v2/token
          scopes:
            ZohoCRM.modules.emails.READ: Read emails
            ZohoCRM.modules.leads.READ: Read leads