younifyd
Menu

Upload an Attachment

Upload an Attachment

POST/{moduleApiName}/{recordId}/Attachments

Use it in a workflow

  1. Add a step and choose the Zoho CRM connector.
  2. Pick the Upload an Attachment action (under Attachments).
  3. Fill in the fields below, then reference the result from later steps as {{uploadAnAttachment.response.data}}.

Request

Path parameters

recordIdstringrequired

Specify the unique identifier of the record. Use the [Get Records API](record.yaml#$.paths./module.get) to retrieve record IDs.

moduleApiNamestringrequired

Specify the API name of the module (e.g., `Leads`, `Contacts`, `Accounts`). Use the [Get Modules API](modules.yaml#$.paths./settings/modules.get) to retrieve the module API names.

Response

Returns 200 with an object. Read it in later steps with {{uploadAnAttachment.response.data.<field>}}.

dataarray<object>

Array of upload results

codestringrequired

Represents the response code

One ofSUCCESS

detailsobjectrequired5 fields

Details of the uploaded attachment

messagestringrequired

Represents the success message

One ofattachment uploaded successfully

statusstringrequired

Represents the operation status

One ofsuccess

json
{
  "data": [
    {
      "code": "SUCCESS",
      "details": {
        "id": "string",
        "Modified_Time": "2025-01-01T00:00:00Z",
        "Created_Time": "2025-01-01T00:00:00Z",
        "Modified_By": {
          "id": "string",
          "name": "string"
        },
        "Created_By": {
          "id": "string",
          "name": "string"
        }
      },
      "message": "attachment uploaded successfully",
      "status": "success"
    }
  ]
}

Need more? See the Zoho CRM guide for connection setup and behaviour shared by every action.