Post SMS 400 Error for All Users Except Me

API Endpoint:
Post SMS message

Description
Endpoint works flawlessly for my user_id & phone number but will not work for any others users in our account.

These users tested have the:

  • same admin credentials as me.
  • sms and all sub settings enabled and use it everyday.
  • same licenses and packages as me

I purchased powerpacks to test a few users in a shared text. That call queue’s assigned phone number worked for outbound texting with my user_id but errored for everyone else’s user_id in the call queue.

Error:

ERROR:main:Failed to send SMS: 400 Client Error: Bad Request for url: https://api.zoom.us/v2/phone/sms/messages
ERROR:main:Error in send_zoom_sms: SMS sending failed: 400 Client Error: Bad Request for url: https://api.zoom.us/v2/phone/sms/messages

1 Like

Hi @sam8
Thanks for reaching out to us!I am happy to help here!
Your request URL looks correct to me.
could you please share the request body you are sending so I can look further into this issue

1 Like

Checking in on this request. Did you ever get this working? I am setting up the Zoom API on Zapier and can get it working through my User ID but cannot through anyone elses. I have all the proper scopes and permissions for my account.

1 Like

HI @russmcbride
Thanks for reaching out to us and welcome to the Zoom Developer Forum!
This is expected behavior, you are only allowed to send SMS on your behalf

Is this something that might be changed in the future? Other services like Dialpad and Open phone allow an admin with the right IDs to send texts on behalf of uses. Super useful in the case of an API. The average user has no need for the API so without the ability to send through other users, it makes automation with the API very difficult. Would be happy to provide a use case for your team!

1 Like

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