IoT Integrator

Get Pre-Shared Device Key

Get the Pre-Shared Key of a specific Device.

get/v1/integrate/devices/{deviceId}/psk/{protocol}

Request

  • Base URL
    https://api.1nce.com/management-api
  • Auth
    HTTP bearer

Path parameters

deviceIdstring required
Example:<device_id>

The unique device ID which identifies each 1NCE SIM. Can be obtained from the Get All Devices API query. For 1NCE SIMS the device ID is equal to its iccid.

protocolstring required
Example:COAP

Available protocols: <ul><li>LWM2M</li><li>UDP</li><li>COAP</li></ul>

Response

OK

deviceIdstring required

Identifier of the device.

identitystring required

Client identity of the pre-shared key.

secretKeystring required

Secret key of the pre-shared key.

createdAtstring date-time required

Created timestamp of the pre-shared key.

updatedAtstring date-time required

Updated timestamp of the pre-shared key.

protocol'COAP' | 'LWM2M' required

Protocol PSK is applied for

format'STRING' | 'HEX' required

The format in which the secret key was provided.

Example response

{
  "deviceId": "<device_id>",
  "identity": "<identity>",
  "secretKey": "<secret_key>",
  "createdAt": "2022-03-07T08:51:29.015Z",
  "updatedAt": "2022-03-07T08:51:29.015Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.