FruxonDocs
ApiConversation imports

Gets one conversation import.

An unconfirmed import carries its preview: the chats, the participants with their suggested roles, the suggested automated messages and anything skipped. A confirmed one carries counts only.

GET
/v1/tenants/{tenant}/conversationImports/{conversationImport}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

conversationImport*string

The import id.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/conversationImports/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "00000000-0000-0000-0000-000000000000",
  "displayName": "string",
  "status": "PREVIEW",
  "timeZone": "string",
  "preview": {
    "chats": [
      {
        "id": "00000000-0000-0000-0000-000000000000",
        "fileId": "string",
        "format": "UNSPECIFIED",
        "title": "string",
        "isGroup": false,
        "participantKeys": [],
        "messageCount": 0,
        "firstMessageAt": null,
        "lastMessageAt": null,
        "suggestedSelected": false
      }
    ],
    "participants": [
      {
        "key": "string",
        "displayName": "string",
        "chatIds": [],
        "messageCount": 0,
        "sampleMessage": "string",
        "suggestedRole": null,
        "suggestionReason": "UNSPECIFIED"
      }
    ],
    "automatedMessages": [
      {
        "id": "string",
        "participantKey": "string",
        "text": "string",
        "occurrences": 0,
        "chatCount": 0
      }
    ],
    "skipped": [
      {
        "fileId": "string",
        "reason": "UNSPECIFIED",
        "count": 0,
        "detail": "string"
      }
    ],
    "subjectSuggested": false
  },
  "counts": {
    "chatsFound": 0,
    "chatsImported": 0,
    "conversations": 0,
    "oneSidedDropped": 0,
    "messages": 0,
    "subjectMessages": 0,
    "teamMessages": 0,
    "counterpartMessages": 0,
    "automatedMessages": 0,
    "firstMessageAt": 0,
    "lastMessageAt": 0,
    "formats": [
      "WHATSAPP"
    ]
  },
  "createdBy": "string",
  "createdAt": 0,
  "confirmedBy": "string",
  "confirmedAt": 0,
  "expiresAt": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}