SparrowDesk
Conversation imports

Retrieve a conversation import job

GET
/imports/conversations/status/{jobId}
AuthorizationBearer <token>

In: header

Path Parameters

jobIdstring

The job id returned by the bulk-import endpoint

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.sparrowdesk.com/v1/imports/conversations/status/string"
{
  "data": {
    "job_id": "0b6f6d0e-2c1e-4d0b-9a55-8f1c2c4e7a10",
    "status": "completed_with_errors",
    "summary": {
      "total": 2,
      "created": 1,
      "skipped": 0,
      "partial": 0,
      "failed": 1
    },
    "results": [
      {
        "external_id": "zd-1001",
        "conversation_id": "4821",
        "status": "created",
        "requester_contact_id": 318
      },
      {
        "external_id": "zd-1002",
        "conversation_id": null,
        "status": "failed",
        "error": "Requester email is invalid"
      }
    ]
  }
}
{
  "message": "Unauthorized"
}
{
  "error": {
    "message": "string"
  }
}
{
  "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
    }
  ]
}