SparrowDesk
Conversation imports

Bulk import conversations

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

POST
/imports/conversations/create_many
AuthorizationBearer <token>

In: header

Header Parameters

x-import-source?string

Optional label identifying the system the conversations were 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
conversations

Historical conversations to import. Each item has the same shape as the single-import conversation object.

Items1 <= items

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.sparrowdesk.com/v1/imports/conversations/create_many" \  -H "Content-Type: application/json" \  -d '{    "conversations": [      {        "subject": "string",        "requester": {},        "created_at": 0,        "description_html": "string"      }    ]  }'
{
  "data": {
    "job_id": "string",
    "status": "queued",
    "total_conversations": 0,
    "status_url": "string",
    "poll_after_ms": 2000
  }
}
{
  "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
    }
  ]
}