Get a license key activation.
Scopes: license_keys:read license_keys:write
license_keys:read
license_keys:write
Python
from polar_sdk import Polar with Polar( access_token="<YOUR_BEARER_TOKEN_HERE>", ) as polar: res = polar.license_keys.get_activation(id="<value>", activation_id="<value>") # Handle response print(res)
{ "id": "<string>", "license_key_id": "<string>", "label": "<string>", "meta": {}, "created_at": "2023-11-07T05:31:56Z", "modified_at": "2023-11-07T05:31:56Z", "license_key": { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "modified_at": "2023-11-07T05:31:56Z", "organization_id": "<string>", "customer_id": "<string>", "customer": { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "modified_at": "2023-11-07T05:31:56Z", "metadata": {}, "external_id": "usr_1337", "email": "<string>", "email_verified": true, "name": "John Doe", "billing_address": { "country": "AD", "line1": "<string>", "line2": "<string>", "postal_code": "<string>", "city": "<string>", "state": "<string>" }, "tax_id": [ "911144442", "us_ein" ], "organization_id": "<string>", "deleted_at": "2023-11-07T05:31:56Z", "avatar_url": "<string>" }, "benefit_id": "<string>", "key": "<string>", "display_key": "<string>", "status": "granted", "limit_activations": 123, "usage": 123, "limit_usage": 123, "validations": 123, "last_validated_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z" } }
You can generate an Organization Access Token from your organization's settings.
Successful Response
Show child attributes
Was this page helpful?