Skip to content

List Avatars

Shows how to list existing avatars.

This example assumes using Meshcapade; is in scope and apiKey contains your Meshcapade API key.

1
2
3
4
5
6
7
using var client = new MeshcapadeClient(apiKey);

// List all avatars for the authenticated user.
var response = await client.Avatars.ListAvatarsAsync(
    limit: 10,
    page: 1);
Console.WriteLine($"Found {response.Data!.Count} avatars");