# GET

## Workflow GET

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

This endpoint allows you to retrieve the value of a key 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             |

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

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

{% 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 %}
