# Invitation differs when creating it through the API

**URL:** <https://devforum.zoom.us/t/invitation-differs-when-creating-it-through-the-api/45256>\
**Category:** API and Webhooks\
**Created:** [March 9, 2021, 4:48pm UTC](https://devforum.zoom.us/t/invitation-differs-when-creating-it-through-the-api/45256 "2021-03-09T16:48:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![r3c](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@r3c](https://devforum.zoom.us/u/r3c)\
**Post date:** [March 9, 2021, 4:48pm UTC](https://devforum.zoom.us/t/invitation-differs-when-creating-it-through-the-api/45256/1 "2021-03-09T16:48:12Z")

</div>

**Description**  
When creating a meeting through the Admin interface ([https://zoom.us/user/{user\_id}/meeting/schedule](https://zoom.us/user/%7Buser_id%7D/meeting/schedule)) and specifying several global\_dial\_in\_countries in this case US, CA, MX, and GB the invitation generated will specify the US as the one tap mobile option.

But when creating the meeting through the API (POST /v2/users/{userId}/meetings) with the following body:

```
{
  "topic": "My test",
  "start_time": "2021-03-11T19:00:00Z",
  "duration": 120,
  "timezone": "America/New_York",
  "password": 1234,
  "settings": {
    "host_video": "false",
    "participant_video": "false",
    "waiting_room": "true",
    "global_dial_in_countries": [
      "US", "CA", "MX", "GB"
    ]
  }
}

```

**Error**  
The invitation generated will specify the CA as the one tap mobile option. We were expecting the same behavior as the one the we observed in the admin interface.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
POST /v2/users/{userId}/meetings

@MaxM@will.zoom any ideas?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 10, 2021, 8:20pm UTC](https://devforum.zoom.us/t/invitation-differs-when-creating-it-through-the-api/45256/2 "2021-03-10T20:20:16Z")

</div>

Hey @r3c,

Thank you for reaching out to the Zoom Developer Forum. I was able to reproduce this behavior when testing on my end. I’ve reached out to our engineering team to see if they are able to provide more insight into the issue. (ZOOM-254972)

I’ll update you here when I have more information.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 12, 2021, 1:09am UTC](https://devforum.zoom.us/t/invitation-differs-when-creating-it-through-the-api/45256/3 "2021-03-12T01:09:59Z")

</div>

Hey @r3c,

Our engineering team has confirmed this behavior as a bug and will add support for the default global dial-in country in the future. In the meantime, the workaround is to set the default global dial-in country via the Zoom Web Portal.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 11, 2021, 11:10am UTC](https://devforum.zoom.us/t/invitation-differs-when-creating-it-through-the-api/45256/4 "2021-04-11T11:10:50Z")

</div>

Closed on April 11, 2021, 11:10am UTC

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