---
title: "Get Integrazu sync job status"
method: GET
path: "/api/vehicles/{vehicle_id}/photos/sync/{job_id}"
tags: ["Vehicle Photos - Admin"]
---

# Get Integrazu sync job status

`GET /api/vehicles/{vehicle_id}/photos/sync/{job_id}`

## Request

- Base URL: `https://api.multigest.pt` (the document declares no server; this is the origin it was published from)
- URL: `https://api.multigest.pt/api/vehicles/{vehicle_id}/photos/sync/{job_id}`
- Auth: API key in header `x-api-token` and API key in header `x-origin-verify`

Poll this endpoint to get Integrazu sync progress.

Status values:
- pending: Job created, not started yet
- processing: Sync in progress
- completed: All done (check adverts_synced vs adverts_failed)
- failed: Fatal error occurred

Frontend should poll every 1-2 seconds until status is 'completed' or 'failed'.

## Path parameters

- `vehicle_id` integer, required
- `job_id` string, required: Sync job ID

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- SyncJobStatus: Response model for sync job status.
  - `job_id` string, required
  - `vehicle_id` integer, required
  - `status` string, required
  - `current_step` string, required
  - `progress` integer, required
  - `adverts_found` integer, required
  - `adverts_synced` integer, required
  - `adverts_failed` integer, required
  - `steps` object[], required
  - `created_at` string, nullable, required
  - `completed_at` string, nullable, required
  - `error` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) - [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) - [OpenAPI document](https://skmtc.dev/multigest/apis/multigest-protected-api/revisions/75574126948d?raw)
