Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

For your own scripts and server-to-server integrations. Create a key in the app under Settings > Access > API keys and copy it then, because it is shown once. Send it as Authorization: Bearer <key>. The key acts as the member who made it, in the organization it was made in. A call needs the member's permission and one of the key's scopes, such as inventory:read or sales:write. A key with * has every scope.

Body

application/json

Makes an enrollment code for a shared device or a kiosk.

kind
enum<string>
required

shared, or kiosk once kiosks are available.

Available options:
shared,
kiosk
Example:

"shared"

name_prefix
string
required

What the device's name starts with, at most 40 characters. Do not name a person in it.

Maximum string length: 40
Example:

"Dock"

location_id
string<uuid> | null

The location the device works at.

Example:

"0199a0d0-0000-7000-8000-0000000000b1"

work_center_id
string<uuid> | null

The work center the device works at.

Example:

"0199a0d0-0000-7000-8000-0000000000c1"

Response

IssuedEnrollmentResource

data
IssuedEnrollmentResource · object
required