get user icons
This endpoint retrieves user's custom icons.
Response
The response is a JSON object with a displayIcons array which contains objects with the following properties:
mediaId(string): A unique identifier for the underlying icon fileuserId(string): The ID of the user who uploaded this iconcreatedAt(string, ISO 8601): The timestamp (UTC) when this display icon record was createdurl(string): A publicly accessible icon URLpublic(boolean): Indicates if the display icon is public. Always false for user's icons.displayIconId(string): Unique identifier for the icon
Responses
200 OK application/json
displayIconsarray
[items]object
createdAtstring
displayIconIdstring
mediaIdstring
publicboolean
urlstring
userIdstring
{ "displayIcons": [ { "createdAt": "2025-05-28T16:16:06.451Z", "displayIconId": "683736c62fd7c5cd177d206f", "mediaId": "XBkuY6DBFn5iRfFS6nV6CTWaCrEvBOOX8nzV9Y64h8I", "public": false, "url": "https://media-secure-v2-test.aws.fooropa.com/icons/XBkuY6DBFn5iRfFS6nV6CTWaCrEvBOOX8nzV9Y64h8I", "userId": "auth0|65afcb79a4f5ae5550e6e63a" }, { "createdAt": "2025-05-28T17:38:26.222Z", "displayIconId": "68374a1290f87ae7aaa1a6fc", "mediaId": "9KPr0oMDLrmVpO-gzJIJs9RmsJHOFlTksV1kTZepFl4", "public": false, "url": "https://media-secure-v2-test.aws.fooropa.com/icons/9KPr0oMDLrmVpO-gzJIJs9RmsJHOFlTksV1kTZepFl4", "userId": "auth0|65afcb79a4f5ae5550e6e63a" } ]}GET
/media/displayIcons/user/meServer URL: https://api.yotoplay.com
Authorization (bearerAuth)
curl "https://api.yotoplay.com/media/displayIcons/user/me"--header "Authorization: Bearer [YOUR_TOKEN]"const options = { method: 'GET', headers: { 'Authorization': 'Bearer [YOUR_TOKEN]' }};
fetch('https://api.yotoplay.com/media/displayIcons/user/me', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [ CURLOPT_URL => "https://api.yotoplay.com/media/displayIcons/user/me", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer [YOUR_TOKEN]" ],]);
$response = curl_exec($curl);$err = curl_error($curl);
curl_close($curl);
if ($err) { echo "cURL Error #:" . $err;} else { echo $response;}import requests
url = "https://api.yotoplay.com/media/displayIcons/user/me"
headers = { "Authorization": "Bearer [YOUR_TOKEN]"}
response = requests.request("GET", url, headers=headers)
print(response.text)