Ask technical questions about the Front Platform
Recently active
This forum is the primary way to receive API assistance. Post questions about our APIs and SDKs in this forum.Ā Posting questions in our Developer Q&AĀ allows other developers to learn from your question and allows the broader developer community to suggest innovative solutions or respond with follow-up questions of their own.Ā However, there are times when you should contact Front Support instead. These include:Reporting bugs or performance issues When you need changes made to your Front account When you need to share private information to troubleshoot a problem Ā If your issue does not fall into one of those categories, then please post in this forum. Rest assured our Support Engineers and community gurus will see your question and respond before you know it!
How can I link a message or conversation to another conversation, just like I can do it from the UI using the "Link to original" button?Ā Ā I know how I can link conversations, but it's not the same as when it's done via the UI. I need to do this via the API, and there simply doesn't seem to be any option to do this.Ā When I look through the API docs and I link the conversation, then it is just added on top as an external link, but I wanted to be internally linked within the conversation around the original conversation, just like I do it from the UI.Ā Ā How would I use the API to do this?Ā
So to start a new whatsapp conversation (to say, e.g., alert one of our customers about a status to their property which we service) we must send out an approved template.Ā The front api for creating a message has no such template_id field.Ā This should be okay, because you can `https://api2.frontapp.com/message_templates/{message_template_id}` to get the message template and then just use the body.Ā except(1) this wonāt fill in the tag fields automatically from the contact; and [more importantly](2) whatsapp rejects this message because it isnāt an approved templateĀ it seems if we use the same body it isnāt necessarily the same template.Ā How can one use the api to send a template message to start a new whatsapp conversation?
Ā Good morning,Iām trying to sync the Front conversation statusesĀ in Front with our internal data so we can display them to our users in our app. We just need to get the Open/Waiting/Resolved value from the conversations. I'm playing with the application webhooks, as recommended in your docs, but I cannot find an event that reacts to a change in these statusesĀ (there are some internal status changed events but for Waiting and Resolved are, internally, the same āarchivedā statusĀ so nothing triggers in this case). Iāve gone around this issue by creating a custom rule that adds a tag when the status changes so I can receive the āTag addedā event but then Iām getting a lot of events that are not actually changing the status⦠The other solution will be polling directly the API but given the API request per minute restriction, if the inflow of tickets grows it might not be realistic. Is there anything else we can do, or something that we are missing? Thanks in advance,Ruben
Hello weāve just started using front and we donāt have the time to figure out what we donāt know what we donāt know.Ā Is there a partner directory or anyone whoās doing consulting paid consulting?Weāre an IT business and have no issues spending cash on software implementation but Front doesnāt seem to be offering this service. Please help itās a fantastic tool Iām sure but oh boy it takes a while to figure things out!
Hello,For one of our mutual customer we are seeing that conversation events are missing from /events api call.While individual event exist when queried via /conversation/[id]/events endpoints.I have also checked itās not a private resource. Also checked the api token access itās all correct.I can share more details if we can start a thread around api call and conversation which is missincg, since itās one of our mutual customers data I am not posting here our public forum.Let me know how to debug this.I have already created a support ticket.
Setup: I sync messages from the Core API and process them downstream. For that I need just the new content of each message, not the quoted thread history, signatures or disclaimers.What the API gives me:- `body` - full HTML, including everything- `text` - plaintext rendering, also including everything- `blurb` - quote-free, but truncated, so usable as a signal at bestSo I'm parsing the HTML myself, and running into the usual wall: no standard for marking quoted content, every client does it differently, unclosed tags, tables used for layout. Forwards are the worst case, some clients wrap the entire forwarded message in a single blockquote, so naive stripping leaves an empty body.Front clearly handles this internally (collapsed quotes in the UI, the `front-quoted` class, rules that skip quoted text when matching conditions).1. Is that exposed anywhere I've overlooked, an endpoint, field, parameter, or a paid add-on? Happy to pay for it.2. If not, what are you all using? Interested in wh
Hi all,We're an AI agent provider integrating with our customers' Front instances. Our integration has two parts: (1) webhooks so we receive conversation events from each customer's instance, and (2) an embedded React app (plugin/iframe) that loads contextually in the Front sidebar.Today, onboarding each customer is manual: we ask each tenant to create/initialize a webhook app in their own instance, exchange credentials with us, and configure everything by hand. This is slow, error-prone, and doesn't scale.What we'd like instead:Ship our integration as a single installable Front application (ideally via the App Store or as a private/partner app). Customers install it and complete a short setup form; our backend receives the install, and we can approve or reject the tenant on our side. Webhook subscriptions and credential exchange are auto-configured per tenant on install (OAuth flow), rather than each customer manually creating webhook apps. The plugin (React iframe) ships as part of t
Hi Front team,We use the Front Chat widget with our knowledge base enabled inside it, and we'd like to extend the widget's in-app Help Center experience to article links that live elsewhere in our web app.Context on what we're doing:We've started adding contextual tooltips throughout our web app that link to the relevant Front KB article for each feature. This has been great for helping users understand features ā especially newer ones ā right at the point where they encounter them.The one bit of friction: those tooltip links open the article in a new browser tab, pulling the user out of our app. What we love about the widget's built-in Help Center is that when an article is linked inside the widget (from a chat reply, or from a link within another article), clicking it just opens the article in the Help Center tab of the widget. The user can read the full article, expand the widget for a better view, and follow along while staying in our app. That in-context experience is exactly what
I love the new knowledge base integration with AI, but Iād like to add additional context to the AI based on the user submittedĀ message the AI is looking at.Having the AI have access to our MCP server means it can look up specific information about the user requesting help as well as access documentation.Is that a possibility?Ā I couldnāt find a good approach using Connectors.
Hi, Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Trying to figure out how to create and manage Sequences via API and coming up empty. The public CoreĀ API specĀ has no sequences paths, the dev portal reference doesn't mention them, and there's nothing in the changelog.A bit disappointed we are notĀ being able to drive them programmatically. This means we either keep humans clicking through the UI or rebuild a sequencing engine on top of public primitives. Both of which are worse than a thin API wrapper would be.A few questions:Are sequence endpoints available on any plan tier or beta that's just not in the public spec? Is there a roadmap item or feature request to track / +1? If sequences endpoints aren't coming, what's the recommended composition for sequence-like workflows in their absence?
We have a use case where we have a unique id, e.g. 12345,Ā for each customer case and we want to have aĀ unique email address with that id, e.g. 12345@cases.example.com, that a customer can send emails to when they have queries. We have setup the inbound flow so customers can send us emails to the unique email address and we can see them in the Front inbox, however, we canāt seem to be able to specify we are replying from that unique email address or set the reply to header to be that unique email address. This breaks our workflow. Is there any way around this?
Hi all,Ā Iām struggling with somethingā¦.I have a conversation custom field āShipment Numberā and an app object which is basically just a URL.I want to append the shipment number to the URL. Then I can create rules to populate this object when Shipment number is filled in.Is this possible?
Hi friends!I am implementing a custom solution and need to be able to search and identify contacts on FrontĀ with their phone number.I have triedĀ https://api2.frontapp.com/contacts/alt:phone:[Number]Ā returns an exact result if the number exists. However in many cases the number doesnāt exist and it return a 404 error which causes the custom template I am building to crash.I have also triedĀ https://api2.frontapp.com/contacts?q=[Number]Ā but the problem is that the query is ignored and all the contacts we haveĀ are returned every time and these contacts have no connection to the query. This is really not helpful. If this endpoint can return only contacts that have the query as a handle or name, that will be a lot more helpful.Has anyone had a reason to do something similar or is there anything I must have missed with searching contacts with the query method?
Iāve made a privateĀ oauth app to access resources. Only shared resources. Iāve limited the resource permissions to a pretty vanilla degree. However, whenever someone in my company tries to authorize the app, if they are not an admin then they cannot proceed.Is this expected, or am I doing it wrong?Ā
I am currently using the Front sdk updateDraft function in the updateMode: āreplaceā when I run it with only the subject defined, all attachments on the draft get deleted.Ā await sdk.updateDraft(draftId as Parameters<FrontSdk['updateDraft']>[0], { updateMode: 'replace', subject: subject });This is the current code I am using.
Hello,Ā I need a way to add custom headers into a rule webhook call, in order to call internal routes that need API keys.The solution we found was to provide the API key directly into the path parameters, but that makes it so the key leak internally in our logs. Also,Ā making the route key-less is not an option for us.
Hi everyone, nice to meet you!I have two questions regarding analytics reports:1 Metrics showing 0:When I request a report with:metric_names = ["num_messages_sent", "num_messages_received"]start_dt = datetime(2025, 8, 10, 0, 0, 0)end_dt = datetime(2026, 3, 1, 0, 0, 0)account_id = [account_id]I get:'metrics': [ {'id': 'num_messages_sent', 'type': 'number', 'value': 0}, {'id': 'num_messages_received', 'type': 'number', 'value': 0}]However, when I manually check the contacts and conversations for this account, there are messages sent in that interval. I donāt understand why the report shows 0. Here is my code if it helps:metric_names = ["num_messages_sent", "num_messages_received"]start_dt = datetime(2025, 8, 10, 0, 0, 0)end_dt = datetime(2026, 3, 1, 0, 0, 0)account_ids=['acc_xxxxx']start_ts = int(start_dt.timestamp())end_ts = int(end_dt.timestamp())body = { "start": int(start_ts), "end": int(end_ts), "timezone": "UTC", "filters": { "account_ids":
I am working on a project that requires I pull data from our in house database and run reports from those and send them automatically to the respective managers that requires the report. We run these reports weekly. I would like to use Parabola to run the emails through Front. Is this something anyone has had experience with and have any thoughts on how this worked or didnāt work for you?
Hi Front team šWe haveĀ a plugin which is created using @frontapp/ui-kit, and weāve run into a limitation regarding dark theme support.At the moment, most (if not all) component colors in the UI Kit appear to be hardcoded. Because of this, thereās no straightforward way to support a dark theme in our plugin without overriding the existing component styles.While overriding styles is technically possible, it doesnāt feel like a clean or sustainable solution, especially considering future updates to the UI Kit.Weād like to ask: Are there any plans to introduce official dark theme support in @frontapp/ui-kit? Is there (or will there be) a theming system using design tokens, CSS variables, or similar approaches? What is the recommended best practice for supporting dark mode in Front plugins today?
Hi everyoneWeāre exploring ways to integrate our cloud contact center solution with Front and wanted to see what others here have done. Specifically, we're hoping to streamline agent workflows by syncing conversations, contact data, and possibly call recordings into Front.Has anyone here integrated Front with platforms like:Genesys Cloud WebEx Contact Center Talkdesk Five9
We are really struggling with this.Our goal is to receive a list of āopenā conversations in our personal inbox. This includes direct messages AND a any conversation that we are subscribed to (participant of) both in Shared Inboxes and Teammates Inboxes.However thereās an inherent problem: is:open is not useful whatsoeverā¦Ā Because status: āarchivedā is global, when a user outside of our personal inbox āarchive in my inboxā that status is now status:archivedā¦This means I have to search for status:archived to see basically all my conversations (thousands) and find a way to figure out which ones are actually open in my viewā¦Ā weāve tried /conversations/{id}/followers to see if iām attached to that conversation, looking at conversation eventsā¦Ā but its just not easy. If we had open graph or something maybe that would helpā¦Does anyone know how to deal with this āglobalā archiving issue, I should be able to see what my Front UI shows..
We have API integration with FrontApp for many years using our live account. We need to build an application channel for internal use only that will be used to handle specific type of group messages not currently supported by FrontApp.I already setup the developer app and application feature is installed. The app is verified and the webhook is working when I create messages on FrontApp directly.I am trying to sync an external message back into the channel, but I am getting this errorāOnly partners can access channels. Please see https://dev.frontapp.com/docs/channels-overview for access.āI looked at the documentations and it requires the app to be developed before I can get a partner account, but I canāt develop the app if I canāt sync the messages.Again, this is for internal use only. The reason we are choosing application app instead of custom channels is custom channels canāt "Compose new outbound messages with replies threaded in the same conversation"
Hi allIām looking to save emails (and attachments) from conversations in Front to my software using its API. Iāve created application requests and can send and receive data with them. I can create a new document in my software using a Front macro but the document is empty, because I donāt know what I should use in Front to save theĀ email and attachments too.Hoping for some pointers!Thanks
We are experiencing issues with long automated messages failing to send.There are carriers that take the long messages and carriers that donāt - we want to just retry the ones that fail.Ā I get that I can circumvent this problem by splitting the long message into multiple small messages and send them separately. But since most of the times the messages are delivered, we donāt want to have to split successful messages because of a few unsuccessful ones.After the message is sent, I am using this endpoint to fetch the message again:"https://api2.frontapp.com/messages/{message_id}āWhat I want is to see if it errored or not.Ā The issue is that I am getting the field āError Typeā empty even for failed messages.Anyone has any advice here? How can I get from the API the error status of a message?
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.