Api key and secret are required


#1

I am doing HTTP Post for create meeting.  Passing parameters as per document but still receiving Api key and secret are required.  Do I need to add anything else? Thanks.


#2

Are you sending the API key and secret

https://zoom.us/developer/overview/rest-api-basics


#3

Hi Joshua,  

   Thanks for the quick response. Yes I am sending API key & secret. But my request is working now with below code . 

string jsonResult = “”;
string postString = string.Format(“api_key={0}&api_secret={1}&data_type={2}&host_id={3}&topic={4}&type={5}&registration_type={6}&option_audio={7}&option_auto_record_type={8}”, api_key, api_secret, data_type, host_id, topic, type, registration_type, option_audio, option_auto_record_type);

using (WebClient wc = new WebClient())
{
wc.Headers[HttpRequestHeader.ContentType] = “application/x-www-form-urlencoded”;
jsonResult = wc.UploadString(URI, postString);
}


#4

I am also facing same issue.

URL -: https://api.zoom.us/v1/meeting/create

Method -: POST

Data -: {“api_key”:“xxxxxx”,“api_secret”:“xxxxxxxx”,“data_type”:“JSON”, “host_id”:“email@domain.com”,“topic”:“Test”,“type”:“1”}

It gives API key and secret are required. Is “api_key” and “api_secret” are in correct format(like case-sensitive, etc )?


#5

If I pass data in query string then it works fine. But if I write data to request stream then it doesn’t work.

https://api.zoom.us/v1/user/getbyemail?api_key=xxxxxx&api_secret=xxxxxx&data_type=JSON&email=email@domain.com.

May I know how zoom rest api excepts data? i.e in body, header or only in query string?