Get Subscription
Get Subscription
Responses
- 200
Successful Response
application/json
Schema
Example (from schema)
Schema
user_id uuid required
platform_type PlatformTypes required
Possible values: [public
, private
]
expire_at Expire At
avatar_count Avatar Count
head_count Head Count
avatar_package_count Avatar Package Count
Default value: 0
id uuid required
active Active required
created_at date-time required
updated_at date-time required
custom_bodies_count Custom Bodies Count
subscription_type object required
{ "user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "platform_type": "public", "expire_at": "string", "avatar_count": 0, "head_count": 0, "avatar_package_count": 0, "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "active": true, "created_at": "2025-01-21T09:26:05.551Z", "updated_at": "2025-01-21T09:26:05.551Z", "custom_bodies_count": 0, "subscription_type": { "name": "string", "tag": "string", "description": "string", "statement_descriptor": "string", "avatar_limit": 0, "price": 0, "payment_cycle": "1", "type": "custom", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } }
GET /subscriptions
Authorization
name: OAuth2PasswordBearertype: oauth2flows: {
"password": {
"scopes": {},
"tokenUrl": "login"
}
}
Request
Request
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'
curl -L -X GET 'https://api.unionavatars.com/v1/subscriptions' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <TOKEN>'