Create a new doorlock key.Ask AIpost https://api.cloudbeds.com/doorlock/v1/keysBody ParamsKey datapropertyIdstringrequiredreservationIdstringrequiredReservation identifier.subReservationIdstringrequiredSub-reservation identifier.issuerIdstringrequiredstartDateTimestringrequiredStart date and time of key.endDateTimestringrequiredEnd date and time of key.keyTypestringenumrequiredKey type.key_cardaccess_codemobile_keyAllowed:key_cardaccess_codemobile_keyroomsarray of stringsDefaults to List of common room IDs.roomsADD stringcommonRoomsarray of stringsDefaults to List of common room ids.commonRoomsADD stringexternalIdstring | nullDefaults to nullkeyCodestring | nullDefaults to nullCustom key code.statusstringenumDefaults to processingKey status.processingcompletedAllowed:processingcompletedencoderstring | nullDefaults to nullmobileIdstring | nullDefaults to nullguestIdstring | nullDefaults to nullResponses 201A key that was just created. 400Bad Request response 404Not found response 500Internal server errorUpdated 7 months ago