I am trying to integrate with an external API (ExtAPI) so that an agent can use an Inbox app to create data in it when in a conversation.
The agent has a login (username/password) in the ExtAPI. There is a login endpoint in the ExtAPI that returns a token and id for them. The agent may occasionally need to re-login.
I can’t work out how to allow the agent to be able to login into the ExtAPI and store the token and id in their session so that it will be passed in conversation details to the Inbox App. I presume I’ll need to create a login form but don’t know where to set/call this in Intercom.
Any advice would be appreciated.