---
title: "Execute batch"
method: POST
path: "/jobs-batch-api/v1/projects/{projectId}/batches/{batchUid}"
tags: ["Job Batches V1"]
---

# Execute batch

`POST /jobs-batch-api/v1/projects/{projectId}/batches/{batchUid}`

## Request

- Base URL: `https://api.smartling.com`
- URL: `https://api.smartling.com/jobs-batch-api/v1/projects/{projectId}/batches/{batchUid}`
- Auth: HTTP bearer

Triggers asynchronous execution of a batch.

In the execution flow, the batch waits until upload and attach processes are completed successfully (or failed for any reason). When all of these asynchronous processes are completed, job `authorize` is triggered if it was requested, and the batch becomes a status of `COMPLETED`.

Batch execution is allowed only if the batch is in `ADDING_FILES` status.

## Path parameters

- `projectId` string, required: Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.
- `batchUid` string, required

## Request body

- BatchActionRequestV1: Describes the action to be done with the Batch
  - `action` 'execute'
  - `localeWorkflows` LocaleWorkflow[]
    - `targetLocaleId` string, required: Locale identifier. Either a 2-letter language code (`en`) or a language-region pair (`en-US`). The language part is always lowercase; the region part is always uppercase.
    - `workflowUid` string, required: Workflow unique identifier — 12 lowercase alphanumeric characters.

## Response `202`

ACCEPTED

- EmptyResponse
  - `response` object, required
    - `code` 'SUCCESS', required: Indicates whether the response was successful or what error has occurred.
    - `data` object: Always null.

## Other responses

- `400`: Provided request parameters are invalid.
- `401`: Provided credentials are not valid.
- `404`: Batch provided in path is not found
- `500`: Unexpected error

## Changes

- **2026-10-17** `2cd7a8215799`: 1 info
  - endpoint added
- **2026-08-06** `ae422098d9c5`: 1 breaking
  - api removed without deprecation

[Operation history](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/changes/jobs-batch-api/v1/projects/:projectId/batches/:batchUid/post.md)

---

[API](https://skmtc.dev/smartling/apis/smartling-rest-api-reference.md) - [All operations](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/revisions/e63066e7f5e9?raw)
