---
title: "Purchase the results of a completed job"
method: POST
path: "/v1/jobs/{id}/purchase"
tags: ["Jobs"]
---

# Purchase the results of a completed job

`POST /v1/jobs/{id}/purchase`

## Request

- Base URL: `https://dataapi.reachthepeople.ai/api`
- URL: `https://dataapi.reachthepeople.ai/api/v1/jobs/{id}/purchase`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- PurchaseJobRequest
  - `type` 'matched' | 'unique': Which set of records to purchase

## Response `200`

Purchase complete; billing snapshot returned

- PurchaseJobResponse
  - `jobId` string
  - `status` string
  - `billing` BillingLine[]
    - `category` string
    - `matched` integer
    - `unitPrice` number, float
    - `amount` number, float
  - `totalAmount` number, float
  - `invoiceNumber` string

## Other responses

- `401`: Missing or invalid API key
- `404`: Resource not found

---

[API](https://skmtc.dev/salesstream/apis/data-api.md) - [All operations](https://skmtc.dev/salesstream/apis/data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/salesstream/apis/data-api/revisions/71ddbbca233d?raw)
