License
Validate License Key
License
Validate License Key
POST
/
v1
/
licenses
/
validate
curl --request POST \
--url https://api.creem.io/v1/licenses/validate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"key": "<string>",
"instance_id": "<string>"
}'
{
"id": "<string>",
"mode": "test",
"object": "<string>",
"status": "active",
"key": "ABC123-XYZ456-XYZ456-XYZ456",
"activation": 5,
"activation_limit": 1,
"expires_at": "2023-09-13T00:00:00Z",
"created_at": "2023-09-13T00:00:00Z",
"instance": {
"id": "<string>",
"mode": "test",
"object": "license-instance",
"name": "My Customer License Instance",
"status": "active",
"created_at": "2023-09-13T00:00:00Z"
}
}
Headers
Body
application/json
Response
200 - application/json
Successfully validated a license key instance
The response is of type object
.
curl --request POST \
--url https://api.creem.io/v1/licenses/validate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"key": "<string>",
"instance_id": "<string>"
}'
{
"id": "<string>",
"mode": "test",
"object": "<string>",
"status": "active",
"key": "ABC123-XYZ456-XYZ456-XYZ456",
"activation": 5,
"activation_limit": 1,
"expires_at": "2023-09-13T00:00:00Z",
"created_at": "2023-09-13T00:00:00Z",
"instance": {
"id": "<string>",
"mode": "test",
"object": "license-instance",
"name": "My Customer License Instance",
"status": "active",
"created_at": "2023-09-13T00:00:00Z"
}
}