Entitlements
View as Markdown

A customer’s entitlement snapshot

Needs the entitlements:read scope, or a full-access key. About scopes

GET
/api/v1/customers/{id}/entitlements

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Path Parameters

id
Required
string

Format: "uuid"
curl -X GET "https://globalymint.com/api/v1/customers/3fa85f64-5717-4562-b3fc-2c963f66afa6/entitlements" \
  -H "Authorization: Bearer <token>"

The snapshot.

{
  "data": {
    "customer": {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "externalId": "string"
    },
    "plan": "string",
    "status": "string",
    "subscription": {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "status": "string"
    },
    "seats": {
      "purchased": 0
    },
    "periodEnd": "string",
    "features": {
      "property1": true,
      "property2": true
    },
    "limits": {
      "property1": 0,
      "property2": 0
    },
    "credits": {
      "property1": {
        "granted": 0,
        "used": 0,
        "remaining": 0
      },
      "property2": {
        "granted": 0,
        "used": 0,
        "remaining": 0
      }
    },
    "usage": {
      "property1": {
        "used": 0,
        "included": 0,
        "overage": 0
      },
      "property2": {
        "used": 0,
        "included": 0,
        "overage": 0
      }
    },
    "version": 0
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}