code: func (c *Itsyouonline) CreateJWTToken(scopes, auds []string) (string, error) {
  	// build request
  	url := strings.TrimSuffix(c.BaseURI, "/api")
  	req, err := http.NewRequest("GET", url+"/v1/oauth/jwt", nil)
  	if err != nil {
  		return "", err
  	}
  
  	// set auth header
  	if c.AuthHeader == "" {
  		return "", fmt.Errorf("you need to create an oauth token in order to create JWT token")
  	}
  
  	req.Header.Set("Authorization", c.AuthHeader)
  
  	// query params
  	q := req.URL.Query()
  	if len(scopes) > 0 {
  		q.Add("scope", strings.Join(scopes, ","))
  	}
  	if len(auds) > 0 {
  		q.Add("aud", strings.Join(auds, ","))
  	}
  	req.URL.RawQuery = q.Encode()
  
  	// do the request
  	rsp, err := c.client.Do(req)
  	if err != nil {
  		return "", err
  	}
  	defer rsp.Body.Close()
  
  	if rsp.StatusCode != 200 {
  		return "", fmt.Errorf("invalid response's status code :%v", rsp.StatusCode)
  	}
  
  	b, err := ioutil.ReadAll(rsp.Body)
  	if err != nil {
  		return "", err
  	}
  	return string(b), nil
  }
docs: // CreateJWTToken creates JWT token with scope=scopes
  // and audience=auds.
  // To execute it, client need to be logged in.