# PUT

## Workflow PUT

<mark style="color:green;">`POST`</mark> `https://next.cloudio.io/v1/wf/put`

This endpoint allows you to store key/value pair at the workflow level from within the task at execution time.

#### Request Body

| Name        | Type   | Description                                  |
| ----------- | ------ | -------------------------------------------- |
| wfUid       | string | Workflow UID                                 |
| wfInstUid   | string | Workflow Instance UID                        |
| version     | string | Workflow Version                             |
| token       | string | The token value passed to the task request   |
| nodeUid     | string | Node UID that was passed to the task request |
| executionId | string | Execution Id passed to the task request      |
| key         | string | A unique key within the workflow             |
| value       | object | The value that you want to store             |

{% tabs %}
{% tab title="200 Value successfully stored." %}

```javascript
{
    "status": "OK",    
}
```

{% endtab %}

{% tab title="403 Could not validate the provided token" %}

```javascript
{
    "status": "ERROR",
    "code": 403,
    "title": "Invalid Request",
    "message": "Invalid token: `a5bac5cb-b312-4038-b06f-e58a54ce56a`!"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://next-docs.cloudio.io/workflow-rest-apis/put.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
