Skip navigation
REST › entitlements.status

entitlements.status

GET/entitlements/status

Whether the key's account can read subscriber guides right now: access state and end date, the Polar subscription if any, the usable product keys (retail:<pack> for a guide bought on its own) and roles. Needs a key.

Parameters

This verb takes no parameters.

Request

curl
curl "https://api.modernengineer.dev/entitlements/status" \
  -H "Authorization: Bearer $SE_KEY"

Response

200 OK · application/json
{
  "accessible": true,
  "emailVerified": true,
  "isOperator": false,
  "entitlement": {
    "accessUntil": "2027-02-01T03:15:00.000Z",
    "productKey": "workflow-library-subscription",
    "revokedAt": null,
    "sourceType": "sepay",
    "state": "active"
  },
  "productKeys": [
    "workflow-library-subscription",
    "retail:orca-cook-plan"
  ],
  "roles": [
    "member"
  ],
  "subscription": null
}

Errors

StatusErrorWhen
401unauthenticatedThe API key is missing or invalid. Comes with a WWW-Authenticate header.

In MCP