---
title: "Import or upload a CAD file into Onshape, and translate the data into parts or assemblies."
method: POST
path: "/translations/d/{did}/w/{wid}"
tags: ["Translation"]
---

# Import or upload a CAD file into Onshape, and translate the data into parts or assemblies.

`POST /translations/d/{did}/w/{wid}`

The API call may complete before the translation is finished. If `requestState = ACTIVE`, the translation can be polled until the state is either `DONE` or `FAILED`. Alternatively, a webhook callback can be registered for notification of translation completion (requires `Write` scope if `storeInDocument` is `true`). 
 
See [API Guide: Import & Export](https://onshape-public.github.io/docs/api-adv/translation/) for examples.

## Path parameters

- `did` string, required
- `wid` string, required

## 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)
