Unable to create user by API

Description
Unable to create user by API

Error
(1) I am able to create Zoom meetings from my C# code, but with same JWToken unable to create user, response received (400 Bad Request).

(2) Also unable to test API from zoom API test environment receive invalid client ID.

Which App Type (JWT)?
JWT

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL “api.zoom.us/v2/users
    Headers “authorization”
    Body “{“action”:“create”,
    “user_info”:{“email”:”{{HIDDEN}}",“type”:1,“first_name”:“Nawazish”,“last_name”:“Khan”,“password”:“12345”}}"
  2. See error: 400 Bad Request

This doesn’t appear as a valid request to me.
The “Authorization” header should have an accompanying value.

Could you try using Postman to determine if this is a code or actual issue please?

Yes I have pass “Authorization” header accompanying value with request same as “Create meetings” which is working fine.

I have not try with “Postman” but try from Zoom Interface “https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate
where I am getting error on the time of “Get Access Token”

From Postman getting same error “400 Bad Request” same as my C# code
Kindly go through bellow postman screenshot

Hey @sarveshc,

In postman, make sure to choose the “raw” “JSON” option instead of “form-data” like this:

Screen Shot 2020-04-13 at 3.33.06 PM

Your authorization header looks correct! "Authorization": "Bearer JWT_TOKEN_HERE"

Thanks,
Tommy

1 Like