---
title: "MobileKeyWithCredential"
url: "https://portal2.konghotels.cloud/apis/kong-hotels-guest-stay-api-1/versions/b4bfa113-0e33-46cc-8723-38e7ac5e7863/schemas/MobileKeyWithCredential"
---

> Full API specification: https://portal2.konghotels.cloud/apis/kong-hotels-guest-stay-api-1/versions/b4bfa113-0e33-46cc-8723-38e7ac5e7863.md

# MobileKeyWithCredential

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kong Hotels Guest Stay API
  version: 1.0.0
servers:
  - url: https://stay.konghotels.cloud
    description: Production (Kong Gateway)
components:
  schemas:
    MobileKey:
      type: object
      properties:
        id:
          type: string
          examples:
            - key_7Hq2mX
        device_id:
          type: string
        platform:
          type: string
          enum:
            - ios
            - android
        guest_name:
          type:
            - string
            - "null"
        room_number:
          type: string
          examples:
            - "1412"
        status:
          type: string
          enum:
            - active
            - revoked
            - expired
        valid_from:
          type: string
          format: date-time
        valid_until:
          type: string
          format: date-time
    MobileKeyWithCredential:
      allOf:
        - $ref: "#/components/schemas/MobileKey"
        - type: object
          required:
            - credential
          properties:
            credential:
              type: string
              description: Opaque payload for the lock vendor SDK. Returned once, at issue
                time.
```
