# post

## HTTP Request

```http
POST /workflows/:workflowReference/parameters
```

## Path parameters

| Parameter         |                                                                                                                                                          |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| workflowReference | A qualified reference to the parameter's workflow. See [referencing resources](https://docs.redivis.com/api/referencing-resources) for more information. |

{% hint style="info" %}
This endpoint extends the [general API structure](https://docs.redivis.com/api/rest-api/general-structure).
{% endhint %}

## Authorization

You must have edit access to the underlying workflow, and hour access token must have one of the following scopes:

* workflow\.write

[Learn more about authorization.](https://docs.redivis.com/api/rest-api/authorization)

## Request body

Provide a JSON object with information about the parameter.

| Property name | Type       | Description                                                                                                                                                                                                                                                                                                     |
| ------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **name**      | **string** | The name of the parameter. Must be unique within the workflow.                                                                                                                                                                                                                                                  |
| **values**    | **list**   | A list of values associated with the parameter.                                                                                                                                                                                                                                                                 |
| **type**      | **string** | <p>The parameter's type. If not specified, type will be inferred based on the set of values.<br><br>Must be one of the allowed Redivis types, except for <code>geography</code>. Specifically, one of: </p><ul><li>boolean</li><li>integer</li><li>float</li><li>string</li><li>date</li><li>dateTime</li></ul> |

## Response body

The response body will contain a JSON representation of a [parameter.get resource](https://docs.redivis.com/api/resource-definitions/parameter).
