Skip to main content

Embedding the guest app in your app

If you need to embed the guest app in your app you can generate a guest token to provide SSO access seamlessly.

mutation identifyGuest {
identifyGuest(
email: "alex.wanderwall@mail.com"
firstName: "Alex"
lastName: "Wanderwall"
clubMemberNumber: "123456789" # optional
)
}

Response headers:

{
"Authorization": "{token}"
}

Guest App URL

You can authenticate the guest by adding the token as a search parameter into the guest app URL, using the identify key.

https://guest.hotelmanager.co/{hotel_id}?identify={token}

You can also deep link into any page

https://guest.hotelmanager.co/{hotel_id}/menus/{menu_id}?identify={token}