Skip to main content
GET
/
v1
/
billing
/
subscription
Get current subscription
curl --request GET \
  --url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/billing/subscription \
  --header 'Authorization: Bearer <token>'
{
  "plan": "free",
  "status": "<string>",
  "currentPeriodEnd": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Developer API key

Response

200 - application/json

Subscription details

plan
enum<string>
Available options:
free,
pro,
enterprise
status
string
currentPeriodEnd
string<date-time>