I moved this to the Server Admin. If that doesn't work, maybe it belongs in the Dev space. Good Luck!
1 of 1 people found this helpful
Hi Michael, the short answer is No: the REST API token cannot be used with the JS API.
Based on the URL you're generating, it looks like you're trying to use a trusted ticket (see Trusted Authentication). This is a completely different mechanism. See the link for information on how to configure this.
The REST API is meant for performing various administrative tasks. The JS API is meant for viewing vizzes. The two APIs are separate.