Community topics about Front APIs and SDKs
Recently active
Is there any possibility to fetch the messages (not conversation) which has respond time more than 48 hours (example). The purpose of this to fetch the messages respond which has breached pre-defined SLAs (which in our case is 48 hours). So, what I am thinking is to fetch number of messages sent in a specific time period and then fetch the messages with respond time more than 48 hours. The below code (API Endpoint) can be used to fetch number of messages sent: import requestsurl = "https://api2.frontapp.com/analytics/reports"payload = { "metrics": ["num_messages_sent"] }headers = { "accept": "application/json", "content-type": "application/json", "authorization": "Bearer <Token>"}response = requests.post(url, json=payload, headers=headers)print(response.text) But how can I fetch messages with respond time more than 48 hours ?If there is better approach to perform same task, feel free to mention ?
Hello! I’ve recently ben working through the FCA certification, and I’m excited by all the different aspects of Front that are available. I’m the head of the B2B division of my company, and serve as the admin for our employees who use Front, primarily our sales and customer service teams.I’m wondering if there are any users who already use the same services that I use, and if you’ve figured out any clever context links that I could implement in my system. The most common services we receive communication from are Faire, QuickBooks, Asana, Shopify, and Dialpad Voice. If anyone has developed custom fields or context links for these services, I’d love to hear about it.Thanks in advance!
Paginating over the events API is broken:I’m using the “list events” API. My first request is to https://api2.frontapp.com/events The response contains some events + _pagination.next = https://relayapp.api.frontapp.com/events?page_token=Token_1 When I use the next page URL, I get the following response: The exact same events as in my first request (I was expecting the next batch of events) As _pagination.next, I receive the exact same URL I’ve just requested (with page_token=Token_1) This makes this API unusable, since I don’t have a way to paginate and iterate over events.Note:This happens both with and without a query. So it can’t be a query issue on my side. Also this only happens in /events, but pagination works as expected for any other API (e.g. conversations). However, only /events is jumping from the api2.frontapp.com domain to my app-specific domain in pagination, so might be related to that?Is there a known bug on your side?Thanks!Luis.
I’d like to use the Core API to generate draft messages. In the docs, I notice that there are examples for use in JavaScript (including fetch and XHR APIs). When I tested this code in the browser console, the request was rejected due to cross-origin headers (specifically the requesting origin was not allowed by Access-Control-Allowed-Origins). Is calling the API from the browser supported? And if so, how would I go about configuring CORS headers?Thanks!
Instead of calling Webhook URL without any authentication , can Front consume an API with Basic Authentication and send the Event payload real-time rule based ?
Do you have recommendations on how one would integrate the following: CRM Phone System Any advice here would be greatly appreciated!
Hi all, I would love to get some advice on this requirement,When a Front conversation is tagged with a specific tag, I want to be able to fetch some information in my CRM and depending on the results, I want to choose if the link should be added or not.My initial idea was to do as following : The specific tag is added to the conversation A rule is triggered to add a comment with a specific format A Dynamic object (former context links) rule will be triggered based on the matching text in the comments A specific information is fetched from ou CRM Depending on the results, I choose to add the link or not (or alternatively I update a conversation custom field which will trigger a new rule...)It seems to me that we can’t add any conditions logic inside the dynamic object setup, would anyone have a workaround idea ?I also tried to update a conversation custom field from a dynamic object fetch information result, but again, this doesn’t seem possible
Hi guys, I am trying to fetch the average reply time between the dates Oct 29, 2023 and Nov 4, 2023 via API. I am using this Analytics API Endpoint “"https://api2.frontapp.com/analytics/reports"” to fetch the data point i.e. 4 h and 56 m (can be seen in the below attached image as well). I am using below python code to fetch data: import requestsimport time url = "https://api2.frontapp.com/analytics/reports" payload = {"filters": { "inbox_ids": ["<inbox ID>"]},"start": 1698519600000 / 1000,"end": 1699124399999 / 1000,"metrics": ["avg_response_time"] # 29 Oct to 4 Nov 2023 | 18963.617021276597 Seconds | 5 hrs 16 mins | On front => 4 hrs 56 mins}headers = {"accept": "application/json","content-type": "application/json","authorization": "Bearer <Token>"} response = requests.post(url, json=payload, headers=headers)print("Process Initiating")time.sleep(5)print("avg_response_time")print(response.json()) Upon response of above code I am getting “18963.617021276597” seconds metr
I put together a screencast showing how you can build a Dynamic Object (with no-code) which can fetch order data from your Shopify account. It was built from scratch in ~10 minutes. Let me know what you think!
My company currently uses Front to sort messaging and work flow on the front end but we’re looking to potentially leverage more of the functionality moving forward. I’ve been looking to at least utilize Dynamic Objects to make linking our incoming messages to our TMS tickets but am also looking at setting up an API integration to utilize read/write functionality from Front, similar to a couple of the examples in the “flow-and-tell” section. I’m curious if anyone has any insight into some variables that helped you decide that it was worth it to go beyond the basic Dynamic Objects and create a full blown integration.For example did you wait until a certain percentage of your total company as using front?Did you wait until you had enough data about how much more efficient Dynamic Objects made your teammates’ workflow?How much time did it take you to set up the full integration along with how many different commands with your TMS or similar software are you utilizing?
We are excited to announce the release of sample code that demonstrates how to augment dynamic objects with information fetched from a server or API. The code also demonstrates how to verify that requests to the server are coming from Front. We hope this code is useful and results in more powerful dynamic object use cases for customers!
The Fetch an analytics export endpoint now enforces a maximum of 5,120,000 events or messages within a single export. If your export exceeds this number, the API will return a response with the status parameter set to too_big. To address this scenario, reduce the time period of the export and fetch it again.
I would like to know if I can have front to authenticate a user against a front plugin. The plugin does receive an auth_secret but it is a global value and can easily be traced in the http inspector.Is there an option to have an auth_secret per user that only that user can see?How secure is the `tea_XXXX` id I can find in `context.teammate.id`. I think that these don’t seem to be not visible / guessable on the front end?Basically, how sure can I be that in the context that my plugin receives, the teammate is actually the currently logged in front teammate and that the context has not been tampered with? Thanks,Tilmann
Between Sunday 2023-11-19 0800 UTC and Sunday 2023-11-19 0900 UTC, customers in our us-west-1 data center region may experience an interruption to loading conversations, loading conversation lists, and reopening conversations from an integration. This is due to planned maintenance work required on a core database service. What is the impact?During the window, the conversations viewing experience will be degraded or unavailable. The display of new messages, counter updates of all workspaces, and some asynchronous conversation mass-actions will be delayed. Developers trying to use the API via integrations may receive a 503 "service unavailable" error in their list conversations responses during the interruption. This should be resolved once the maintenance is complete. Why are we doing this?One of our core database clusters needs to be restarted during the maintenance window while we perform an important security upgrade. We are doing this type of work during off-hours to minimize disrup
Based on rules and also the option to, for example, return the conversation stages as a 'tag' so that they are also visible, or as a view in Front.
I'm working on an integration project. In the initial phase of this integration, I aim to create a web application with a webhook feature. This allows clients to integrate the application into their front-end. When specific events occur, the requests will be forwarded to the application configured in the webhook.I'm seeking a method to distinguish which client is sending the request. Specifically, I'm exploring the possibility of configuring multiple API keys or OAuth tokens (one for each client) that can be included in the request payload.
Currently I’m adding webhook via Rules.I wanted to handle permanent deletion of conversation as well as merging conversations.However I don’t see any trigger in rules for merging.And after adding trigger “Conversation is deleted” it seems that event is not coming.Am I doing something wrong?
Between Sunday 2023-11-12 0200 UTC and Sunday 2023-11-12 0300 UTC, customers in our eu-west-1 data center region may experience an interruption to loading conversations, loading conversation lists, and reopening conversations from an integration. This is due to planned maintenance work required on a core database service. What is the impact?During the window, the conversations viewing experience will be degraded or unavailable. The display of new messages, counter updates of all workspaces, and some asynchronous conversation mass-actions will be delayed. Developers trying to use the API via integrations may receive a 503 "service unavailable" error in their list conversations responses during the interruption. This should be resolved once the maintenance is complete. Why are we doing this?One of our core database clusters needs to be restarted during the maintenance window while we perform an important security upgrade. We are doing this type of work during off-hours to minimize disrup
We now offer a sample application that demonstrates how to export conversations and messages from Front! The application demonstrates: Listing all inboxes Searching for conversations Applying filters to the conversation search Handling pagination of results from the Core API Export all conversations with messages and attachments included Applying rate limit handlers Check out the application and GitHub source code on our Developer Portal.
Are you guys considering an integration with Playvox? They are the Work force management partners for dialpad. https://www.playvox.com/integrations/
My organization receives communication in multiple forms , Email / voicemail etc . I was wondering if there was any way to combine or flag communications coming from the same person even if the message itself is not exactly the same?
Can't download my FCA cert, website is buggy, the overlay on the academy site prevents downloading and sharing:
Is it possible to build User to User chat with Front? Or is it only for customer support?
Regularly when typing compound words like doesnt and couldnt I leave out the apostrophe. When I’m reviewing my email before sending, it is underlined in red. In most applications, when I right click, it offers the most likely suggestion. In front’s case, it does not. It suggested “couldn’t’ve” and did not suggest “couldn’t”. Not sure what spellcheck API y’all are using or if it’s something y’all developed, but the suggestions are not ideal. While typing this I accidentally typed “msot” instead of “most” and it did not offer “most” as a suggestion. My suggestion is to update the spellcheck suggestions.
Hello,We are moving Front messages to our data warehouse using FiveTran, we are experiencing error while fetching the data via API. I initially contacted FiveTran, but they told me the error is coming from Front side and contact you guys. Below is the error message. {"_error": {"message": "Plan exceeded.","status": 403,"title": "Forbidden","type": "resource_unavailable"}}
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.