Get import job status

Returns the current status and progress of an import job.

GET/v1/social-accounts/{id}/imports/{importId}

Path Parameters

idstring
importIdstring

Response Body

fetch("https://api.outstand.so/v1/social-accounts/string/imports/string", {  method: "GET"})
{
  "success": true,
  "data": {
    "id": "string",
    "orgId": "string",
    "socialAccountId": "string",
    "status": "queued",
    "since": "string",
    "until": "string",
    "limit": 0,
    "imported": 0,
    "skipped": 0,
    "failed": 0,
    "error": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "completedAt": "string"
  }
}
{
  "success": false,
  "error": "Social account not found"
}
{
  "success": false,
  "error": "Internal server error",
  "message": "Database connection failed"
}