Skip to main content
GET
/
subscription
Get subscription information
curl --request GET \
  --url https://nanostudio.cloud/api/subscription \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "status": "<string>",
    "plan": {
      "id": "<string>",
      "name": "<string>",
      "price": 123,
      "currency": "<string>",
      "transformationsPerMonth": 123
    },
    "currentUsage": {
      "transformationsUsed": 123,
      "transformationsLimit": 123,
      "resetDate": "2023-11-07T05:31:56Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Subscription information retrieved successfully

success
boolean
data
object