---
title: "Encode a configuration option for use in other API calls."
method: POST
path: "/elements/d/{did}/e/{eid}/configurationencodings"
tags: ["Element"]
---

# Encode a configuration option for use in other API calls.

`POST /elements/d/{did}/e/{eid}/configurationencodings`

Returns a configuration string in the following form: 
`configuration=parameterId%3DparameterValue` 
The configuration string can be used in other Onshape API calls to specify which configuration option to use. See the [Configuration API Guide](https://onshape-public.github.io/docs/api-adv/configs/) for additional details.

## Path parameters

- `did` string, required
- `eid` string, required

## Query parameters

- `versionId` string
- `linkDocumentId` string

## Response `default`

default response

---

[API](https://skmtc.net/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.net/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onshape/onshape-rest-api/revisions/aaa3e1322450/schema)
