Community topics about Front APIs and SDKs
Recently active
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?
Dynamic objects are now integrated with rules. This means that you can use Front’s powerful rule system to customize when and how dynamic objects apply to your workflows. IMPORTANTRules have been auto-generated for all existing dynamic object configurations. These auto-generated rules have been named Create dynamic objects. While you are welcome to edit these rules, please note that disabling or deleting these rules will stop the associated dynamic objects from working. Where to manage dynamic object rulesYou can manage existing dynamic object rules from Settings > Company name / Workspace name > Rules. As noted in the above callout, dynamic objects that you created prior to March 12th, 2024 will have auto-generated rules named Create dynamic objects associated with them, but the rules you create from this point forth will be named whatever you choose to name them. If you create a dynamic object for the first time and no rule has been created before, the “Dynamic object config
I installed Front Chat on my website today, which is great so far, except that it’s exceptionally noisy in the developer console. It announces itself, it announces it’s using something called bugsnap, it spews out a load of SameSite and Partitioned cookie warnings, a few debugging messages from Ably, tells me about “frontChatChannelToken”.All of this makes real warnings a lot harder to see. What’s going on here? Can I switch off the non-cookie debug messages at all? Is there a “I’m in Production, WTF” flag I can switch on?
Hello, We have an active integration for pushing messages into Front and we are trying to wrap up a webhook to receive incoming messages from Front. We have a few questions. 1. The Authorization.Id that is coming through in the request doesn't mean anything to us at the moment. It’s not clear how this is created or where it comes from. We did see; however, that the Payload.Conversation.Assignee.Id is the same value we are already storing on our side when setting up the Integration to send messages. This looks like an easy way for us to identify who the message is for. Will this value always be populated when we're getting messages in the webhook or is it possible to get a message without an Assignee? 2. The attachment object in the payload does not contain any byte or steam data but it does have a URL. When we go to this URL we get an unauthorized response. Is there another API endpoint we should be using to access Front Attachments we receive in the Incoming Message payload? 3. Part o
Hello,We are currently building an integration with Front that will utilize Webhooks. In the “Verifying Integrity” portion of the setup on step 4 it states to “Apply the hmac SHA256 algorithm using the token provided during webhook configuration as the key [output in base 64].”Where do we get this token? The basic information tab only lists the App UID and App Secret while the OAuth tab only lists the Client ID and Client Secret. Are one of these to be used as the token or does it come from somewhere else.Second, it also says to use the raw request body. I was hoping to confirm what the expected value of the raw request body should look like. "{\"type\": \"sync\",\"authorization\": {\"id\": \"cmp_abc\"}}”or {\u0022type\u0022: \u0022sync\u0022,\u0022authorization\u0022: {\u0022id\u0022: \u0022cmp_abc\u0022}} Thanks!
You can now sort messages returned by the List conversation messages endpoint by their creation date.The endpoint now includes the query parameters sort_by and sort_order. Set sort_by to created_at, and then specify whether you want the sort_order to return messages as asc (oldest first) or desc (newest first) results.
Is there a way to automatically extract addresses (e.g. from signatures) for Accounts In Front? Rght now we do this by hand but its cumbersome. Thinking about extracting this via Chatgpt as a JSON and write it to the Account automatically…. Any ideas?
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.