how to send attachments to in api code example Example: how to send attachments to api I would use multipart method