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 "https://api.modernengineer.dev/entitlements/status" \
-H "Authorization: Bearer $SE_KEY"Response
{
"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
| Status | Error | When |
|---|---|---|
| 401 | unauthenticated | The API key is missing or invalid. Comes with a WWW-Authenticate header. |