Web messenger

How you can utilize the web messenger in a use-case specific way

Authenticate a guest with an external identifier

Smooch.login('external-id', 'jwt-from-bookboost');

get
Get User JWT

https://app.bookboost.io/api/v2/apps/{appId}/web-messenger/auth/{external-id}
This method creates and returns a JWT with which you may authenticate a user in the web messenger
Request
Response
Request
Response
200: OK
[
{"jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6ImFwcF81YmFiNTc2NGU1MWJhZDAwMjJjZjE4NWQifQ"}
]