Ask technical questions about the Front Platform
Recently active
Hi there! I’ve been tasked with pulling data from a few different inboxes starting from a certain time.I’m trying to use the `q[after]` parameter, but it doesn’t seem to work- it just gets ignored completely. My request is as follows: /inboxes/<inboxid>/conversations?after=1715382074&limit=10&q[after]=1715382074&q[types][]=assigned&q[types][]=unassigned&q[types][]=archived&q[types][]=deleted&sort_by=date&sort_order=ascWhich, more legibly, looks like this:/inboxes/<inboxid>/conversations{ after: 1715382074, limit: 10, sort_by: date, sort_order: asc, q: { after: 1715382074, types: [assigned, unassigned, archived, deleted] },}As you see, the `after` parameter is included in both the top level params and nested under the `q` param. We’ve tried both ways and they are both ignored.Because we’re trying to iterate through this chronologically, we have the `sort` to asc, but that’s causing our earliest conversations to be returned. The tim
Hi! I am trying to re-create metrics for our own reporting in Tableau but I have a hard time with new and archived conversations. I went through the documentation, and timezone differences are excluded as an error too.New conversations: (https://help.front.com/en/articles/2310)I set new_conversation attribute to true (I assume it’s a flag) and excluded conversations without message_idI still get less than in the front overview reportArchived conversation: https://help.front.com/en/articles/2396For this, I couldn’t find a flag, so I wrote a query in Snowflake. If the last ‘type’ is archived or snoozed, then I counted the conversation ID.max_message_date = message_date and type in (‘archived’,’snoozed’)Here, first i used a timestamp but then used a date instead.I can’t match the values, so any help is appreciated. I can’t 100% match the time metrics either; I get slightly less, especially if I add the business hours flag. (But it’s minor compared to the above.)Thank you!
Hi, I’ve built a front sidebar plugin a couple of years ago and I was using the auth_secret to authenticate the users from front to my app, before I was doing something like:export function getInstallationInformation(callback) { callback = once(callback); Front.contextUpdates.subscribe(context => { callback({authSecret: context.preferences.authSecret}); });}Now I’m refactoring the plugin, and I noticed that in the docs it says that the auth_secret is going to be sent in the URL.Does front still support the the context.preferences ?Thank you!
I’m attempting to sync messages by consuming the `events` api. However, what I’m noticing is that in some cases, there is no event for a given inbound message. Is this expected behaviour? For example, here is an events call I’m making:https://myorg.api.frontapp.com/events?q[after]=1706030839&q[types]=message_bounce_error&q[types]=inbound&q[types]=outbound&q[types]=out_reply&q[types]=sending_error&q[types]=forward While there are many inbound message events, I do not get all of them. For example, if I use the conversations/{id}/message endpoint with some conversation IDs, I can see messages received shortly after 1706030839, but there is no corresponding event.
how to Change tags name
I have a question regarding how the frontChatChannel cookie is associated with previous session. Let me describe the weird behavior of Front’s chat bot on our website. See the steps described below. I navigate our webapp’s /login url as a logged out user, then locate frontChatChannel cookie and remove it for the domain. I assume since there’s now no cookie/token, there’s also no association with prior user session, so the Front chat bot won’t recognize my user’s identity. Now, I click the chat’s icon, and observe that there are some options to pick from before getting to the text input. I clicked “Login & Access” option, and saw “How can we help” question with a text area. Observe that no email is being asked. My message was received via Slack notification and Frontapp as well, and I’ve got this auto-generated name: Salmon BoaCan we change this anywhere so the generated names for anonymous users aren’t such as Salmon Boa, Navy Antelope, Coral Alligator, etc? We see these a lot
Hello,When using the Core API to create a new conversation and signature has dynamic variables such as {{user.name}}, it appears that it does not populate with the user name and just sends exactly that text {{user.name}}Is this a bug?If yes do you have some time line then it will be fixed?
I understand that the external ID can be set when creating an account, but I need to update the external ID after the account has been created. The documentation does not mention how to update an external ID. I attempted to patch the update using 'external_id', but this approach was unsuccessful. One possible workaround is to automate the process of deleting the account and recreating it with the correct external ID, although I would prefer to avoid this method.
How can I get the tag id for a tag if I only know the tag name?Other than list all the tags with the API https://dev.frontapp.com/reference/list-tags and then search the tag name one by one, if there is any other way to do this?
Hi! I'm currently working on a use case within my company where we need to list conversations of a specific recipient, sorted by creation date. While the Search conversations endpoint seems promising and returns the created_at field, the conversations aren't sorted accordingly. Is there a way to sort conversations by created_at field in Search conversations endpoint? I'm unable to use the List conversations endpoint due to the need to filter conversations by recipient. Any insights or suggestions would be appreciated. Thank you in advance!
I’m trying to receive incoming messages over a custom channel. I created the custom channel in my Front instance and copied the channel id from the Incoming API Endpoint. In order to test, I added the necessary values on the API docs page and gave it a try:➜ ~ curl --request POST \ --url https://api2.frontapp.com/channels/cha_g65ng/incoming_messages \ --header 'accept: application/json' \ --header 'authorization: Bearer XXXXX' \ --header 'content-type: application/json' \ --data '{ "subject": "Sample Subject", "body": "Sample Body"}'{"_error":{"status":400,"title":"Bad request","message":"Body did not satisfy requirements","details":["body.sender: missing"]}}I tried a couple of modifications hoping to back into a solution, but still the same general error:➜ ~ curl --request POST \ --url https://api2.frontapp.com/channels/cha_g65ng/incoming_messages \ --header 'accept: application/json' \ --header 'authorization: Bearer XXXXX' \ --header 'content-
Hi there!I’m looking for a smart way how to catch-up again with customers later - if they would love to.We frequently get request from customers e.g. where they can buy our products (if out of stock).Out team replies that the given product is currently out of stock but will be available again soon.We would love to give the customer the choice:"If you would like to be notified as soon as the product is available, click this LINK."Kind of RSVP. If the customer clicks the link, Front should somehow add a dedicated TAG to the conversation (or put the customer contact to a list or anything else). Our goal is that we can easily find, follow up and inform those customers later. I can imagine of a lot of similar scenarios for this: feature requests, keep-me-posted on delays, RSVP, etc.How can this be solved best?ThanksPaul
Hi,I have organized my call/voicemail logs into the custom channel and it is showing as expected. i want to associate those logs in respective contacts too. is there a way to organize custom channel message to the contacts object ?
I’m trying to use this Open API json file to generate Java client code to call Front’s API. I’m using maven and the openapi-generator-maven-plugin version 6.2.1.The first time I tried to do this, it failed with this message:-attribute components.schemas.KnowledgeBaseArticleResponse.items is missingI fixed this by adding"items": { "type": "string"},to line 2590.Then I tried again. It failed because the Java code is not valid. There's errors in a number of files, like EventResponseSourceData. Has anyone had success generating Java client code using the above mentioned file?
With the current sandboxing rules if you have a link that opens in a new window (which is allowed) using `target=”_blank”` the window opens but it is restricted to the same sandbox as the original iFrame. Adding `allow-popups-to-escape-sandbox` should allow that new window to break out of the sandbox. This is useful because once you are out of the sidebar iframe allowing confirm and alert pop ups no longer has the risk that they will be confused with popups from the container page. Allowing these as well as downloading etc on the new page would be useful in a number of cases. I understand that you should be able to use the SDK and the `openUrl` function that should function similarly, but depending on the application and use case updating the `target` on urls could be simpler solution. I can add this to the ideas board as well, but this seems like more of a bug or oversight since the sandbox already includes `allow-popups`.
When using the API to POST a new email draft, I receive the following error if the recipient list is longer than 21 addresses:{ "_error": { "status": 400, "title": "Bad request", "message": "Body did not satisfy requirements", "details": [ "body.cc: should be an array" ] }} Does anyone know why this is the case?Thank you.
I want to create rule that trigger when there is a failure to deliver an email. One of those case is when we send an email with attachment heavier than 20Mo.I created those rules, but they don’t trigger when I send an email with an attachment heavier than 20Mo. Any idea why?
Hi,I have created custom channel to route my all call/voicemail/Notes logs from my application (integration application) to front.While setting up channel i got following error and couldn’t even reauthorize(not clickable)Anyone can help me here.
hello community, I have been gone through all possible ways to create call and voicemail logging in front but couldn’t find relevant way, In conversation i couldn’t find comment object. For Other api i couldn’t log my entire data.Is there anyone who can guide me through ? i want to synchronization all the calls and voicemails log to the existing number in front.
We’ve recently implemented an incoming message webhook. We’re able to authenticate and consume the messages with no issues. One thing we’d like our application to do is to update the message (or conversation) in Front so that it appears to have been read, archived, or deleted based on the users settings in our application. We’re currently attempting to do this using the “Update Conversation” endpoint. Here is an example.url: “"https://api2.frontapp.com/conversations/cnv_19jthp3g"body: {"assignee_id":"tea_6a2to","status":"archived"} We’ve also tried this using a body like this:{"assignee_id":"tea_6a2to","inbox_id":"inb_ak1l8","status":"archived","tag_ids":[],"custom_fields":[]} We are using PATCH and getting a response of 204 - NoContent but we are not seeing any changes to the message or conversation in Front. We’re hoping for some direction on what we may be doing wrong. Is there a better approach to updating the message directly instead of the conversation or are we missing some oth
Greetings community, After scrutinizing the each Front Apis in dev documentation, i wonder how to get front user email. As i didn’t found any relevant way to fetch this. Also ho can i get author_id using the OAuth token (access_token)?
Hi folks,I’m new to the Front API and am trying to understand how to use the two conversation date fields created_at and waiting_since. I recently pulled a conversation from Front in which there are four messages sent between 16:53:05 and 17:04:14 on March 28, 2022. As expected, waiting_since is equal to 1648487054, i.e., Mon Mar 28 2022 17:04:14 GMT+0000, which does correspond to the “oldest unreplied message”. But created_at has the value of 1706893362.369 – Fri Feb 02 2024 17:02:42 GMT+0000. That doesn’t make sense to me. Am I missing something? Is there a field that stores the true created_at value, or do we just need to pull the timestamp of the first message? Cheers,Matt
Hi all!We’ve built a sidebar plugin that serves up relevant information to our users about the email that they’re viewing.One of the things we’d like to do is allow them to download documents related to the email.We have an API that we’re reaching out to that returns the file in base-64. We’ve been unable to serve the file up to the user to download as the iframe the plugin is in doesn’t allow popups or downloads.We’ve considered temporarily saving the file to blob storage and then using the openUrl function to access it but that seems like an expensive solution.Any insight would be appreciated!
Hello Front Support. Can anybody answer my Questionhttps://stackoverflow.com/questions/78108047/frontapp-livechat-integration-in-android-webview-not-get-hide-as-per-guide
Hi, when creating a message, sometimes the error type: smpt_conn_error is returned. How can I solve this problem? Is it maybe something we can fix in Inbox settings?
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.