Everything you need to know about the Lex API
https://lex.page/api/v1
Use the API key in the Authorization header like this:
Authorization
Authorization: Bearer YOUR_API_KEY