# POST /jobs/scheduled/{job}/run

Section: [Scheduled jobs](https://appengine.appmint.io/documentation/tag/scheduled-jobs.md) · Full index: https://appengine.appmint.io/documentation.md
## POST /jobs/scheduled/{job}/run

**Run a scheduled job now**

`operationId: ScheduledJobsController_runNow`

Runs the job for this org now and waits for it, even when it is turned off. It holds the same lock as the scheduled run, so it never overlaps one: 409 while it is already running. The run is a `job` record (`result.jobId`) and becomes the job's last run. `args` is passed to the job (an exact job takes the piece of work it should run).

#### Signature

```http
POST /jobs/scheduled/{job}/run (job: string, body) -> { result: { at, trigger, ok, ms, summary?, error?, by, jobId }, job: JobRow }
```

#### Access

Requires a bearer JWT (`Authorization: Bearer <token>`).

#### Errors

| Status | Code | Message | When | What to do |
| --- | --- | --- | --- | --- |
| `404` | JOB_NOT_FOUND | There is no scheduled job "<job>" | The job id is not registered on this server | Use a job id from GET /jobs/scheduled. |
| `409` | JOB_RUNNING | <label> is already running | A run of this job for this org holds its lock | Wait for it to finish; its result shows as the last run. |

Plus the standard platform errors: `401`, `403`, `429`, `500`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgid` | header | string | yes | Organization (tenant) identifier. Every request is scoped to this org; data from other orgs is never visible. Issued with your API credentials. |
| `job` | path | string | yes | The job id, e.g. readiness-daily, journeys-sweep, leave-nightly, a2p-watch, voice-agent-sweep, ai-employee-ping, everify-refresh, broadcast-send, notification-send, external-mail-pull, service-billing, data-purge, social-sync-messages. |

### Request body

Optional.

```json
{
  "args": {}
}
```

### Responses

| Status | Meaning |
| --- | --- |
| `201` | { result: { at, trigger, ok, ms, summary?, error?, by, jobId }, job: JobRow } |
| `401` | Authentication failed: Invalid or expired token — The `Authorization` header is missing, malformed, or the JWT has expired. |
| `403` | You do not have permission to perform this action — The caller is authenticated but lacks the role required by the endpoint, or is acting on another org. |
| `404` | There is no scheduled job "<job>" — The job id is not registered on this server |
| `409` | <label> is already running — A run of this job for this org holds its lock |
| `429` | Too Many Requests — More than 100,000 requests from one IP within 5 minutes (configurable per deployment). CORS preflights and requests from inside the platform cluster are not counted. The limiter answers before the error filter, so the body is `{ statusCode, error, message }` with no `path`, `method` or `timeStamp`; the `RateLimit-*` response headers say when the window resets. |
| `500` | An unexpected error occurred. Our team has been notified. — An unhandled server-side failure. |

