Solved

How to get the same conversation URL as in FrontApp?

  • 15 December 2023
  • 3 replies
  • 104 views

Badge
  • Conversationalist
  • 1 reply

Is it feasible to retrieve the URL of a conversation within the FrontApp application through the API? Specifically, I am referring to the URL structure within the FrontApp application itself. It seems that the URL structure differs, and there are no apparent 'conversation' or 'message' IDs corresponding to what the API returns.

For instance, in the case of a conversation in a shared inbox, the URL structure is as follows: 'https://app.frontapp.com/inboxes/teams/folders/{somenumbers}/unassigned/{somenumbers}'.

icon

Best answer by Support Engineering 18 December 2023, 19:26

View original

3 replies

Userlevel 1
Badge +5

Hi Aaya,

The format of the URL you mention in that case, in order of the numbers, would be the internal inbox ID followed by the internal conversation ID. If you’d like to retrieve a conversation URL I would instead use our get conversation endpoint (https://dev.frontapp.com/reference/get-conversation-by-id). This should also return a direct link to the conversation.

Badge

Thank you for your response!
However, I am specifically interested in the URL address of the conversation, similar to the one in the FrontApp application. I need this URL address so that when clicking on the generated link, this particular conversation opens in the FrontApp application. Please let me know if this is possible.

 

 

 

 

 

 

Userlevel 1
Badge +5

Hi Aaya,

The GET conversation endpoint should return a link that would also open the particular conversation in Front, and is the URL address of the conversation, something that looks like so:

"_links": {
    "self": "https://yourCompany.api.frontapp.com/conversations/cnv_yo1kg5q"

The URL example you’re referring to contains the specific inbox ID for the conversation, and can differ depending on the teammate accessing the conversation. The link returned via the API is more generic, and will succeed in opening the conversation so long as the user clicking it has access to the conversation itself. This is the preferred URL method to access conversations, and I would suggest that you use this URL instead.

Reply