# Start the meeting

**URL:** <https://devforum.zoom.us/t/start-the-meeting/13442>\
**Category:** iOS\
**Created:** [April 16, 2020, 5:41am UTC](https://devforum.zoom.us/t/start-the-meeting/13442 "2020-04-16T05:41:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aparab](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@aparab](https://devforum.zoom.us/u/aparab)\
**Post date:** [April 16, 2020, 5:41am UTC](https://devforum.zoom.us/t/start-the-meeting/13442/1 "2020-04-16T05:41:59Z")

</div>

**Description**  
I have created meeting using Api,i want to host the meeting  
but when i call startmeeting() it is getting joined…not host.  
it shows the window…waiting for host to start the meeting  
**Which version?**

**4.6.15805.0403**

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Device: Ipad 6th genration
- OS: Ios 12.1

**Additional context**

```
func startMeeting(name: String = "ZoomAPI.defaultName", number: Int = -1, password: String = "" ) {
   guard isAPIAuthenticated || isUserAuthenticated, let meetingService = MobileRTC.shared().getMeetingService() else { return }
   
    var paramDict: [String : Any] = [kMeetingParam_Username : name]
    
   if isAPIAuthenticated && !isUserAuthenticated
   {
  
     paramDict[kMeetingParam_UserID] = UserDefaults.standard.string(forKey: "Id")as! String
     paramDict[kMeetingParam_UserToken] = UserDefaults.standard.string(forKey: "AccessToken")as! String
   }
   
   if number != -1
   {
   
   paramDict[kMeetingParam_MeetingNumber] = "\(number)"
   }

    let r = MobileRTCUserType_APIUser
    paramDict[kMeetingParam_UserType] = NSNumber(value: r.rawValue)

    
    let returnValue = meetingService.startMeeting(with: paramDict)
   
   guard returnValue == MobileRTCMeetError_Success else {
     print("Zoom: Start meeting task failed, error code: \(returnValue.rawValue)")
     return
   }
  
   print("Zoom: Start meeting task completed.")
 }

```

I have called above function to host the meeting

 ![IMG_F8AE81004C39-1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/84c277e1403bab26acfc7210d0680ab96127f149.jpeg)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 17, 2020, 3:18am UTC](https://devforum.zoom.us/t/start-the-meeting/13442/2 "2020-04-17T03:18:36Z")

</div>

Hi [aparab](https://devforum.zoom.us/u/aparab),

Thanks for the post. If the meeting does not belong to the user that owns the zoom token and zoom access token(Zak), starting a meeting will behave the same as joining a meeting.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![aparab](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@aparab](https://devforum.zoom.us/u/aparab)\
**Post date:** [April 17, 2020, 4:43am UTC](https://devforum.zoom.us/t/start-the-meeting/13442/3 "2020-04-17T04:43:21Z")

</div>

Does the Api user requires the zoom token and zoom access token(Zak)??

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 17, 2020, 11:24pm UTC](https://devforum.zoom.us/t/start-the-meeting/13442/4 "2020-04-17T23:24:02Z")

</div>

Hi [aparab](https://devforum.zoom.us/u/aparab),

If you would like the API user to host the meeting(to be the meeting host), yes, it requires the zoom token and zoom access token(Zak), otherwise we do not know whether the user is the host since it is not logged-in.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:32pm UTC](https://devforum.zoom.us/t/start-the-meeting/13442/5 "2020-08-21T20:32:13Z")

</div>

Closed on August 21, 2020, 8:32pm UTC


