Community topics about Front APIs and SDKs
Recently active
I’m testing out the postman libraries shared from front.When testing out the Sync Inbound message endpoint, no matter what I do/chnage I get the below error. Anyone else seen this? {"_error": {"status": 401,"title": "Unauthenticated","type": "resource_unavailable","message": "Invalid token"}}
Hi community!So I’ve been going through a POC using the Front webchat and everything worked until I try to identify the user.Once I run the FrontChat(‘identity’, {...}) script, when I try to send a message through the chat I get “Not delivered - connection issues.”If I never identify the user, it works like a charm. (Other scenario) If I run the init with the identity fields I get 400s.Can some help?
We regularly receive direct messages to teammates that should have otherwise been directed to a team. Is there any way in the slack integration to connect it on a per-user basis instead of just a public channel?I thought it should be as simple as connecting a new source to a personal front user. I know you can use the more menu in slack and create a new Front conversation which does work but then you can’t reply to it from Front.
Hi everyone. I don’t see such a parameter here:https://dev.frontapp.com/reference/post_channels-channel-id-messages It would be useful and crucial for us if we could use it in API.But maybe I miss something and there is another way to create a conversation using a template? Thanks.
This announcement details a potentially breaking change to the Core API. The changes might affect you if your company uses our API in one of your integrations or tools to return a list of company, team, or individual tags. TLDR: Please update your Front integrations by November 4th, 2023 so that they handle paginated results from the Tags API endpoints. Previously, these endpoints returned all the tags in one response, but we are changing this behavior so that the endpoints return paginated results instead. This change will result in better API performance when retrieving tags from a list of potentially hundreds or thousands of tags. If your integrations have been relying on the endpoints to return all the tags in one response, you will have to update those integrations so that they paginate through the list of results instead. You can learn how to handle paginated results on our Developer Portal. We understand changes take time to implement, so we are releasing these changes in a way
I am looking for a way to add inline images to the messages via the API.From what I see you can only add attachments and I need to be able to reference a CID of the attachment in the HTML body.Any ideas?
Ever wondered how pagination works for the Core API? We now offer a quick guide to get you up to speed.
Hi:I’d like to parameterize the call made when opening a sidebar plugin without javascript. Is it possible to set a param in the “Side panel URL” (pictured)? For example, I’d like to send the recipient email address of the currently focused conversation.Is this possible?
Hi, I noticed sometimes the conversation is moved to “trashed” state due to variety reasons. From the API, when I retrieved the conversation, how do I know whether it is in “trashed” state? According to the API doc, the conversation state doesn’t have “trashed” value. Best,
Hi! We are in the process of enhancing our integration (telephony) with Front by adding tag synchronisation. I have some questions around this I was hoping someone could help clarify. Currently, we push messages into Front each time a call is made in Cordless (our platform). We want to extend this by also pushing tags, which our users assign to these calls within Cordless, into Front.At the moment we’re using custom channels and custom messages https://dev.frontapp.com/reference/post_channels-channel-id-incoming-messages. The question is: Is it possible to add tags to these custom messages (it is not clear from the documentation)? If so, how can we go about it? Specifically, we anticipate needing to update messages after they've been created in Front to attach these tags, as users might not assign tags instantly. If we can’t update messages - I suppose, we can update a message’s conversation, but how do we find a conversation if we only know message_uid? Thanks in advance for your help
Is there a way to control the size of a composer plugin? It seems to default to around 430px height, but I’m building a small plugin that needs only half of that, it would be good to avoid the extra white space.
Hi there !I have a question, we are currently using the inboxes as filter to get the events by webhooks. I am wondering if it is, or will be, possible to set a condition in the webhook config in front app to get the events concerning a specific view rather than inbox ? Do you know something about it ? The same question for the API, I looked for views in your API doc, but found nothing, will it be available in the future to do some calls on views ?Thanks in advance !Tomasz
Hi team, I am trying to send a automatic reply through message template from API 1.Retreiving the body of the message template2.Passing the body to the reply conversation Here i am unable to see the previous conversations like we see it when we click on reply. Is there a way to also prepend the previous conversation when ever we send an automatic reply .
We store some event data in our data warehouse which we use to view some Front usage metrics in our BI tool alongside data from our internal database. To simplify & flatten the event data, we are looking to mimic some things found in a Front Analytics events export, particularly the “Attributed To” field. With the event data received through the API, the most comparable fields seem to be the Target Data and Source Data fields. For some events, the teammate that the event can be “Attributed To” is found in Target Data, and others in they are in the Source Data. I am having trouble figuring out the proper mapping for when to use Target Data fields, Source Data fields, or other fields to create a single “Attributed To” field for each event type. For which event types should we use Target Data or Source Data to figure out the teammate the event is attributed to? Is there a guide available that shows how raw event data can map to Analytics fields?
Hello, I am trying to retrieve the light body of the message (i.e the last message without the former messages). I saw that you had something similar with the API on your end but it seems that there no such thing with the CoreAPI, is there any way I can come any closed to this ? I will suggest it through the product form. Thanks,Best regards,
Hi, We are currently using the Front API to post to conversations a summary of the customer’s previous interactions with us. We are using Front Comments to do so. The issue is that we are dynamically updating the summary every time a new message from the customer is received, which often creates multiple, long comments in the conversation interface, which is annoying as it bloats the screen and makes the conversation difficult to read.Ideally I would like to remove old comments every time a new comments comes in. However, the Front API core reference does not offer any solution to update/remove comments. I have also tried Notes to accomplish the same, but run into the same issue. Another possible solution would be to update Notes with the new summary. Do you have any solution to the above?Jacopo
I tried to use API to access the individual inboxes through the URL included in the teammate object, however I keep getting “you don’t have access to the resources of this teammate.”. I am aware of https://help.front.com/t/80d8nt/api-requests-failing-for-private-resources and have done the things suggested. Still keep getting this message.
I’m looking to implement a lookup to an external database where I'm basically fetching a row based on a query to bring data into a Front conversation. I’m wondering what the best solution would be between webhooks (application or rules) and dynamic objects.
Hello Front Community! Happy to be here - I had a question regarding the type of apps/plugins you can create using the developer platform. Long story short, our team has integrated Front’s new Chatbot builder: https://help.front.com/en/articles/2073I’m curious, if you are able to build an app that can dynamically answer based on the customer’s question/input? For instance, we would like to dynamically suggest help desk articles to the user based on their question - through an API my company already has working. Is this possible?
Hi, Front team.Our team is going to build an IM system for our customers and our employees.we’d like tosync Sendbird messages from our customers to Front sync message from our employee replies in front to Sendbird threadI saw you have rate limit policy, I want to know if this policy also applies to this api: https://dev.frontapp.com/reference/post_channels-channel-id-incoming-messages If so, as our business grows, we are going to break through the limit quickly. what can we do to resolve this problem. thanks.
I’d like to search for conversations using the message-id form the source message. Any way to do this?
My front plugin displays a select box with all the recipients of the currently selected conversation, and I would like to remove from this recipients list the one that are inboxes of the company. However, when I retrieve the inboxes of the company, I only get their names, and not their emails so I cannot exclude the inboxes from the select box. Is there any way to retrieve an inbox email when working in a plugin ?
Hi, I am using Front API to develop an automation. We have users currently use Front Chat. I am wondering whether there is a way to let Front Webchat should the bubble by the API? We noticed that when people start responding on Front GUI, there is a bubble on the chat. But can we do it if we are interacting through API? Cheers,
Hi,With the search endpoint of the Core API, it is possible to filter conversations with a specific tag :https://url/conversations/search/is%3Aarchived%20tag%3Atag_xxxxxBut I need to filter conversations that have not a specific tag.It is possible to compose a query. I tested “not”, “!” but it seems not to work.Thank for your help.RegardsBenwa
Have you been confused by the q search query object available on some Core API endpoints? We hear you! Now you can access a new help topic to learn how to filter the results of certain GET endpoints to retrieve exactly what you need. P.S. Remember to subscribe to our API News & Updates page to be notified of developer news!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.