> For the complete documentation index, see [llms.txt](https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/llms.txt)

# Create New Options

> POST /profiles/{profile_id}/optionlists/{optionlist_id}/options



## Servers
- https://api.iformbuilder.com/exzact/api/v80/[servername]: https://api.iformbuilder.com/exzact/api/v80/[servername]


## Authentication methods
- Oauth2


## Parameters
### Headers

- **Authorization** (string)
  e.g. Bearer {access_token}


### Path parameters

- **profile_id** (string)
  id of the profile

- **optionlist_id** (number)
  id of the option list



### Body: application/json (object)

- **key_value** (string)

- **label** (string)

- **sort_order** (number)

- **condition_value** (string)

- **score** (number)



## Responses
### 201
Created

#### Body: application/json (object)
- **id** (number)
  the created option id


### 207
Multi-Status - some items succeeded and some failed. The body is an array in request order (a list request body, even with one item, always answers a list); a failed item carries `error_message` instead of `id` and was not written.

#### Body: application/json (array[object])
- **id** (integer)
  present when the item succeeded

- **error_message** (string)
  present when the item failed


### 400
Bad Request - every item of a list request body failed. The body has the same shape as `207`, with `error_message` on each item; nothing was written. A single-object request body that fails answers the standard error object instead.

#### Body: application/json (object)
- **error_message** (string)
  human-readable reason for the failure



[Powered by Bump.sh](https://bump.sh)
