---
title: "Restart a Bulk Job"
method: POST
path: "/bulk/jobs/{jobId}/restart"
tags: ["Bulk Jobs"]
---

# Restart a Bulk Job

`POST /bulk/jobs/{jobId}/restart`

Restart a bulk job in full, from failed rows, or from a specified position.

## Path parameters

- `jobId` string, uuid, required

## Request body

- object
  - `mode` 'full' | 'failed_only' | 'from_row' | 'from_shard' — Which rows to reprocess.
  - `startRowIndex` integer — Zero-based row to restart from. Required when `mode` is `from_row`.
  - `startShardIndex` integer — Zero-based shard to restart from. Required when `mode` is `from_shard`.

## Response `200`

Restart accepted.

- object

## Other responses

- `400` — Bad Request - The request was malformed or contains invalid parameters. **Common causes:** - Missing required fields - Invalid field format (e.g., malformed email) - Invalid JSON syntax - Invalid parameter values
- `401` — Unauthorized - Authentication failed. **Common causes:** - Missing X-API-Key header - Invalid or expired API key - Malformed API key
- `404` — Not Found - The requested resource could not be found. **Common causes:** - Profile doesn't exist or is not accessible - Company not found in our database - Invalid URL or identifier

## Changes

- **2026-08-25** `1f289eff3a26` — 5 breaking
  - the `allOf[#/components/schemas/ErrorResponse]/errors/items/instance` response's property type/format changed from `string`/`uri` to `string`/`uri-reference` for status `400`
  - the `oneOf[#/components/schemas/InvalidApiKeyError]/allOf[#/components/schemas/ErrorResponse]/errors/items/instance` response's property type/format changed from `string`/`uri` to `string`/`uri-reference` for status `401`
  - the `oneOf[#/components/schemas/MissingAuthenticationError]/allOf[#/components/schemas/ErrorResponse]/errors/items/instance` response's property type/format changed from `string`/`uri` to `string`/`uri-reference` for status `401`
  - the `oneOf[#/components/schemas/ProfileNotFoundError]/allOf[#/components/schemas/ErrorResponse]/errors/items/instance` response's property type/format changed from `string`/`uri` to `string`/`uri-reference` for status `404`
  - …1 more
- **2026-08-06** `e95809714e4d` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-08-05** `08b59585eeb7` — 3 info
  - added the new optional request property `mode`
  - added the new optional request property `startRowIndex`
  - added the new optional request property `startShardIndex`
- **2026-07-26** `f01f73557a67` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/leadmagic/apis/leadmagic-api/changes/bulk/jobs/:jobId/restart/post.md)

---

[API](https://skmtc.dev/leadmagic/apis/leadmagic-api.md) · [All operations](https://skmtc.dev/leadmagic/apis/leadmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leadmagic/leadmagic-api/revisions/1f289eff3a26/schema)
