Skip to main content
Retrieve a list of all characters associated with your account, ordered by most recent first.

Example

import requests

url = "https://apis.viggle.ai/api/characters"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
}

response = requests.get(url, headers=headers)
result = response.json()

if result.get("error_code"):
    print(f"Error: {result['error_code']} - {result.get('message')}")
else:
    for character in result["data"]:
        print(f"{character['id']}: {character['name']} ({character['status']})")