SparrowDesk
Conversation imports

Import a conversation

Backdated, no notifications/workflows/SLA timers. With include_in_reports, a matching SLA policy is recorded for reports. [requires "edit all tickets" scope]

POST
/imports/conversations
AuthorizationBearer <token>

In: header

Header Parameters

x-import-source?string

Optional label identifying the system the conversation was imported from

include_in_reports?boolean

Also write the conversation's backdated history (created, first response, resolution and waiting times, plus SLA outcomes when an active SLA policy matches) to reports. Sending it for a conversation that was already imported adds that conversation to reports.

Defaultfalse
conversation

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.sparrowdesk.com/v1/imports/conversations" \  -H "Content-Type: application/json" \  -d '{    "conversation": {      "subject": "string",      "requester": {},      "created_at": 0,      "description_html": "string"    }  }'
{
  "data": {
    "external_id": "string",
    "conversation_id": "string",
    "status": "created",
    "requester_contact_id": 0,
    "warnings": [
      {
        "type": "custom_field",
        "field_id": 0,
        "reason": "string"
      }
    ],
    "attachment_issues": [
      {
        "type": "attachment",
        "file_name": "string",
        "reason": "string",
        "retryable": true
      }
    ],
    "error": "string"
  }
}
{
  "message": "Unauthorized"
}
{
  "error": {
    "message": "string"
  }
}
{
  "name": "RateLimitExceeded",
  "message": "Rate limit exceeded for: APIS_PER_MINUTE",
  "code": 429,
  "details": [
    {
      "name": "APIS_PER_MINUTE",
      "quota": 0,
      "count": 0,
      "remaining": 0
    }
  ]
}