Chatbot to_jid and account_id

Description
i’ve created a chant bot and i want to send custom message to users. how do i get the to_jid and account_id

Error
{

"code": 7004,

"message": "No channel or user can be found with the given to_jid."

}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
oAuth

Which Endpoint/s?
https://api.zoom.us/v2/im/chat/messages

How To Reproduce (If applicable)
{
“robot_jid”: “v15mxio5cotocjrhq6gtzqhq@xmpp.zoom.us”,
“to_jid”: “z2Q0eesYSgiA2WFMk5hU5A”,
“account_id”: “tWUc33MVRuiIxJ0IqnXPYA”,
“content”: {
“head”: {
“text”: “Hello from dayan.S”
}
}
}

Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.

Additional context
i want to send chat messages to users, but since you guys don’t have a in meeting custom chat to users im trying to use the chatbot.
if i use
/chat/users/me/messages

i get an
{

"id": "8363458f-332f-4568-9423-677019fd4cef"

}
as a reply but i don’t see any chant messages on chat client. Please help, which is the appropriate way to send custom message to users.

Hey @dayan.sivarajah,

Checkout our docs here about how to get the to_jid and account_id:

You can also get a users jid and account_id via the Get User endpoint:

Let me know if that helps! :slight_smile:

Thanks,
Tommy

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