List import jobs for a social account

Returns all import jobs for the specified social account, ordered by most recent first.

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

Path Parameters

idstring

Response Body

fetch("https://api.outstand.so/v1/social-accounts/string/imports", {  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"
    }
  ],
  "count": 0
}
{
  "success": false,
  "error": "Social account not found"
}
{
  "success": false,
  "error": "Internal server error",
  "message": "Database connection failed"
}