---
title: "POST /jobs"
method: POST
path: "/jobs"
tags: ["jobs"]
---

# POST /jobs

`POST /jobs`

## Request

- Base URL: `https://api.mrscraper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mrscraper.com/jobs`
- Auth: one of:
  - API key in header `x-api-token`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/docs/jobs/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- JobJob
  - `createdAt` string
  - `id` integer
  - `name` string
  - `status` 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED'
  - `updatedAt` string
  - `userId` string

## Response `201`

Job created

- object
  - `data` JobJob
    - `createdAt` string
    - `id` integer
    - `name` string
    - `status` 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED'
    - `updatedAt` string
    - `userId` string
  - `message` string

---

[API](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api.md) - [All operations](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mrscraper/apis/scraper-service-gateway-api/revisions/8bc866001a0b?raw)
