Skip to content
Oclavex is in private preview, open to existing MonetizeIt users. New users who would like to evaluate Oclavex before the public launch can request access at info@revenusion.com.

Issue operational offline activation

POST
/api/v1/provision/operational/activations/offline/issue
curl --request POST \
--url https://example.com/api/v1/provision/operational/activations/offline/issue \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "meta": { "schemaVersion": 1, "nonce": "example", "requestedAt": "2026-04-15T12:00:00Z", "sdkVersion": "example" }, "body": { "activationCode": "example", "fingerprint": "example", "applicationInfo": { "applicationName": "example", "installedApplicationVersion": "example", "applicationInstanceName": "example", "applicationScope": "example" }, "components": { "MachineName": "3f7a9c1e5b2d4a60" }, "fingerprintMethod": "example", "deviceName": "example", "attestation": { "fingerprint": "example", "x5c": [ "example" ] }, "proof": "example" } }'

Issues a signed offline activation response for the supplied request artifact, when the license allows offline activation.

  • oidc
    provision.activation.update
X-Correlation-Id
string

An id of your own for the call. The answer returns it in the same header, and the server log carries it; when you send none, the server makes one.

Request artifact produced by the SDK’s OfflineActivationRequestBuilder.

Media typeapplication/json

Self-contained artifact produced by the SDK on an air-gapped machine to request a license activation without an HTTP call. The artifact is transported out of band (USB stick, portal upload, etc.) to an admin who presents it to the server; the server returns a matching signed OfflineActivationResponse.

object
meta

Request-instance metadata: schema version, nonce, timestamp, SDK version.

object
schemaVersion

Wire-format major version. Currently always 1. The server refuses unknown versions to fail fast rather than silently mis-parse.

integer format: int32
nonce

Client-generated request correlation id, populated by the SDK builder as 32 random bytes encoded as base64url without padding. Echoed by the server in the matching response for audit / correlation; has no security property in v1 — the SDK does not currently track outstanding nonces. The real defences are the JWT exp/aud claims and the response signature.

string
requestedAt

UTC timestamp at which the SDK produced the request. Used by the server as part of the idempotency cache key.

string format: date-time
sdkVersion

Version of the SDK assembly that produced the request. Diagnostic only; never load-bearing.

string
body

Activation payload: activation code, fingerprint, optional application info.

object
activationCode

Activation code identifying the entitlement or invitation. Required; non-empty.

string
fingerprint

Device fingerprint binding the license to a specific seat. Required; non-empty.

string
<= 100 characters
applicationInfo
One of:
null
components

The device identity, mirroring the online activation request: per-component one-way hashes keyed by trait (MachineId, MachineName, MacAddress, OsVersion, UserName), or one entry for a single-value fingerprint. The fingerprint is their digest (FingerprintDigest.Compute); a request without them is read as the one-entry map of its fingerprint. Values are hashed on-device; raw component values never leave the client.

null | object
Example
{
"MachineName": "3f7a9c1e5b2d4a60"
}
fingerprintMethod

Optional: how the device took its fingerprint, mirroring the online activation request. An entitlement whose fingerprinting method names device traits refuses a request that names none or names others. Omitted from the wire format when null. Stays within schemaVersion 1 (additive optional field).

null | string
deviceName

Optional: the name the end user knows the device by, mirroring DeviceName on the online activation; shown on Devices and My Licenses. The SDK builder sends the computer’s name unless told otherwise. Personal data: the server erases it with the rest of a user’s data on a privacy request. Omitted from the wire format when null. Stays within schemaVersion 1 (additive optional field).

null | string
0 <= 100 characters
attestation
One of:
null
proof

Optional signature by the attested key over the fields that name this request (nonce, requestedAt, activationCode, fingerprint; the statement is built by OfflineActivationRequestProof), so a copied attestation proves nothing without the key itself. ES256: ECDSA P-256 over SHA-256 of the statement, the signature as r||s, base64url without padding. Omitted from the wire format when null. Stays within schemaVersion 1 (additive optional field).

null | string

Response issued successfully.

Media typeapplication/json

Server-issued signed envelope returned by the offline activation flow. Carries an EndUserLicense inside a JWS-flattened-JSON-style detached-payload envelope so the SDK can verify the signature byte-for-byte without canonicalization risk.

object
signedPayload
required

Base64url-encoded UTF-8 JSON bytes of an OfflineActivationResponseSignedPayload. The importer treats this string as opaque — it is base64url-decoded and verified, never re-serialized.

string
signature
required

Base64-encoded RSA-SHA256 (PKCS#1 v1.5) signature over the raw bytes inside signedPayload.

string
Examplegenerated
{
"signedPayload": "example",
"signature": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Invalid request (schema mismatch, missing fields, or activation failure).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

The request carries no valid access token (auth.required).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

WWW-Authenticate
string

How to authenticate: the bearer challenge.

Caller lacks the operational entitlement scope, the license does not allow offline activation (license.forbidden_by_policy), every product the application may use is past its End of life and the device has never activated the license (license.product_end_of_life), the application belongs only to a product that no plan of the license includes (license.product_not_in_plan), or the request was made by a newer version than the license’s maximum version (license.version_not_supported).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

No license matches the activation code (license.not_found).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

The body is not sent as application/json (request.unsupported).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Too many requests. Wait the seconds in Retry-After, then send the call again (service.too-many-requests).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Retry-After
integer

The seconds to wait before the call is sent again.

X-RateLimit-Limit
integer

The calls the limiter allows in its window, when it knows.

X-RateLimit-Remaining
integer

The calls left in the window, when the limiter knows.

X-RateLimit-Reset
integer

The seconds until the window resets, when the limiter knows.

X-RateLimit-Scope
string

Names the limiter that shed the call.