Viewing the sample code generated on the endpoint pages

Hi, I am trying to view the generated sample code found near the bottom of the API endpoint pages, as you can see here: Create a meeting for a user

However, when I hit send, I just get this message back:

{
“code”: 124,
“message”: “Invalid access token.”
}

Here is a screenshot:

What do I need to send along in order for this to work?

Thanks!

Hey @tmichael,

Are you passing values for userId and token?

If you want a valid test request, you’ll need to populate these fields. However, you can generate the code snippet for test purposes by putting place holders, not hitting send, and clicking Code Generation:

Let me know if this helps!

Best,
Will

Thanks! That worked perfectly! I was not aware that I could pass in placeholders for the required parameters.

Thanks again!

Hey @tmichael,

Awesome—Glad that did the trick! :slight_smile:

Best,
Will

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