Problem with Email an invoice with multiple attachments using API

Problem with Email an invoice with multiple attachments using API

I have an invoice with 3 attachments.

When I send an email manually using the UI, everything works correctly. I receive an email with three attachments.

The problem occurs when I try to initiate sending an email using the API.

The email comes with only one attachment.


The API documentation states that the sending of attachments is controlled by means of query parameters.

I tried several options, but the queri parameters do not work. The email always comes with only one attachment and this is the last attachment attached. I indicated the IDs of other attached files, but this does not affect the result.


I'm trying to test the Send Email API using Postman.

This is what my request looks like

https://www.zohoapis.eu/books/v3/invoices/515926000000047173/email?organization_id={{organization_id}}&attachments=515926000000047278


I also used the file name instead of ID. The result is the same.


What am I doing wrong? Help me figure out how to send an email with all the attachments