---
title: "POST COPY Datapoints by datatype unique ID"
method: POST
path: "/forecast/copy/unique_id/{{unique_id_uid}}?access_token=xxxxxxx"
---

# POST COPY Datapoints by datatype unique ID

`POST /forecast/copy/unique_id/{{unique_id_uid}}?access_token=xxxxxxx`

## Request

- Base URL: `https://www.humanity.com/api/v2`
- URL: `https://www.humanity.com/api/v2/forecast/copy/unique_id/{{unique_id_uid}}?access_token=xxxxxxx`
- Auth: API key in query parameter `access_token`

Permission level: 5

## Query parameters

- `unique_id_uid` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `from_start` string, date, required: Start date of the datapoint that we want to copy
  - `from_end` string, date, required: End date of the datapoint that we want to copy
  - `to_start` string, date, required: Start date of the copied datatype
  - `to_end` string, date, required: End date of the copied datatype

## Response `200`

200

- object
  - `status` integer
  - `data` object[]
    - `id` integer
    - `company_id` integer
    - `forecast_data_type_id` integer
    - `value` integer
    - `period` string
    - `created_by` string
    - `updated_by` unknown
    - `deleted_by` unknown
    - `created_at` string
    - `updated_at` unknown
    - `deleted_at` unknown
    - `hour` string
  - `token` string
  - `error` unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `ffb87b44c733`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/humanity-com/apis/humanity/changes/forecast/copy/unique_id/:{unique_id_uid}%3Faccess_token=xxxxxxx/post.md)

---

[API](https://skmtc.dev/humanity-com/apis/humanity.md) - [All operations](https://skmtc.dev/humanity-com/apis/humanity/llms.txt) - [OpenAPI document](https://skmtc.dev/humanity-com/apis/humanity/revisions/ffb87b44c733?raw)
