---
title: "PUT Datapoint by the datatype unique id"
method: PUT
path: "/forecast/datapoint/unique_id/{{unique_id_uid}}?access_token=xxxxxxx"
---

# PUT Datapoint by the datatype unique id

`PUT /forecast/datapoint/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/datapoint/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
  - `value` integer, required: Updates the value of the datapoint
  - `period` string, date-time, required: The time of the datapoint that we want to update eg (2017-09-24 10:00:00)

## Response `200`

200

- object
  - `status` integer
  - `data` object
    - `id` integer
    - `company_id` integer
    - `forecast_data_type_id` integer
    - `value` integer
    - `period` string
    - `created_by` integer
    - `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/datapoint/unique_id/:{unique_id_uid}%3Faccess_token=xxxxxxx/put.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)
