# ChatBot IM Chat Messages APIs attachments

**URL:** <https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258>\
**Category:** API and Webhooks\
**Created:** [January 27, 2023, 9:39pm UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258 "2023-01-27T21:39:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![grayson](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@grayson](https://devforum.zoom.us/u/grayson)\
**Post date:** [January 27, 2023, 9:39pm UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258/1 "2023-01-27T21:39:11Z")

</div>

**ChatBot IM Chat Messages APIs**  
_/v2/im/chat/messages_

**Description**  
I am reviewing and testing the /v2/im/chat/messages endpoint. I see an example of sending Message with Attachment. In the examples it shows how to attach an image, with a title and description. This is great. **However, for my use case I would like to attach a csv file. Is this supported?** Below is the sample POST payload for an image attachment.

{  
“robot\_jid”: “{{zoom\_bot\_jid}}”,  
“to\_jid”: “{{zoom\_to\_jid}}”,  
“account\_id”: “{{zoom\_account\_id}}”,  
“content”: {  
“head”: {  
“text”: “I am a header”,  
“sub\_head”: {  
“text”: “I am a sub header”  
}  
},  
“body”: [{  
“type”: “attachments”,  
“resource\_url”: “[https://zoom.us](https://zoom.us)”,  
“img\_url”: “[https://d24cgw3uvb9a9h.cloudfront.net/static/93516/image/new/ZoomLogo.png](https://d24cgw3uvb9a9h.cloudfront.net/static/93516/image/new/ZoomLogo.png)”,  
“information”: {  
“title”: {  
“text”: “I am an attachment title”  
},  
“description”: {  
“text”: “I am an attachment description”  
}  
}  
}]  
}  
}

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 27, 2023, 11:53pm UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258/2 "2023-01-27T23:53:03Z")

</div>

Hi @grayson , I believe our chat apps docs are temporarily down so I cannot link everything and double check, but I know we have file sharing capability via Zoom Chat API endpoints: [https://marketplace.zoom.us/docs/api-reference/chat/methods/#operation/sendChatFile](https://marketplace.zoom.us/docs/api-reference/chat/methods/#operation/sendChatFile)

EDIT: Here it is and csv’s are supported [https://marketplace.zoom.us/docs/guides/team-chat-apps/customizing-messages/](https://marketplace.zoom.us/docs/guides/team-chat-apps/customizing-messages/)

I’ll follow up when everything is loading accordingly.

---

<div class="post-metadata">

**Author:** ![grayson](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@grayson](https://devforum.zoom.us/u/grayson)\
**Post date:** [January 28, 2023, 12:44am UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258/4 "2023-01-28T00:44:32Z")

</div>

Ok, thank-you so much. Looking forward to the follow up.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 28, 2023, 12:47am UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258/5 "2023-01-28T00:47:44Z")

</div>

Hi @grayson ,

I included the documentation in the edited message 🙂

---

<div class="post-metadata">

**Author:** ![grayson](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@grayson](https://devforum.zoom.us/u/grayson)\
**Post date:** [January 28, 2023, 1:11am UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258/6 "2023-01-28T01:11:46Z")

</div>

Hi Gianni,  
Will you please provide specific payload example for sending over a csv file using _/v2/im/chat/messages_ endpoint?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [February 22, 2023, 6:32pm UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258/7 "2023-02-22T18:32:57Z")

</div>

Hi @grayson ,

Check out the postman collection where you can see an example of “attachment” style message: [Postman](https://www.postman.com/zoom-developer/workspace/zoom-public-workspace/request/22097587-012b3173-70e7-477c-be7a-24a1c8b26299)

Best,  
Gianni

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 26, 2024, 10:09am UTC](https://devforum.zoom.us/t/chatbot-im-chat-messages-apis-attachments/82258/8 "2024-02-26T10:09:14Z")

</div>

Closed on February 26, 2024, 10:09am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
