Documentation
license_keys

List License Keys

get
/v1/license-keys
Get license keys connected to the given organization & filters.
curl -X GET \
    https://api.polar.sh/v1/license-keys \
    -H "Accept: application/json" \
    -H "Authorization: Bearer <token>" \
    
Responses
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "organization_id": "00000000-0000-0000-0000-000000000000",
      "user_id": "00000000-0000-0000-0000-000000000000",
      "benefit_id": "00000000-0000-0000-0000-000000000000",
      "key": "string",
      "display_key": "string",
      "status": "granted",
      "limit_activations": 0,
      "usage": 0,
      "limit_usage": 0,
      "validations": 0,
      "last_validated_at": "2024-09-19T00:00:00.000Z",
      "expires_at": "2024-09-19T00:00:00.000Z"
    }
  ],
  "pagination": {
    "total_count": 0,
    "max_page": 0
  }
}