Skip to main content
GET
/
profile-images
TypeScript
import { DiscovrClient } from "discovr";
import type { ProfileImagesResponse } from "discovr";

const discovr = new DiscovrClient("your-client-id", {
  basePath: "https://api.discovr.media",
});

// After sign-in and profile selection …
const response: ProfileImagesResponse = await discovr.getProfileImages();
console.log(response);
{
  "images": [
    "https://api.discovr.media/profile-images/profile-apricot.png",
    "https://api.discovr.media/profile-images/profile-cloud.png",
    "https://api.discovr.media/profile-images/profile-cyan.png"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.discovr.media/llms.txt

Use this file to discover all available pages before exploring further.

Response

Avatar images returned successfully.

Available avatar images for profile setup.

images
string<uri>[]
required

Direct URLs to avatar images. Use any of these as a profile picture.

Example:
[
"https://api.discovr.media/profile-images/profile-apricot.png",
"https://api.discovr.media/profile-images/profile-cloud.png",
"https://api.discovr.media/profile-images/profile-cyan.png"
]