Ferndesk

Import a past conversation

Brings a conversation from another tool into the helpdesk inbox as history: its messages, replies and internal notes keep their original times, and it lands closed. Nothing is sent: no email, notification, survey or AI agent reply. Importing the same source and external_id again adds only the messages it does not have yet, and answers 200; a conversation answered in Ferndesk since is left alone (409). Attachments are not imported. A request body takes up to 4 MiB: send a longer conversation in parts, the same conversation again with the rest of its messages, and give each part the same closed_at. Each request needs at least one message: one already imported can be sent again and is skipped. Needs an owner or admin.

POST /v1/conversations/import
Bearer token scope inbox:write

Body

required application/json
source string · enum required

The tool the conversation comes from.

values

  • intercom
  • zendesk
  • helpscout
  • gmail
  • crisp
  • hubspot
external_id string · min length: 1· max length: 512 required

The conversation's id in that tool. Importing the same id again adds only messages it does not have yet.

external_url string · uri· max length: 2048

A link to the conversation in that tool.

channel string · default: email· enum

email (the default) or chat.

values

  • email
  • chat
subject string | null

The subject. Without one, the first message names it.

customer object required

Who wrote in. With an email, the conversation joins that customer.

created_at string · date-time · pattern required

When the conversation started. An ISO 8601 time (2024-03-01T09:30:00Z).

closed_at string · date-time · pattern

When it was closed. The time of its last message when left out. An ISO 8601 time (2024-03-01T09:30:00Z).

Responses