---
title: "Import Pre-Shared Keys for the Devices"
method: POST
path: "/v1/integrate/devices/psk/jobs"
tags: ["IoT Integrator"]
---

# Import Pre-Shared Keys for the Devices

`POST /v1/integrate/devices/psk/jobs`

## Request

- Base URL: `https://api.1nce.com/management-api`
- URL: `https://api.1nce.com/management-api/v1/integrate/devices/psk/jobs`
- Auth: HTTP bearer

Import new Custom Pre-Shared Keys for multiple Devices.

## Request body

- PostschemaInner[]: Import of Pre-Shared Keys for multiple devices.
  - `deviceId` string, required: The unique ID of the device.
  - `secretKey` string, required: Pre-shared secret key for a device.
  - `protocol` 'COAP' | 'LWM2M', required: Protocol PSK is applied for
  - `format` 'STRING' | 'HEX': The format in which the secret key was provided.

## Response `202`

Accepted

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/1nce/apis/1nce-os.md) - [All operations](https://skmtc.dev/1nce/apis/1nce-os/llms.txt) - [OpenAPI document](https://skmtc.dev/1nce/apis/1nce-os/revisions/f1aabbc6aeea?raw)
