# How to post a file in contact's chat using java?

**URL:** <https://devforum.zoom.us/t/how-to-post-a-file-in-contacts-chat-using-java/83444>\
**Category:** Chat\
**Tags:** java\
**Created:** [February 20, 2023, 5:03pm UTC](https://devforum.zoom.us/t/how-to-post-a-file-in-contacts-chat-using-java/83444 "2023-02-20T17:03:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 1, 2023, 4:02pm UTC](https://devforum.zoom.us/t/how-to-post-a-file-in-contacts-chat-using-java/83444/3 "2023-03-01T16:02:30Z")

</div>

HI @ced  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here  
Have you tried replicating this issue using Postman to confirm that you are generating the Access token correctly and also posting this message correctly?

> [@How to user Server-to-Sever OAuth app with Postman](https://devforum.zoom.us/t/how-to-user-server-to-sever-oauth-app-with-postman/70848):
>
> How to use our Server-to-Server OAuth with Postman? As some of you might be aware of, our JWT app is being deprecated by June 2023 and we encourage you to migrate to the newly introduced [Server-to-Server OAuth App](https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app) That being said, here is a quick and simple guide on how to use or new app with Postman As stated in our documentation here: This new app type facilitates OAuth-authenticated requests between servers without end-user involvement. And this grant type enable your private server a…

Hope this helps,  
Elisa

---

_[View the full topic](https://devforum.zoom.us/t/how-to-post-a-file-in-contacts-chat-using-java/83444)._
