Productmind API

Support import

Support import files tickets from your helpdesk as support cases, or as customer meetings if you choose. Preview a batch of tickets to see which contact and account each would link to, then import them; importing a ticket again updates the conversation it created instead of adding another. You can also turn automated ingestion on or off for each helpdesk, set its ingestion filters, and list recent ingestion events. See Freshdesk and Zendesk.


Preview a support conversation import

POST
https://api.productmind.ai
/workspaces/{workspaceId}/support-import/preview

Dry run: for each ticket, report which contact and account it would link to and whether it would create or update an interaction. Writes nothing.

Preview a support conversation import › path Parameters

workspaceId
​string · required

Workspace UUID

Preview a support conversation import › Request Body

​SupportTicketIngest[] · minItems: 1 · maxItems: 100 · required

Preview a support conversation import › Responses

200

Per-ticket preview

​SupportImportPreviewItem[] · required

Import support conversations

POST
https://api.productmind.ai
/workspaces/{workspaceId}/support-import

Ingest a batch of support tickets as customer interactions. Matches contacts by email, deduplicates on (platform, ticket id), and returns a per-ticket outcome so one failure does not fail the batch.

Import support conversations › path Parameters

workspaceId
​string · required

Workspace UUID

Import support conversations › Request Body

​SupportTicketIngest[] · minItems: 1 · maxItems: 100 · required
instanceId
​string · uuid · pattern: ^([0-9a-fA-F]{8}-[0-…
summarize
​boolean

Summarize each imported conversation with AI (default: true)

Import support conversations › Responses

200

Per-ticket import results

​SupportImportResult · required

Get automated support ingestion config

GET
https://api.productmind.ai
/workspaces/{workspaceId}/support-ingestion/config/{platform}

Read the automation filters for one support platform. Creates the default (disabled) config on first read.

Get automated support ingestion config › path Parameters

workspaceId
​string · required

Workspace UUID

platform
​string · required

Support platform (freshdesk, zendesk, intercom)

Get automated support ingestion config › Responses

200

Ingestion config

​SupportIngestionConfigDTO · required

Update automated support ingestion config

PUT
https://api.productmind.ai
/workspaces/{workspaceId}/support-ingestion/config/{platform}

Enable or disable automated ingestion for a platform and set the status / tag / group / account filters.

Update automated support ingestion config › path Parameters

workspaceId
​string · required

Workspace UUID

platform
​string · required

Support platform (freshdesk, zendesk, intercom)

Update automated support ingestion config › Request Body

statuses
​string[]
tags
​string[]
tagMatchMode
​string · enum
Enum values:
any
all
groupIds
​string[]
​
defaultInteractionType
​string · enum
Enum values:
support
notes
interview_manual

Update automated support ingestion config › Responses

200

Updated config

​SupportIngestionConfigDTO · required

List recent support ingestion events

GET
https://api.productmind.ai
/workspaces/{workspaceId}/support-ingestion/events

Recent ingestion outcomes (created / updated / filtered / error) for the integration debugging panel.

List recent support ingestion events › path Parameters

workspaceId
​string · required

Workspace UUID

List recent support ingestion events › query Parameters

platform
​string · enum

Filter to one platform

Enum values:
freshdesk
zendesk
intercom
limit
​integer · min: 1 · max: 50

How many events to return

List recent support ingestion events › Responses

200

Recent events

​SupportIngestionEventDTO[] · required