Zoom - Send Chat Message
@sergio
code:
data:privatelast updated:4 years ago
today
Build integrations remarkably fast!
You're viewing a public workflow template.
Sign up to customize, add steps, modify code and more.
Join 1,000,000+ developers using the Pipedream platform
steps.
trigger
HTTP API
Deploy to generate unique URL
This workflow runs on Pipedream's servers and is triggered by HTTP / Webhook requests.
steps.
zoom_send_chat_message
Send chat messages on Zoom to either an individual user who is in your contact list or to a of which you are a member.
auth
(auths.zoom_admin)
params
Message

The message to be sent.

 
string ·params.message
Optional
code
async (params, auths) => {
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
}
17
//See the API docs here: https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/sendachatmessage
const config = {
  method: "post",
  url: `https://api.zoom.us/v2/chat/users/me/messages`,
  data: {
    message: params.message,
    to_contact: params.to_contact,
    to_channel: params.to_channel
    },
  headers: {
    Authorization: `Bearer ${auths.zoom_admin.oauth_access_token}`    
  }
}
return await require("@pipedreamhq/platform").axios(this, config)