{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/user","auth":"required","settings":"","examples":{"codes":[{"language":"php","code":"<?php\n\n$client = new GuzzleHttp\\Client();\n\ntry {\n\n  $response = $client->get('https://streamlabs.com/api/v1.0/user', [\n    'query' => [\n      'access_token' \t=> 'ACCESS_TOKEN_HERE'\n    ]\n\t]);\n\n  $result = $response->json();\n\n} catch (Exception $e) {\n\n  //failed\n  $result = $e->getResponse()->json();\n\n}\n"}]},"method":"get","params":[],"results":{"codes":[{"status":200,"language":"json","code":"{\n  \"twitch\": {\n      \"id\": \"12345\",\n      \"display_name\": \"Fishstickslol\",\n      \"name\": \"fishstickslol\"\n  }\n}","name":""},{"name":"","status":400,"language":"json","code":"{\n  \"error\": \"...\",\n  \"message\": \"...\"\n}"}]}},"next":{"description":"","pages":[]},"title":"/user","type":"endpoint","slug":"user","excerpt":"Fetch donations for the authenticated user. Results are ordered by creation date, descending.","body":"[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Supports CORS\",\n  \"body\": \"This endpoint allows cross-origin requests!\"\n}\n[/block]","updates":["58424dbb79dd042f00c2f791","586546f07f6a0c0f005ffe0f","5865470e3066591b00c3abe2","586560832635072d0069987e","586560830548950f009e0c81","58656083305d210f005bd662","5865608402d9d72f00a7f928","5881d043f1aeb81b006461fe","58b0a54e4a13970f0090f2ab"],"order":0,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"573e2d8cb3f88f0e00dcaf2b","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Users","slug":"users","order":2,"from_sync":false,"reference":true,"_id":"573e2d6e610a090e00ca2b97","project":"55baca9cd0736b3100bf1008","version":"55baca9cd0736b3100bf100b","createdAt":"2016-05-19T21:17:34.139Z","__v":0},"githubsync":"","user":"55baca333f0767230008f4ff","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"},"__v":12,"project":"55baca9cd0736b3100bf1008","createdAt":"2016-05-19T21:18:04.808Z"}

get/user

Fetch donations for the authenticated user. Results are ordered by creation date, descending.

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

[block:callout] { "type": "success", "title": "Supports CORS", "body": "This endpoint allows cross-origin requests!" } [/block]