Logo
Zoom Public API Documentation

Send a chat message

POST {{baseUrl}}/chat/users/:userId/messages

Sends chat messages on Zoom to either an individual user who is in your contact list or to a channel of which you are a member. For user-level apps, pass the me value instead of the userId parameter.

To send a message to a contact, provide the contact's email address in the to_contact field. To send a message to a channel, provide the channel's ID in to_channel parameter

Scopes: chat_message:write, chat_message:write:admin
Rate Limit Label: Medium

Note: For an account-level OAuth app, this API can only be used on behalf of a user who is assigned with a role that has the Edit permission for Chat Messages.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "id": "<string>" }



Curl
curl -X POST 'https://api.zoom.us/v2/chat/users/:userId/messages' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"message":"\u003cstring\u003e","at_items":[{"at_contact":"\u003cemail\u003e","at_type":1,"end_position":"\u003cinteger\u003e","start_position":"\u003cinteger\u003e"},{"at_contact":"\u003cemail\u003e","at_type":1,"end_position":"\u003cinteger\u003e","start_position":"\u003cinteger\u003e"}],"rich_text":[{"start_position":"\u003cinteger\u003e","end_position":"\u003cinteger\u003e","format_type":"Italic","format_attr":"\u003cstring\u003e"},{"start_position":"\u003cinteger\u003e","end_position":"\u003cinteger\u003e","format_type":"LeftIndent","format_attr":"\u003cstring\u003e"}],"file_ids":["\u003cstring\u003e","\u003cstring\u003e"],"reply_main_message_id":"\u003cstring\u003e","to_channel":"\u003cstring\u003e","to_contact":"\u003cemail\u003e"}'

ENDPOINTS