Community topics about Front APIs and SDKs
Recently active
I’ve got an Inbox, with the Twilio-WhatsApp channel defined. In Twilio, I want to have it configured to call a webhook when a message arrives. The format of the webhook is https://webhook.frontapp.com/sms/<something>. My question is: where does the URL come from?
Hi,I know you have the Update conversation API endpoint for moving a conversation to another inbox but is there some way to move messages to another folder in the same inbox? Thanks!Raul Gonzalez
I want to know for sure that email was delivered, if so I consider it as successful send, no action required if not I need to do some stuff.How can I check that email was not delivered through API
Hi there, When sending a message to a custom channel via the API (https://api2.frontapp.com/channels/{channel_id}/incoming_messages), is it possible to set an email address that should be replied to for when a user in Front tries to reply? Or, is there a better way of sending messages to Front as if they were an email? My use case is a customer filling in a form on our website, which triggers sends a message to front (currently a custom channel) - our team will then action the request & reply to the message, which I'm expecting to be delivered via email to the initial customer.
Building a plugin using the plugin SDK and now I need to use the Core API to create a comment on a ticket. Instead of handling API Tokens or going through the OAuth dance, is it possible to just get an appropriate token from the Plugin SDK to use for Core API requests?
Hello, How can I import a message into an existing conversation using the API ? We are trying to make a chat-like interface with which our client will send mail that should be imported through the FrontAPI Thanks, Best regards,Anthony
Sharing a quick snippet of how to build a Front Application Webhook handler in Make.com. This differs a little from handling a simple webhook call from a Front rule, as you need to perform a setup step and have your webhook respond to a challenge sent by Front’s webhook server. To start, head to Make.com and create a new Scenario with a Webhooks (Custom webhook) trigger. Click the Create a webhook button, and open up the advanced settings. Be sure to enable Get request headers; these are required in the next step. Hit Save. Creating a Webhook trigger in Make.com Next, we can add a Flow Control > Router step. We’ll use this to branch into two different paths, depending on whether this is the initial setup challenge webhook call, or receiving regular webhook updates.For our challenge path, we’ll configure a filter that looks like this:Make.com Router, filtering on request headersWhat this does is access the HTTP headers of the webhook request, and extracts the one header with the name
Can you elaborate on the logic used to determine the recipient list (To, CC, BCC) of a new message in an existing conversation? Also, is there an API endpoint to retrieve this list of recipients? Currently we are retrieving the last message in the conversation, but that does not always include everyone who has been involved in the conversation.
We have a custom channel. In that channel there are conversations, threaded by a custom hash (all messages in the conversation have the same `thread_ref` in metadata). Typical conversation has 3 participants:a team member a user a bot, whose messages are imported using https://dev.frontapp.com/reference/post_channels-channel-id-incoming-messages I have a conversation ID, and based on that I need to get all conversation participants.https://dev.frontapp.com/reference/get-conversation-by-id -- get the teammate and one of the other participants (based on the most recent message) https://dev.frontapp.com/reference/get_conversations-conversation-id-followers -- only gets the team memberHow do I get all the participants?
We’ve developed a side bar web app using your plugin and is working well in an account hosted in EEA. We want to use the same app based on your plugin to be used in an account hosted in US and used in Canada. Is there any change we need to take care of? Will it work without any change?
Are API tokens and webhook secrets created at the org level or tied to a specific account? For example, if I leave the company and my Front account is deactivated, will the API tokens and secrets that I’ve created still be active and valid?
With help from AI, I have managed to create this python script with the intention to be able to import a txt file containing a list of email addresses and append those emails to a newly created group (list). Here’s how it runs:The user is asked to input the name of the input file. e.g. test.txt. The file contains a list of emails, one email per line The script lists the existing Groups in frontapp and asks the user for the name of the New Group. If the users picks an existing name, the user is asked to choose another name. After the user chooses a name for the new group, the script runs a check to see if the emails exist in Frontapp. If it doesn’t exist, it creates a new contact giving it the name “New Contact”. The script should then append the existing and new contacts into the New GroupStep four is what I have a problem with. The script does everything, but for some reason, it is failing to append any existing contacts to the New Group. For new contacts however, it works fin
Is there an API endpoint for Conversation/Message opened.This datetime is referenced in the Analytics Report for Handle Time.
Sharing a quick snippet showing how you can install Front Chat as a React component. This example was specifically tested using Next.js 13 with the /app directory.First, create a FrontChat component. We’re using the Next Script component.Have the onLoad prop call an ‘init’ function for our widget, which just runs the content of the chat JS snippet provided in your Chat channel settings.// @/components/front-chat.tsx"use client";import Script from "next/script";export function FrontChat() { return ( <Script id="front-chat-script" src="https://chat-assets.frontapp.com/v1/chat.bundle.js" onLoad={initFrontChat} ></Script> );}function initFrontChat() { //@ts-expect-error window.FrontChat("init", { chatId: "YOUR_FRONT_CHAT_ID", useDefaultLauncher: true, });}(If anyone can tell me how to get rid of the TS error on window.FrontChat, I’d love to hear it!)To use the FrontChat component, it’s probably best to insert it into your layout.tsx, just before
Hey everyone, I’ve been trying to use Front API to list deleted conversations from a specific inbox (to be more specific, conversations within inbox spam, which mean they were already deleted on Gmail when brought to Front). When I (manually) copy a conversation id from the inbox spam and use the Get Conversation endpoint, it does bring me the conversation and its status show “deleted”. However, when I use the List inbox conversations endpoint it does not bring me any deleted conversation, even when passing the query parameter (q=deleted) as suggested in Front documentation. I have tried the Search conversations endpoint as well, as suggested in this post, but still without success. Can anyone help me please? Also, both conversations moved to Trash in front and conversations which were already deleted on Gmail when brought to Front (becoming Spam in Front) have the “deleted” status, is there no way to differentiate them? Thank you :)
Developers can now build composer plugins! Previously, plugins could only be embedded within the right sidebar in Front, but it’s now possible for developers to build plugins that embed themselves in the composer instead, similar to how our existing integrations work with Google Drive or Dropbox. Users access composer plugins by clicking the icon for the app directly from the composer toolbar. Our developer community has long requested composer plugins as an entry point, so we’re happy to say that we heard you loud and clear. Composer plugins should provide a more intuitive user experience for certain types of plugins that didn’t work well within the sidebar and are much more natural fits for the composer, such as smart drafting, file-sharing, and email encryption use cases. Learn more about composer plugins by reading the docs:Overview of composer plugins versus sidebar plugins Reference topic for the context available to composer plugins (composer plugins expose a new context, messag
Hello, Is it possible to search an account with the account name (or any custom field) instead of the account ID in the Front API ?Thanks,Best regards,Anthony
How To Integrate Front Api with Asp.net Core 6 and Azure
HI I am trying to sending mail with attachment throw API but getting some error so please help me
Is there a query that can be passed into the list conversations and/or search end point to exclude conversations (eventually messages) that are is_private?
We used the “Create Draft Reply” https://dev.frontapp.com/reference/post_conversations-conversation-id-draftsIn the API, it requires a channel_id which is only optional when we simply reply the conversation https://dev.frontapp.com/reference/post_conversations-conversation-id-messages Where should I get the channel_id? I want to make sure the channel_id is the same as the inbound message that I creating draft for. I looked through both the conversation and message entity, there is no channel_id.
HelloI am trying to create a conversation with an attachment via API https://api2.frontapp.com/channels/cha_123/incoming_messagesCurrently, I am receiving new messages but without attachments.My code looks like this: {"to": [ "jkkyal@gmails.io" ], "options": { "archive": false, "tag_ids": [ "tag_3d08eq" ] }, "sender": { "handle": "test3masil" }, "body_format": "markdown", "subject": "Send Mail upload RX13", "body": "This is an SMS message with an attached photo of a cat", "metadata": { "headers": { "Content-Type": "multipart/form-data" } }, "attachments": [ "data:image/png;name=cbimage.png;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8 ]}
HelloI am trying to create a conversation with tags but getting response is_inbound : false not get any message please help regarding this issue solved check below { "_links": { "self": "https://abcd.api.frontapp.com/messages/msg_1mabcd", "related": { "conversation": "https://abcd.api.frontapp.com/conversations/cnv_abcd", "message_seen": "https://abcd.api.frontapp.com/messages/msg_abcd/seen" } }, "id": "msg_1m5lzwnm", "type": "custom", "is_inbound": false, "created_at": 1681814409.457, "blurb": "", "body": "This is an SMS message with an attached photo of a cat", "text": "This is an SMS message with an attached photo of a cat", "error_type": null, "version": "b43db466d7f0c5dabcd6bd9c2cf0-7291346-1681814409457-7fc4", "subject": "", "draft_mode": "private", "metadata": { "headers": { "in_reply_to": null } }, "author": null, "recipients": [ { "_links"
post man api test content download timeas the illustration above? how can i impove the speed of http response download time ?
It has been a bit of a painpoint for us for a long time that rules cannot be built to somehow react values which are within attachments (IF attachment contains {customer.id} THEN add tag {random tag} etc).It’s really often that the critical data is there, in that .xlsx or .pdf file and this situation come in almost hourly basis nowdays.And I mean, technically it should be possible since search in Front does also show values/results which are within attachments.Since building rules is not possible (yet, hopefully), I’d be happy to build this kind of functionality to our own plugin myself, if there would be a way to do it somehow. It seems that SDK doesn’t have this, so are there any other ways?
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.