# Setting Language Interpretation (or using template that has it) via POST /users/{userId}/meetings endpoint does not work

**URL:** <https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645>\
**Category:** API and Webhooks\
**Created:** [April 9, 2021, 3:09pm UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645 "2021-04-09T15:09:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcelB](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/marcelb/32/25698_2.png) [@MarcelB](https://devforum.zoom.us/u/MarcelB)\
**Post date:** [April 9, 2021, 3:09pm UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645/1 "2021-04-09T15:09:02Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I am able to use the _POST /users/{userId}/meetings_ API to create meetings. I try to _add the language interpretation_. The meeting is created, but the response _does not_ contain language interpretation.  
I am then able to edit the meeting in the zoom . us / meeting portal and add interpretation manually via web browser and interpretation does work during the session.

Here is the PHP snippet that I use. I got it from a _GET /meetings/{meetingId}_ where interpretation is active and used the PHP var\_export() to get this:

```php
'language_interpretation' => (object) array( 'enable' => true, 'interpreters' => array ( 0 => (object) array( 'email' => 'xyz@xyz.xyz', 'languages' => 'US,FR',),),),

```

**Error**  
The API successfully creates the meeting, but with “language\_interpretation”:{“enable”:false}.

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

**Which Endpoint/s?**  
_POST /users/{userId}/meetings_

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

1. Request URL / Headers (without credentials) / Body  
_POST /users/me/meetings_  
Posted array :

```auto
Array
(
    [template_id] => s2aXj0lYStSnKNUAUfTDww
    [topic] => Blabla
    [start_time] => 2021-04-09T19:00:00
    [timezone] => Europe/Paris
    [duration] => 90
    [password] => hello
    [language_interpretation] => stdClass Object
        (
            [enable] => 1
            [interpreters] => Array
                (
                    [0] => stdClass Object
                        (
                            [email] => xyz@xyz.xyz
                            [languages] => US,FR
                        )
                )
        )
)

```

1. See error  
Response contains

```auto
            [language_interpretation] => stdClass Object
                (
                    [enable] => 
                )

```

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

**Additional context**  
Note that the specified template\_id would enable language interpretation. But that does not seem to be any more effective.  
I have also noted [Language Interpretation by API](https://devforum.zoom.us/t/language-interpretation-by-api/9100) but I figure now that it is a documented API parameter, it has been implemented since.

---

<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:** [April 9, 2021, 8:25pm UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645/2 "2021-04-09T20:25:22Z")

</div>

Hey @MarcelB,

Thank you for reaching out to the Zoom Developer Forum. First, please make sure that you meet the prerequisites for [language interpretation](https://support.zoom.us/hc/en-us/articles/360034919791-Language-interpretation-in-meetings-and-webinars#h_01EGGQFD3Q4BST3378SA762MJ1):

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/a/3a620fa064d6c0d6f6dcb1ae4fc8bef8cfd1a773.png)

Then, I noticed that you are sending the value of `1` for the `language_interpretation.enable` property. Instead, try using a boolean value for that property:

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/3/33de5f88aeca90d6b7bd4254117ff5599331f82f.png)

If that doesn’t help, are you able to share the JSON request body that you are using when making this request as well as the JSON response? Make sure to redact any identifying information.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MarcelB](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/marcelb/32/25698_2.png) [@MarcelB](https://devforum.zoom.us/u/MarcelB)\
**Post date:** [April 13, 2021, 8:28am UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645/3 "2021-04-13T08:28:20Z")

</div>

Hello, and thank you so much for following up on this.

Prerequisites should be met, as I am able to use the feature if I create the meeting in the [zoom.us](http://zoom.us) dashboard (typically using template s2aXj0lYStSnKNUAUfTDww – which doesn’t seem to work in the API call).

You are correct, the printout of the object using PHP print\_r states “1” instead of “true” but the object contains “true”. This is an artifact of the print\_r(). The actual POST string sent is (as recovered when I direct the request to a URL of my own for debug):

{“template\_id”:“s2aXj0lYStSnKNUAUfTDww”,“topic”:“Immersion : session #77 - Bodhi”,“start\_time”:“2021-04-13T20:00:00”,“timezone”:“Europe\/Paris”,“duration”:90,“password”:“XXXX”,“language\_interpretation”:{“enable”:“true”,“interpreters”:[{“[email":"marcel-web@brouillet.org](mailto:email%22:%22marcel-web@brouillet.org)”,“languages”:“US,FR”}]}}

Curl\_info is the following, once the request returns with indeed a meeting object, but no interpretation:  
Array  
(  
[url] =\> h t t p s : / / api . zoom . us / v2/users/me/meetings (1)  
[content\_type] =\> text/html; charset=UTF-8  
[http\_code] =\> 200  
[header\_size] =\> 284  
[request\_size] =\> 621  
[filetime] =\> -1  
[ssl\_verify\_result] =\> 0  
[redirect\_count] =\> 0  
[total\_time] =\> 0.072165  
[namelookup\_time] =\> 0.058082  
[connect\_time] =\> 0.058197  
[pretransfer\_time] =\> 0.068808  
[size\_upload] =\> 294  
[size\_download] =\> 2  
[speed\_download] =\> 27  
[speed\_upload] =\> 4083  
[download\_content\_length] =\> 2  
[upload\_content\_length] =\> 294  
[starttransfer\_time] =\> 0.072114  
[redirect\_time] =\> 0  
[redirect\_url] =\>  
[certinfo] =\> Array  
(  
)  
[primary\_port] =\> 443  
[local\_ip] =\> 178.170.8.115  
[local\_port] =\> 55404  
[http\_version] =\> 2  
[protocol] =\> 2  
[ssl\_verifyresult] =\> 0  
[scheme] =\> HTTPS  
[appconnect\_time\_us] =\> 68734  
[connect\_time\_us] =\> 58197  
[namelookup\_time\_us] =\> 58082  
[pretransfer\_time\_us] =\> 68808  
[redirect\_time\_us] =\> 0  
[starttransfer\_time\_us] =\> 72114  
[total\_time\_us] =\> 72165  
[request\_header] =\> POST /v2/users/me/meetings HTTP/1.1\r  
Host: api . zoom . us\r (1)  
Accept: _/_\r  
Content-Type: application/json\r  
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyxxxxxx…xxxxx.XXXX…XXXX\r (2)  
Content-Length: 294\r  
\r

)

(1) edited, because the form tells me « Sorry, new users can only put 2 links in a post. »  
(2) edited. The token is not the problem, the meeting is created.

---

<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:** [April 14, 2021, 10:10pm UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645/4 "2021-04-14T22:10:42Z")

</div>

Hey @MarcelB,

Thank you for following up and providing more detail. Looking at the POST body that you’re using more closely, it looks like the `language_interpretation` object is not within a `settings` object.

We can see that this is required in the [Create a Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) documentation as the `language_interpretation` property is under the `settings` object.

Here’s an example of using the `settings` object

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/b/db081a3bf0e3bb9dcc2d5e27c9c51ccd65a8d83e.png)

Here’s an example of what that would look like with your request:

```json
{
  "template_id": "s2aXj0lYStSnKNUAUfTDww",
  "topic": "Immersion : session #77 - Bodhi",
  "start_time": "2021-04-13T20:00:00",
  "timezone": "Europe\/Paris",
  "duration": 90,
  "password": "XXXX",
  "settings": {
    "language_interpretation": {
      "enable": "true",
      "interpreters": [
        {
          "email": "marcel-web@brouillet.org",
          "languages": "US,FR"
        }
      ]
    }
  }
}

```

Please try placing the `language_interpretation` object within a `settings` object.

Let me know if that helps! 🙂

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MarcelB](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/marcelb/32/25698_2.png) [@MarcelB](https://devforum.zoom.us/u/MarcelB)\
**Post date:** [April 16, 2021, 4:19pm UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645/5 "2021-04-16T16:19:44Z")

</div>

I feel sorry for bothering you. I stared at it long enough. It works !  
I am surprised though that specifying the template did not carry that setting. But I’m all set.  
Sorry for the time.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [April 19, 2021, 5:52pm UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645/6 "2021-04-19T17:52:46Z")

</div>

Thanks for confirming, @MarcelB — glad Max could help!

---

<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:** [May 20, 2021, 3:53am UTC](https://devforum.zoom.us/t/setting-language-interpretation-or-using-template-that-has-it-via-post-users-userid-meetings-endpoint-does-not-work/47645/7 "2021-05-20T03:53:00Z")

</div>

Closed on May 20, 2021, 3:53am UTC

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