How do I get the user-id for a chatbot

I am trying to create a chatbot that sends messages to the users in a meeting.
I don’t realy understand how it works.
Do I need to create also a “jwt” app?
Do the users need to install this jwt app from the marketplace?
I have a PHP script that get access_token, but when I try to use it in another script to get the user-id (of me) I get an error invalid access_token, so I understand that the oath_access_token is not the same as access_token.
function getUserId($user_id,$access_token)
{
$clientID="";
$clientSecret="";
$content = “oauth_access_token=$access_token”;
$token_url=“https://zoom.us/v2/users/me”; // {$user_id}";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $token_url,
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $content
));
$response = curl_exec($curl);
curl_close($curl);
$response=json_decode($response,true);
print_r($response);
}

Hey @shlomo,

Zoom Chatbots work within Zoom Chat, not the In Meeting Chat.

Here are the Zoom Chatbot docs:

Thanks,
Tommy

Thanks.
So, it means that I can use the chatbot only to the users that installed my app?
Also, If I understood the reply I receied from Michael, currently I cann’t send the message while in the meeting. He wrote that you are working to fix it.
Do you know when it will be ready, and how will I know about it?

@shlomo Yes, only users who have installed your app can use it. This is by design to allow for users to guarantee explicit permission over which apps can use APIs and access data on their behalf.

As I wrote in our other thread, this is not a fix we are working on. This would be a fully new product feature. We do not have a timeline for this.