{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/legacy/token","auth":"required","settings":"","examples":{"codes":[{"name":"","language":"php","code":"<?php\n\n$client = new GuzzleHttp\\Client();\n\ntry {\n\n  $response = $client->get('https://streamlabs.com/api/v1.0/legacy/token', [\n    'query' => [\n      'access_token'  => 'ACCESS_TOKEN_HERE'\n    ]\n  ]);\n\n  $result = $response->json();\n\n} catch (Exception $e) {\n\n  //failed\n  $result = $e->getResponse()->json();\n\n}"}]},"method":"get","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{\n\t\"token\": \"XYZ4123ASD123\"\n}","name":""}]}},"next":{"description":"","pages":[]},"title":"/legacy/token","type":"endpoint","slug":"legacy-token","excerpt":"Allows you to obtain a users legacy Streamlabs token which can be used in widget URLs.","body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Required Scope\",\n  \"body\": \"legacy.token\"\n}\n[/block]","updates":["565544899347d30d00d7e81d","570a19f054b5cd1700f7eb44","586ed819bb1d821b006c43e7"],"order":0,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"55f1ccc439e3e8190068b33e","__v":16,"parentDoc":null,"version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["55baca9dd0736b3100bf100c","55bacba0d0736b3100bf1017","55bad8f33f0767230008f517","55baf3f01b0d66370078166e","55baf4151b0d66370078166f","55f1cca35fe76419007dc794","573e2d6e610a090e00ca2b97","58d97ce57718211b0028e6bc","599b510cb683b50031a35299","5a871c493948fd004697e677"],"_id":"55baca9cd0736b3100bf100b","createdAt":"2015-07-31T01:08:44.540Z","project":"55baca9cd0736b3100bf1008","__v":10,"releaseDate":"2015-07-31T01:08:44.540Z"},"category":{"sync":{"isSync":false,"url":""},"pages":["55f1ccc439e3e8190068b33e"],"title":"Other","slug":"other","order":6,"from_sync":false,"reference":true,"_id":"55f1cca35fe76419007dc794","project":"55baca9cd0736b3100bf1008","version":"55baca9cd0736b3100bf100b","createdAt":"2015-09-10T18:32:03.389Z","__v":1},"createdAt":"2015-09-10T18:32:36.543Z","githubsync":"","user":"55baca333f0767230008f4ff","project":"55baca9cd0736b3100bf1008"}

get/legacy/token

Allows you to obtain a users legacy Streamlabs token which can be used in widget URLs.

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

[block:callout] { "type": "warning", "title": "Required Scope", "body": "legacy.token" } [/block]