POST
/
devices
/
{device_id}
/
activation_token
Activation Token
curl --request POST \
  --url https://{host}/{version}/devices/{device_id}/activation_token \
  --header 'X-API-Key: <api-key>'
{
  "token": "eyJhbGciOiJ...",
  "expires_at": "2025-01-01T00:00:00Z"
}

Authorizations

X-API-Key
string
header
required

The API key to use for authentication. Retrieve your API key from the Miru dashboard.

Path Parameters

device_id
string
required

The unique identifier of the device

Example:

"dvc_123"

Response

200 - application/json

Successfully created the device activation token.

The response is of type object.