> For the complete documentation index, see [llms.txt](https://wiki.tribute.top/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.tribute.top/br-pt/para-criadores-de-conteudo/documentacao-da-api/subscriptions.md).

# Subscriptions

Subscription catalog with pricing periods

## Get Subscriptions List

> Returns the authenticated user's subscriptions, each with its pricing periods

```json
{"openapi":"3.1.0","info":{"title":"Tribute API","version":"1.0.0"},"tags":[{"name":"Subscriptions","description":"Subscription catalog with pricing periods"}],"servers":[{"url":"https://tribute.tg/api/v1","description":"Tribute API v1"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Api-Key","description":"API key for authentication."}},"schemas":{"Subscription":{"type":"object","required":["subscriptionId","name","currency","periods"],"properties":{"subscriptionId":{"type":"integer","description":"Subscription ID"},"name":{"type":"string","description":"Subscription name"},"currency":{"type":"string","description":"Currency code"},"periods":{"type":"array","description":"Pricing periods","items":{"$ref":"#/components/schemas/SubscriptionPeriod"}}}},"SubscriptionPeriod":{"type":"object","required":["periodId","period","price"],"properties":{"periodId":{"type":"integer","description":"Period ID"},"period":{"type":"string","description":"Billing period","enum":["trial","onetime","weekly","monthly","quarterly","halfyearly","yearly"]},"price":{"type":"number","description":"Price in major currency units"}}},"Error":{"type":"object","required":["error","message"],"properties":{"error":{"type":"string","description":"Error code","enum":["error_bad_request","error_not_found","error_not_permitted","no_access"]},"message":{"type":"string","description":"Error description"}}}}},"paths":{"/subscriptions":{"get":{"summary":"Get Subscriptions List","description":"Returns the authenticated user's subscriptions, each with its pricing periods","tags":["Subscriptions"],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#/components/schemas/Subscription"}}}}}}},"401":{"description":"Unauthorized (invalid API key)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests (rate limit exceeded)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}
```
