provider Messages POST
/inboxes/{inbox_id}/imported_messages @utdk/front
/inboxes/{inbox_id}/imported_messages Import message
Use this endpoint to import conversations into Front without sending data through a channel. Typical use cases include importing historical conversations or creating new conversations from non-standard sources, such as web form submissions that can't use the default Form channel (for example, forms that don't have static URLs or form providers that send email notifications after submission). Avoid using this endpoint for conversations that can be handled by a dedicated Front channel—instead, use the [Create message](https://dev.frontapp.com/reference/create-message) endpoint to send (rather than import) a new message.
Required scope: `messages:write`
- inbox_id path required
- The Inbox ID
- string
Try it
Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import front from '@utdk/front';
await front.importInboxMessage({
"inbox_id": "inb_123",
"body_format": "markdown",
"type": "email"
})