Create a Key

Creates a new Key for a given Lock. Please note that creating a Key is an asynchronous operation. The Unloc Service Provider API will return HTTP status 202 (Accepted) with the assigned ID of the newly minted Key in the response body.

New Keys are not guaranteed to be ready for use (in active state) the moment the response arrives. For many Lock types, it might take a few seconds until the Key has transitioned to the active state.

See the Get Key details endpoint to query the Key's state.

Click Try It! to start a request and see the response here!