Skip to content
Endless Documentation

Subscription Status Billing

GET
/organizations/{organization_id}/subscription

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Path Parameters

organization_id*string
Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/organizations/org_abc123/subscription"
{  "has_subscription": true,  "status": "active",  "is_active": true,  "plan": {    "name": "string",    "credits": 0,    "price": 0,    "currency": "string",    "interval": "month"  },  "current_period_start": "string",  "current_period_end": "string",  "cancel_at": "string",  "trial_end": "string"}