Skip to main content
GET
/
workspaces
/
{workspaceSlug}
/
subscription
Get current subscription (from DB)
curl --request GET \
  --url https://global.thenile.dev/workspaces/{workspaceSlug}/subscription \
  --header 'Authorization: Bearer <token>'
{
  "workspace": "<string>",
  "level": "<string>",
  "validFrom": "2023-11-07T05:31:56Z",
  "validTo": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceSlug
string
required

Response

A subscription record

workspace
string
level
string
validFrom
string<date-time>
validTo
string<date-time>
I