Community topics about Front APIs and SDKs
Recently active
I’d like to send more data to the custom channel endpoint, like sending more customer data, sending a tag, etc. The endpoint seems like it only receives messageshttps://dev.frontapp.com/reference/post_channels-channel-id-incoming-messages I assume I can make additional calls after the conversation exists to perform actions like adding tags, and that I can hit the Contact API endpoints to create/modify the Contact record.However, I’m hunting through the docs and I can’t find where I can get a contact_id from the message_uid that is returned when I create the message in the custom channel. I can of course create a contact before calling the custom message endpoint, but that fails if the contact exists already, which, maybe that is fine. Ideally the system can send the message, and then I can just grab the contact_id of the contact on that message, and add meta-info after the fact. I can’t even find an endpoint to grab a contact ID by handle, that’s the other strategy to avoid a 429 failu
We're working with a third party company on an integration with our data in Front, and we're hoping to get some support on pagination through the Events API. I am trying hit the list events endpoint. I am able to make the first request successfully.In the response, I see"_pagination": { "next": "https://api.frontapp.com/events?q=after:2022-08-11T16:05:03.088883Z&page_token=XXX..." }However, when I make the request with this link, I run into the following 400 response with this message"status":400,"title":"Bad request","message":"Query parameter page_token is invalid." I was hoping you might have some insight here?
I need a little direction with something I’m struggling with. One of my teammates previously wrote a webhook that triggered whenever an email was received. This works regardless of if the user opens the email.I’m looking for a way to limit the amount of times the function executes so instead I’m trying to build functionality that will on a button click within the plugin, select some emails starting at the newest in the current email inbox and run a function on each of them.Any chance someone can point me in the right direction?Thanks!
Please advise where I can find the developer environment within my front connection.
Hi, We recently adopted Front for our Sales Team but the CRM we use, Copper, does not have a native integration. I was told that we could use Zapier to create connections between the two systems but unfortunately, it appears that most of the functionality exists only in shared or team inboxes. Upon exploring further, there does seem to be an available API connection via Webhooks by Zapier. Can you help shed light on this?
Hello,What determines which conversations/messages a user can get through an API endpoint using a Front token they made?One of our clients provided us with a Front token with the scopes "Shared Resources", "Private Resources", and "Provisioning" enabled, and our plugin would use that token to make API calls on the conversations they select from their inboxes. This client also has a starter plan and works from private inboxes.Currently, this client is facing an issue where our plugin is unable to read conversations from their private inboxes, and I'm not sure what could be causing that.When I make a GET request to https://api2.frontapp.com/conversations/cnv_X, I get the follow response body:{ "_error": { "status": 403, "title": "Forbidden", "message": "This agent is not allowed to read the \"conversation\" with ID: \"X\"" }}Is there anything we could do on our end to fix this issue, or is this primarily caused by our client's Front account?
How can I add a tag to a message that was created via the Receive custom messages endpoint? https://dev.frontapp.com/reference/post_channels-channel-id-incoming-messages There's documentation for how to attach a tag to a Conversation but my understanding is that these two are different primitives. See here:https://dev.frontapp.com/reference/post_conversations-conversation-id-tags
We're working with webhooks at the moment, and I'm trying to understand the data that I receive. What is the target? What is the source? What are all the values that each property can take? I'm not sure where to look for this in your documentation.
I am currently trying to use the createDraft context API using the SDK (found here: https://dev.frontapp.com/reference/createdraft) My code is below but the draft just doesn’t include the attachment. The draft is successful otherwise.const createDraft1 = await.Front.createDraft({ to: ['acme@example.com'], subject: "Your invoice for the order: ", attachments: ['./X.pdf', 'path/X.pdf'], content: { body: 'Invoice attached.', type: 'text' }});
Hello,We are progressing on the synchronization of the Analytics part, over the last 30 days, for accounts. For this, as seen together, we use the /reports routes in GET then PUT.We are facing several problems. The limit is not 200 calls per minute for these routes but 200 + a 1 second delay between each. We need 2 requests: GET then PUT. That is 4 seconds for 2 requests for an analysis request. First limit. Second limit, in order to collect information from the last 30 days, or even more, we need a significant delay: around 20 hours. However, it seems that our "massive" requests, by internal choice, trigger this error:Could not resolve host: api2.frontapp.com.Are we, suddenly, considered as "spammers" and therefore blocked after a number of requests? In this case how should we proceed if we want to refine our filters and "consume" requests.Thanks in advance.
Our operations team would like to take advantage of Events data and I’m working on interpreting the API documentation.The documentation says: Lists all the detailed events which occured (sic) in the inboxes of the company ordered in reverse chronological order (newest first).But we are given the following query param:q stringSearch query object with optional properties before, after, or types. before and after should be a timestamp in seconds with up to 3 decimal places. types should be a list of event types. I did some digging and discovered how the Search Query Object is defined, kind of. Looks like we can search using the before: and after: available here, but this appears to only index on conversations created_at, created before/after the supplied parameter. Given that this is an event endpoint, I find this behavior confusing. Surely multiple events can occur after a conversation is created. Is the proposed way of interacting with this endpoint to:1. run a backfill, or at least for
Hi there, I'm building a mechanism to export all of the data we have for a client and I need to include emails in that export. I can get a list of relevant message IDs from our applications database and now I just need to retrieve the original, raw, form of that email from your API (the same as saving the text in "View source" on a message). I've had a brief look at your API docs but didn't spot an option for this (without having to synthesise it)! Can you point me to how I can go about doing this? Many thanks
We've released an update that wraps the Front Chat widget in an iframe. This backend update is expected to greatly improve the Front Chat widget’s integration with your website by reducing log, error, and dependency contamination.
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.