Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
device_id
string<uuid>
required

ID of the device for which you want to generate a code.

Response

OK

generated_code
object
required

Represents a smart lock access code. See the access_code object.