Skip to main content
GET
/
billing
/
subscription
Get subscription details
curl --request GET \
  --url https://nimbussuite.com/api/v1/billing/subscription \
  --header 'Authorization: Bearer <token>'
{
  "userSubscription": {
    "id": "<string>",
    "status": "<string>",
    "active": true,
    "current_period_end": "2023-11-07T05:31:56Z",
    "recurrence": "<string>",
    "latest_invoice": "<string>",
    "plans": {
      "id": "<string>",
      "name": "<string>"
    }
  },
  "orgSubscription": {
    "id": "<string>",
    "status": "<string>",
    "active": true,
    "current_period_end": "2023-11-07T05:31:56Z",
    "recurrence": "<string>",
    "latest_invoice": "<string>",
    "org_id": "<string>",
    "org_name": "<string>",
    "plans": {
      "id": "<string>",
      "name": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

orgId
string

Optional organization ID

Response

Subscription details retrieved

userSubscription
object
orgSubscription
object