Atmee.aiDocs
APIAPI referenceAvatars

Get monetization

GET
/v1/avatars/{avatarId}/monetization

Returns whether the avatar is monetized, its last 30 days against the eligibility requirements (the account's own conversations left out), the account's cap on monetized avatars, and what the avatar earned, in microcredits (100 = 1 credit). Requires avatars:read.

Authorization

headerX-Api-Key<token>

Your secret API key (sk_atmee_...; older keys start sk_live_), sent as X-Api-Key. Keep it on your server and never send it to a browser.

Path Parameters

avatarId*string
Formatuuid

Response Body

The avatar's monetization eligibility and earnings.

application/json
  1. response

An avatar's monetization, as Creator Studio's monetization panel shows it (read only here).

monetized*boolean

Whether monetization is on for the avatar.

eligible*boolean

Whether the last 30 days meet every requirement.

last30Days*

Completed conversations of the last 30 days, the account's own left out.

requirements*

The 30-day thresholds of eligibility, and which the avatar meets.

accountCap*

The account's limit on monetizing avatars.

earnings*

What the avatar has earned, in microcredits (100 = 1 credit); the current cycle is the account's billing cycle.

Example Request
curl -X GET 'https://api.atmanity.us/v1/avatars/497f6eca-6276-4993-bfeb-53cbbbba6f08/monetization'
Example Response
{  "monetized": true,  "eligible": true,  "last30Days": {    "conversations": 0,    "minutes": 0.1,    "uniqueUsers": 0  },  "requirements": {    "conversations": 0,    "minutes": 0,    "uniqueUsers": 0,    "meetsConversations": true,    "meetsMinutes": true,    "meetsUniqueUsers": true  },  "accountCap": {    "monetizingAvatars": 0,    "cap": 0,    "atCap": true  },  "earnings": {    "allTimeMicrocredits": 0,    "currentCycleMicrocredits": 0,    "allTimeSessions": 0,    "currentCycleSessions": 0  }}