API ReferenceLicenses
Activate a license key
Activate a license for a device or installation and save its instance ID.
Activate a license for a named device or installation. Success returns a license
instance: the record of that activation. Save its id so you can validate the
same activation later.
Activation can fail if:
- The license key does not exist.
- The license key is inactive (
activeis false). - The license key has expired (
expires_atis in the past). - The activation limit (
limit) has been reached.
POST
header
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
license_key*stringinstance_name*stringSuccessful response.
application/json- response
data*curl -X POST 'https://sell.app/api/v2/licenses/activate' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "license_key": "01965f1d-f038-7116-b57f-9e7ecb4e7b8f", "instance_name": "Grace Wilson"}'{ "data": { "id": "9ebd37af-2077-42f9-9f88-d96cfc6ef1a8", "license_key_id": 1, "name": "Grace Wilson", "store_id": 1, "created_at": "2025-04-22T20:53:22.000000Z", "updated_at": "2025-04-22T20:53:22.000000Z" }}