Community topics about Front APIs and SDKs
Recently active
Hey my goal is to save the attachment in the inbound message and save it in my google drive.When I am using the link “https://api2.frontapp.com/download/fil_2lrutl53”, it’s giving error: {"_error":{"status":401,"title":"Unauthenticated","message":"JSON Web Token error"}}To solve this I am using this API endpoint:https://dev.frontapp.com/reference/download-attachment I am getting below response: Is there anything I am doing incorrectly. Also if there is any other alternate approach to achieve my goal please do let me know. Thanks
I am encountering an issue while testing Webhook integration. Despite following the related documentation, I am unable to successfully create a webhook.To facilitate local testing, I am using ngrok. I have set up a path to receive payloads from the webhook and configured it to return the x_front_challenge, 200, {"Content-Type": "text/plain"} as suggested in the documentation. However, I still receive a "Webhook verification failed" error.Here is the relevant portion of my code:I am not encountering any errors within the function itself, so I suspect the issue may be related to the return statement. Any assistance in resolving this would be greatly appreciated.(I am working on Odoo/Python btw)Thank you.
Hello there, I’m not sure if the exposed API has a route that triggers the typing indicator animation seen when typing a messaging in the Chat UI. I’ve seen requests made to `precog/continue/message` that trigger the rendering of the indicator, but I’m not 100% sure. Would love to know if anyone has run into this and how you’ve worked around it. Thanks!
Hello there!Is there any other solution, except for Rules, to update contact custom fields after Form* submission? I need to pass the form’s Extra Fields values to a contact. * - https://help.front.com/en/articles/2024
When we get a new email with an account we have never seen before and then create the account using the API, why are the contacts not automatically added to this account? We thought that front would sync these automatically based on the email domain? I can see that the account is created and when I select “New Account” I can see the account we created via the API but the contact is not synced. Then in other cases it sometimes works...
Trying to upsert a front account using the sdk. Its (like most of the API I have to say extremely cumbersome). This is my code snippet: async function upsertFrontAccount(validatedAddress: any): Promise<any> {try {return await sdk.createAccount({name: validatedAddress.company || "Unknown Company",domains: [validatedAddress.emailDomain],custom_fields: {Adresse: validatedAddress.address,PLZ: validatedAddress.zip,Stadt: validatedAddress.city,Land: validatedAddress.country || "Germany",Umsatzsteuernummer: validatedAddress.vatId,Website: validatedAddress.url,},});} catch (error) {console.log("ERROR ON UPDATE", error.res);if (error.status === 409) {try {await sdk.updateAccount({account_id: `alt:domain:${validatedAddress.emailDomain}`,},{name: validatedAddress.company || "Unknown Company",domains: [validatedAddress.emailDomain],custom_fields: {Adresse: validatedAddress.address,PLZ: validatedAddress.zip,Stadt: validatedAddress.city,Land: validatedAddress.country || "Germany",Umsatzsteuern
I think it would be a marvelous idea to Integrate a google transaltor plugin into Front. Who else agrees?
Hello, we’d like to learn when the best time is to send emails to various people that we’ve communicated with before. Does anyone have tips or scripts on how to do that?All I can think of is to do the following; any other suggestions?Search for all messages for each email address Iterate through each message: “Get message seen status” (which seems to show only the first seen - not sure if there’s any way to see every time it was seen?) Get the message created_at (date at which the message as been sent or received) Compare “seen” and “created_at” to address Apple mail and similar proxy views (i.e. “seen” within 1 minute of open) Disregard or weigh those lower. Then finally process all that info to somehow figure out the best send time by somehow weighting “first seen” in relation to day/time and frequency across all messages with a person. Not sure best way to “math that out” so to speak? Does that sound about right or is there any better way to do it, or somehow involve AI if
As an admin, can I connect O365 email channels (private inboxes, shared inboxes, and distro lists alike) to Front programmatically through the API without touching the Front UI at all?Use case: a customer is migrating from Gmail to Outlook and making a domain change to all their email addresses, and they’re looking for the best way to reconnect all these channels to Front. If it’s not possible to do this programmatically, will they have to re-connect each channel by hand?
Hey everyone! I'm currently searching for a developer who can assist me in integrating Airable with Front. Any leads or recommendations would be greatly appreciated. Thanks in advance! 🙏
If i want to tag or archive conversations that happened in the past, I would like to be able to trigger a rule manually that can do that.
Hello Team, We are currently implementing the OAuth flow in our application to support multiple Front users. Our application uses a common redirect URL to receive the OAuth token after the user grants permission. However, we are facing a challenge in identifying to which user's request the token was sent. Could you please advise on how to correctly identify the user associated with each token received through the common redirect URL?Thank you for your assistance. Regards,Karthik Vishwambarkvishwambar@amgine.ai
Hello,I am looking to perform a migration between Front and HubSpot, and I am trying to retrieve the attachments from a conversation. I have not been able to find the ID of the attachments in order to then make a GET request and download them.Here is the endpoint provide by front to download attachment : https://dev.frontapp.com/reference/download-attachment Could someone provide me with information on this?Best regards
Hey everyone! After a user approves Front for OAuth with our app, is there a way to get:The individual user ID who actually did the OAuth? Access to the individual inbox itself?Thank you!
‘A future update to Front's OAuth implementation will allow you to specify the permissions scopes that you need’I need scope in OAuth token to get private resourcesCan you confirm how to add scope for private in OAuth
Hello, I need to write a script that will download attachments (specifically Excel spreadsheets) from Front shared inboxes. I have the API key/ InboxID however AI isn’t much help on the actual process of it. If anyone could point me to some resources I would appreciate it, thank you.
Highway Integration Enhancements: New "spoof warning" workflow and cleaner dynamic object variables If you had configured the Highway dynamic object configuration per our tutorial prior to May 31st, 2024, then the configuration contained errors that could lead to false positives for the fraud use case described in the tutorial. It also did not include the spoof warning property from the Highway API. Our tutorial now reflects the correct setup, and we’ve created a migration guide to make it easier to know exactly what changes to make (limited only to the fraud use case). When you complete the changes, your dynamic objects will look like: Let us know if there are any questions!
Hello everyone,We are planning to create custom fields for both contacts and dynamic objects and import data through API to get the most up to date data in Front. So far so good. Now we were wondering if it’s possible to send data back as well. So let's say a certain custom field is manually adjusted/updated in Front, is there a way to send that updated data back? We had hoped to use the webhooks for that but it seems like the events for webhooks do not include events for that purpose.Also, I believe that until a few weeks ago there was the possibility to use webhooks in rules? I don't see that option anymore. Can anyone confirm or am I mixing things up?
I recently got an error calling the `messages` api but the error was truncated. Is there a place I can see the full error? [2024-05-27 22:35:20] production.ERROR: HTTP request returned status code 400:{"_error":{"status":400,"title":"Bad request","message":"Body did not satisfy requirements","details":["body.to: should (truncated...) {"exception":"[object] (Illuminate\\Http\\Client\\RequestException(code: 400): HTTP request returned status code 400:{\"_error\":{\"status\":400,\"title\":\"Bad request\",\"message\":\"Body did not satisfy requirements\",\"details\":[\"body.to: should (truncated...)
Hi all,I can’t see, inside the API Reference, a way to list messages based on specific criteria such as from/to adresses, dates, or even a Conversation IDIt seems Events could be used for this intent but I can’t find a way to filter the events I list based on the type = message (seems type can’t be used as query filter ‘q’)…Is there any way you can think of to identify whether or not, a message has been received:Within 24hours From a specific email address Containing a specific keyword inside the subject or body oThanks you so much for your help guys !Cheers,Sacha
Hi all,I’m building an API integration that requires data from the “quotes” in comments. I’m not sure if that’s the right Front technical term for them. The visual objects in comments that are created when you highlight text in a message and click “comment”. This:I need to be able access the text of the quote (e.g. “We’ll pass...”), and get a reference to the message the quote is from and it’s sender (e.g. “Su ____”, and their email, etc.). I’ve looked pretty extensively at what’s included in the response to the "Get comment" endpoint, and what’s linked to from there, as well as perusing the other API endpoints. As far as I can tell, these “quotes” are not represented in the API at all. Even the `body` of the comment object doesn’t include anything about the quote, it just says “#crm Testing adding notes to the CRM, please ignore!”.Is it the case that quotes aren’t represented in the API? Is there any way I can access this data programmaticly?Thanks in advance!James
I think the developer documentation under your “Guides” section needs to include a page on how to link to messages and conversations in the Front web app.I went to the high level “Guides” section hoping to find information on this, and couldn’t, so had to turn to Google and found two related conversations in these forums from other users who had the same question:In both instances, there were confusing responses from the Front team that the links returned from the API under the _links property could be used to link to the Front app, however this is not the case. You need to construct the URL yourself with https://app.frontapp.com/open/{message_or_convseration_id}Here is the relevant API Reference pages for conversations and messages: https://dev.frontapp.com/reference/conversations#opening-a-conversation-in-fronthttps://dev.frontapp.com/reference/messages#opening-a-message-in-frontI think there could be either a new page under Guides / Fundamentals that discusses this, or at least addi
Hi there, Is it possible to get a list of contacts by a custom field value? I’ve got a scenario where I need to apply some updates to contacts based on an account number, which we stamp on the contacts as a custom field. In our internal systems we have no idea which contacts in Front are linked with which account numbers as our internal systems allow a contact to exist against multiple accounts/branches, in Front however the contacts are stamped with a single account number, which users can edit in Front.
Good Morning all, I have been developing performance metrics based off the analytics exports for activity, and have encountered a use case I wish to accommodate. I want to know the amount of time between a snooze expiring and action being taken on a case. the activity dataset currently holds when a snooze was initiated, but as neither the expiry date/time or length of snooze. Is data on snooze expiry/length stored elsewhere? I’d appreciate any assistance on this, Chris.
On September 1st 2024, we will be introducing E.164 phone number normalization to the Front API to address issues caused by inconsistent phone number handles attached to contacts. Phone number handles for contacts in Front can be created via the API, the Front contacts manager, incoming messages in channels, CRM contact syncs, and CSV import of contacts. With so many different ways of creating contacts and storing phone numbers for those contacts, it’s important to normalize the data because the different input formats can lead to duplicate contacts and related search issues. To prepare for this change, make sure your API requests (including those made through the Zapier integration) are sending valid phone numbers with the country code included. Country codes must be preceded by a plus (+) sign. Read the “Potential impacts” section below for details.If you experience any issues with phone number normalization, reach out to us and we can roll the feature back for your company instance
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.