Zoho Contact Attachment API

The ContactAttachment API from Zoho — 2 operation(s) for contactattachment.

GitHub OpenAPI

Operations 3

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 /api/v1/contacts/{contactId}/attachments List files attached to a contact · List Contact Attachments #
Ask an LLM
“Which files have been attached to a particular contact?”
“Can I include deleted attachments when listing a contact's files?”
Tell an agent
List attachments for contact {contactId}.
Show {limit} files attached to contact {contactId}.
POST /api/v1/contacts/{contactId}/attachments Attach a file to a contact · Create Contact Attachment #
Ask an LLM
“How do I attach a document to a contact?”
“Can I upload a file to a contact record?”
Tell an agent
Attach {file} to contact {contactId}.
Upload a file to contact {contactId}.
DELETE /api/v1/contacts/{contactId}/attachments/{attachmentId} Remove an attachment from a contact · Delete Contact attachment #
Ask an LLM
“How do I remove a file from a contact?”
“Can I delete one attachment from a contact?”
Tell an agent destructive · confirm first
Delete attachment {attachmentId} from contact {contactId}.
Remove file {attachmentId} on contact {contactId}.

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-contactattachment-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-contactattachment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Contact Attachment API
  version: 1.0.0
tags:
- name: ContactAttachment
paths:
  /api/v1/contacts/{contactId}/attachments:
    get:
      tags:
      - ContactAttachment
      summary: List Contact Attachments
      description: This API lists the files attached to a contact.
      operationId: getContactAttachments
      parameters:
      - name: include
        in: query
        description: ''
        required: false
        style: simple
        explode: true
        schema:
          type:
          - 'null'
          - array
          description: ''
          items:
            type:
            - string
            - 'null'
            description: ''
            enum:
            - creator
            maxLength: 100
            minLength: 0
          uniqueItems: false
      - name: limit
        in: query
        description: ''
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int32
          description: ''
          maximum: 100
          minimum: 1
          pattern: ([0-9]+)
      - name: from
        in: query
        description: ''
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int32
          description: ''
          minimum: 0
          pattern: ([0-9]+)
      - name: sortBy
        in: query
        description: ''
        required: false
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          description: ''
          enum:
          - createdTime
          maxLength: 100
          minLength: 0
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '200':
          $ref: '#/components/responses/listAllAttachmentResponse'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
    post:
      tags:
      - ContactAttachment
      summary: Create Contact Attachment
      description: This API attaches a file to a contact.
      operationId: createContactAttachment
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: ''
              required:
              - file
      responses:
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
        '200':
          $ref: '#/components/responses/attachmentResponse'
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
  /api/v1/contacts/{contactId}/attachments/{attachmentId}:
    delete:
      tags:
      - ContactAttachment
      summary: Delete Contact attachment
      description: This API removes an attachment from a contact.
      operationId: deleteContactAttachment
      parameters:
      - $ref: '#/components/parameters/contactId'
      - $ref: '#/components/parameters/attachmentId'
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '200':
          $ref: ./Common.json#/components/responses/emptyResponse
        '403':
          $ref: ./Common.json#/components/responses/forbiddenErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
components:
  responses:
    listAllAttachmentResponse:
      description: listAllAttachmentResponse template definitions
      content:
        application/json:
          schema:
            allOf:
            - type: object
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      creator:
                        type:
                        - 'null'
                        - object
                        additionalProperties: false
                        description: ''
                        maxProperties: 5
                        minProperties: 5
                        properties:
                          firstName:
                            type:
                            - string
                            - 'null'
                            description: ''
                            maxLength: 40
                            minLength: 0
                          lastName:
                            type:
                            - string
                            - 'null'
                            description: ''
                            maxLength: 200
                            minLength: 0
                          photoURL:
                            type:
                            - string
                            - 'null'
                            description: ''
                            maxLength: 100
                            minLength: 0
                            pattern: (^(ht|f)tp(s?)\://[-.\w]*(/?)([a-zA-Z0-9\-\.\?\,\:\'/\\+=&%\$#_@]*)?$)
                          id:
                            type:
                            - string
                            - 'null'
                            - integer
                            format: int64
                            description: ''
                            pattern: ([0-9]+)
                          email:
                            type:
                            - string
                            - 'null'
                            description: ''
                            maxLength: 255
                            minLength: 0
                            pattern: ^[a-zA-Z0-9\_]([a-zA-Z0-9\_\+\-\.\'\&\~]*)@(?=.{4,256}$)(([a-zA-Z0-9]+)(([\-\_]*[a-zA-Z0-9])*)[\.])+[a-zA-Z]{2,22}$
                        required:
                        - email
                        - firstName
                        - id
                        - lastName
                        - photoURL
            - type:
              - 'null'
              - object
              additionalProperties: false
              properties:
                data:
                  $ref: ./ContactAttachment.json#/components/schemas/data
              required:
              - data
          examples:
            Valid responses Definitions:
              value: {}
    attachmentResponse:
      description: attachmentResponse template definitions
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              previewurl:
                type:
                - string
                - 'null'
                description: ''
                maxLength: 16000000
                minLength: 0
                pattern: (^(ht|f)tp(s?)\://[-.\w]*(/?)([a-zA-Z0-9\-\.\?\,\:\'/\\+=&%\$#_@]*)?$)
              size:
                type:
                - string
                - 'null'
                - integer
                format: int64
                description: ''
                pattern: ([0-9]+)
              creatorId:
                type:
                - string
                - 'null'
                - integer
                format: int64
                description: ''
                pattern: ([0-9]+)
              name:
                type:
                - string
                - 'null'
                description: ''
                maxLength: 100
                minLength: 0
              createdTime:
                type:
                - string
                - 'null'
                description: ''
                maxLength: 100
                minLength: 0
                pattern: (((19|20)\d\d)[-/.]{1}(0?[1-9]|1[012])[-/.]{1}(0?[1-9]|[12][0-9]|3[01])(T)([01]?[0-9]|2[0-3]):[0-5]?[0-9]:[0-5]?[0-9]([/.][\d]{0,3})?(Z))
              id:
                type:
                - string
                - 'null'
                - integer
                format: int64
                description: ''
                pattern: ([0-9]+)
              href:
                type:
                - string
                - 'null'
                description: ''
                maxLength: 16000000
                minLength: 0
                pattern: (^(ht|f)tp(s?)\://[-.\w]*(/?)([a-zA-Z0-9\-\.\?\,\:\'/\\+=&%\$#_@]*)?$)
            required:
            - createdTime
            - creatorId
            - href
            - id
            - name
            - previewurl
            - size
          examples:
            Valid responses Definitions:
              value: {}
  parameters:
    attachmentId:
      name: attachmentId
      in: path
      description: ''
      required: true
      style: simple
      explode: false
      schema:
        type:
        - string
        - 'null'
        - integer
        format: int64
        description: ''
        pattern: ([0-9]+)
    contactId:
      name: contactId
      in: path
      description: ''
      required: true
      style: simple
      explode: false
      schema:
        type:
        - string
        - 'null'
        - integer
        format: int64
        description: ''
        pattern: ([0-9]+)
  securitySchemes:
    iam-oauth2-schema:
      $ref: ./Common.json#/components/securitySchemes/iam-oauth2-schema
x-entity: ContactAttachment