---
title: Onshape API Integration on Truto
slug: onshape
category: Product Development
canonical: "https://truto.one/integrations/detail/onshape/"
---

# Onshape API Integration on Truto



**Category:** Product Development  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 304 tools for Onshape that AI agents can call directly.

- **onshape_purchases_list_plan_purchases** — Get a list of all app purchases made for the specified plan. Required: planId. Paginated with offset/limit (max 20 per page).
- **list_all_onshape_purchases** — Get a list of all app purchases made by the current user. This API should be used within the context of an OAuth-enabled application.
- **onshape_purchases_consume_purchase** — Mark a purchase as consumed by the current user. Required: pid.
- **onshape_purchases_cancel_purchase_new** — Cancel a recurring subscription for the specified account ID and purchase ID. Required: aid, pid.
- **list_all_onshape_aliases** — Get a list of all aliases that exist for your enterprise. Paginated with offset/limit (max 20 per page).
- **create_a_onshape_alias** — Create an alias in your enterprise. Manage users and teams global permission is required to call this API.
- **get_single_onshape_alias_by_id** — Get an alias by ID. Get the information for an alias ID. The id is the id (alias id, or account id for purchases). Required: id.
- **update_a_onshape_alias_by_id** — Add, remove, replace, or rename entries in an alias list. Manage users and teams global permission is required to call this API. Add new users in the additions array. Remove existing users in the removals array. Attempts to remove a user that does not exist in the Alias list will have no effect. Replace the entire Alias list with the entries array. The id is the id (alias id, or account id for purchases). Required: id.
- **delete_a_onshape_alias_by_id** — Delete an alias from your enterprise. Manage users and teams global permission is required to call this API. The id is the id (alias id, or account id for purchases). Required: id.
- **onshape_aliases_list_members** — Get all users and teams assigned to an alias. This is a search-like endpoint that returns a subset of the member list. Use getAlias to return all members every time it's called. Required: aid. Paginated with offset/limit (max 20 per page).
- **onshape_app_elements_create_element** — Create a new application element. See API Guide: Structured Storage for more information. Required: did, wid, formatId.
- **onshape_app_elements_bulk_create** — Create multiple empty application elements at once. Call this faster API instead of creating multiple app elements one at a time or in parallel. Required: did, wid, formatId.
- **onshape_app_elements_download_blob_subelement_workspace** — Download the blob element (i.e., a file) stored in an app element in a document's workspace. The downloaded file can be used to retrieve stored subelements. Required: did, wid, eid, bid.
- **onshape_app_elements_upload_blob_subelement** — Create a new blob subelement from an uploaded file. The file is sent as multipart form data. Required: did, wid, eid, bid.
- **onshape_app_elements_delete_blob_subelement** — Delete a blob subelement from an app element. Required: did, wid, eid, bid.
- **onshape_app_elements_get_transactions** — Get a list of all transactions performed on an element. Required: did, eid, wid.
- **onshape_app_elements_start_transaction** — Start a transaction. Creates a microbranch (i.e., a branch for a new microversion). Required: did, eid, wid.
- **onshape_app_elements_abort_transaction** — Abort a transaction. Deletes a microbranch (i.e., the branch with the microversion for the transaction). Required: did, eid, wid, tid.
- **onshape_app_elements_commit_transactions** — Merge multiple transactions into one microversion. If successful, all transactions will be committed to a single microversion. If the call raises an error, nothing will be committed. Required: did, wid.
- **onshape_app_elements_download_blob_subelement** — Download a blob subelement from the specified app element. Download a blob subelement as a file. Required: did, vm, vmid, eid, bid.
- **onshape_app_elements_get_blob_subelement_ids** — Get a list of all blob subelement IDs for the specified workspace, version, or microversion. Required: did, eid, wvm, wvmid.
- **onshape_app_elements_compare_json** — Compare app element JSON trees between workspaces/versions/microversions in a document. Specify the source workspace/version/microversion in the URL and specify the target workspace/version/microversion in the query parameters. Required: did, wvm, wvmid, eid.
- **onshape_app_elements_get_sub_content** — Get a list of all subelement IDs in a specified workspace/version/microversion. Required: did, wvm, wvmid, eid.
- **onshape_app_elements_update_app_element** — Update the content for the specified app element. See API Guide: Structured Storage for more information. Required: did, eid, wvm, wvmid.
- **onshape_app_elements_get_history** — Get the history of the specified all element. Required: did, eid, wvm, wvmid.
- **onshape_app_elements_get_subelement_ids** — Get a list of all subelement IDs in a specified workspace/version/microversion. Required: did, eid, wvm, wvmid.
- **onshape_app_elements_get_json** — Get the full JSON tree for the specified workspace/version/microversion. Required: did, wvm, wvmid, eid.
- **onshape_app_elements_get_json_paths** — Get the JSON at specified paths for an element. Use this endpoint to return the JSON at the specified path instead of returning the entire JSON for the element. This POST endpoint does not write any information. Required: did, wvm, wvmid, eid.
- **onshape_app_elements_get_sub_content_batch** — Get a list of multiple subelements by document ID, workspace or version or microversion ID, tab ID, and subelement IDs. Required: did, wvm, wvmid, eid.
- **onshape_app_elements_delete_content_batch** — Delete multiple subelements array by document ID, workspace or version or microversion ID, tab ID, and subelement IDs. Required: did, eid, wvm, wvmid.
- **onshape_app_elements_delete_content** — Deletes the content from the specified app element. Required: did, eid, wvm, wvmid, sid.
- **onshape_app_elements_create_reference** — Creates a reference to an app element. Required: did, eid, wvm, wvmid.
- **onshape_app_elements_resolve_reference** — Resolves a single reference to an app element. For single operations only. Use resolveReferences for bulk operations. Required: did, eid, wvm, wvmid, rid.
- **onshape_app_elements_update_reference** — Update an app element reference. Required: did, eid, wvm, wvmid, rid.
- **onshape_app_elements_delete_reference** — Delete an app element reference. Required: did, eid, wvm, wvmid, rid.
- **onshape_app_elements_resolve_references** — Resolves bulk app element references. For bulk operations only. Use resolveReference for a single operation. Required: did, wvm, wvmid, eid.
- **onshape_app_elements_resolve_all_references** — Resolves bulk app element references. Resolve all references for all workspace elements. For bulk operations only. Use resolveReferences for a single element. Required: did, wvm, wvmid.
- **onshape_app_associative_data_copy_associative_data** — Copy associative data from one view to another. You can manage associativity with translateIds. Required: did, wid, eid.
- **onshape_app_associative_data_get_associative_data** — Get the associative data for the specified app element. You can manage associativity with translateIds. Required: did, wvm, wvmid, eid.
- **onshape_app_associative_data_post_associative_data** — Set the associative data for the specified app element. You can manage associativity with translateIds. Required: did, eid, wvm, wvmid.
- **onshape_app_associative_data_delete_associative_data** — Delete the associative data from the specified app element. You can manage associativity with translateIds. Required: did, eid, wvm, wvmid.
- **onshape_applications_get_company_app_settings** — Get company-level preference settings for an application. This API is only usable with an OAuth token and only by the current user or admin. Required: cpid, cid.
- **onshape_applications_update_app_company_settings** — Update company preference settings for an application. This API is only usable with an OAuth token and only by the current user or admin. Add or update a setting identified by key with value. Operation and field may optionally be specified when updating Map type settings. Field specifies the key of the setting Map to update. Required: cpid, cid.
- **onshape_applications_delete_company_app_settings** — Delete a company's application preference settings. This API is only usable with an OAuth token and only by the current user or admin. Required: cpid, cid.
- **onshape_applications_get_user_app_settings** — Get user-level preference settings for an application. This API is only usable with an OAuth token and only by the current user or admin. Required: uid, cid.
- **onshape_applications_update_app_settings** — Update a user's application preference settings. This API is only usable with an OAuth token and only by the current user or admin. Add or update a setting identified by key with value. Operation and field may optionally be specified when updating Map type settings. Field specifies the key of the setting Map to update. Required: uid, cid.
- **onshape_applications_delete_app_settings** — Delete a user's application preference settings. This API is only usable with an OAuth token and only by the current user or admin. Required: uid, cid.
- **onshape_applications_get_applicable_extensions_for_client** — Get a list of the client extensions the specified user has granted/accepted terms for. Required: uid, cid.
- **onshape_assemblies_get_named_views** — Get the view data for all named views for the specified element. Required: did, eid.
- **onshape_assemblies_create_assembly** — Create a new assembly tab in the document. Required: did, wid.
- **onshape_assemblies_get_or_create_bill_of_materials_element** — Gets the Bill Of Materials (BOM) for the specified assembly, or creates a BOM if none exist. Required: did, wid, eid.
- **onshape_assemblies_update_feature** — Update an existing feature for an Assembly. Required: did, wid, eid, fid.
- **onshape_assemblies_delete_feature** — Delete a feature from an assembly. Required: did, wid, eid, fid.
- **onshape_assemblies_delete_instance** — Delete an instance of an assembly. Required: did, eid, wid, nid.
- **onshape_assemblies_set_instance_designators** — Set designator values for assembly instances. Set reference designators (i.e., unique labels) for one or more assembly instances. Required: did, wid, eid, designators.
- **onshape_assemblies_create_instance** — Insert an instance of a part, sketch, assembly, or Part Studio into an assembly. Part Studio instances may include multiple parts. Required: did, wid, eid, documentId.
- **onshape_assemblies_update_mate_values** — Update mate values for the given mates in the specified assembly. The input mates must support motion along the provided input degrees of freedom; otherwise, the input mate value will be ignored. Values associated with multiple allowed degrees of freedom for a mate can be updated simultaneously. Required: did, wid, eid.
- **onshape_assemblies_modify** — Modify an assembly. This endpoint can include multiple modifications to an assembly with one change. For example, it can delete/suppress/unsuppress/transform multiple instances. It creates one history entry in the document history list. Required: did, wid, eid.
- **onshape_assemblies_transform_occurrences** — Transform a list of assembly occurrences. Required: did, eid, wid.
- **onshape_assemblies_insert_transformed_instances** — Create new instances with transformation. Required: did, eid, wid.
- **onshape_assemblies_get_definition** — Get definition information for the specified assembly. All coordinates and translation matrix components are in meters (m). Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_bill_of_materials** — Get the Bill Of Materials (BOM) content for the specified assembly. Returns the BOM in JSON in the Onshape BOM Standard format. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_bounding_boxes** — Get bounding box information for the specified assembly. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_display_states** — Get a list of display states for the specified assembly. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_exploded_views** — Get a list of exploded views for the specified assembly. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_features** — Get the definitions of the specified features in an assembly. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_add_feature** — Add a feature to the assembly feature list. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_feature_specs** — Get the feature spec definitions for an assembly. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_mass_properties** — Get the mass properties for the assembly. The assembly must contain parts that have density. The returned schema includes the same information as in the Onshape Mass Properties Tool. When three values are returned: The first is the calculated value. The second is the minimum possible value, considering tolerance. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_named_positions** — Get a list of all named positions for the assembly. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_get_shaded_views** — Get an array of shaded view images for the document. Required: did, wvm, wvmid, eid.
- **onshape_assemblies_create_export_gltf** — Export the assembly to glTF. Creates an asynchronous export of the assembly. See API Guide: Import & Export for details. Required: did, wv, wvid, eid.
- **onshape_assemblies_create_export_obj** — Export the assembly to OBJ. Creates an asynchronous export of the assembly. See API Guide: Import & Export for details. Required: did, wv, wvid, eid.
- **onshape_assemblies_create_export_step** — Export the assembly to STEP. Creates an asynchronous export of the assembly. See API Guide: Import & Export for details. Required: did, wv, wvid, eid.
- **onshape_assemblies_get_mate_values** — Get a list of mate values in the specified assembly. Describes the relative position of the first mate connector with respect to the second along the designated degrees of freedom (DOF) for mates in the specified assembly. Required: did, wv, wvid, eid.
- **onshape_assemblies_translate_format** — Export the assembly to another format. Creates an asynchronous export. Use format-specific export endpoints where available. Use formatName in the JSON request body to specify the export file type. Use Translations/getAllTranslatorFormats to get a list of valid export file formats. Confirm that couldBeAssembly=true. Required: did, wv, wvid, eid, formatName.
- **onshape_billing_plans_get_client_plans** — Get all billing plans and their information for an application by client ID. This API should be used within the context of an OAuth-enabled application. Required: cid.
- **onshape_blob_elements_upload_file_create** — Upload a file and create a blob element from it. The file is sent as multipart form data. Required: did, wid.
- **onshape_blob_elements_download_file_workspace** — Download a file from a blob element for the specified workspace/version/microversion. See API Guide: Model Translation for more details. Required: did, wid, eid. Returns binary file content.
- **onshape_blob_elements_upload_file_update** — Update a blob element by uploading a file. The file is sent as multipart form data. Required: did, wid, eid.
- **onshape_blob_elements_update_units** — Change the measurement units for the blob element. Required: did, wid, eid.
- **onshape_blob_elements_create_translation** — Export a blob element to another format. Use formatName in the JSON request body to specify the export file type. Use [Translations/getAllTranslatorFormats]#/Translation/getAllTranslatorFormats) to get a list of valid export file formats. Set storeInDocument to false to export to a data file. Required: did, wv, wvid, eid, formatName.
- **list_all_onshape_comments** — Get a list of comments in a document. Paginated with offset/limit (max 20 per page).
- **create_a_onshape_comment** — Update a document with a new comment.
- **get_single_onshape_comment_by_id** — Get details for a comment. The id is the comment id. Required: id.
- **update_a_onshape_comment_by_id** — Update the content of an existing comment. The id is the comment id. Required: id.
- **delete_a_onshape_comment_by_id** — Delete a comment from a document. The id is the comment id. Required: id.
- **onshape_comments_add_attachment** — Add an attachment to a comment. Attach a file to the comment. The file must be in JPEG, PNG, or GIF format. Required: cid.
- **onshape_comments_delete_attachments** — Delete all attachments from a comment. Required: cid.
- **onshape_comments_get_attachment** — Get the attachment with the specified file extension that is associated with the specified comment. Returns only a single attachment. Required: cid, fdid, ext. Returns binary file content.
- **onshape_comments_reopen** — Reopen a resolved comment. Required: cid.
- **onshape_comments_resolve** — Resolve a comment. Required: cid.
- **list_all_onshape_companies** — Get all companies to which the specified user belongs. If no user is specified, will return all companies associated with the current user.
- **get_single_onshape_company_by_id** — Get company information by company ID. The id is the company id. Required: id.
- **onshape_companies_get_documents_by_name** — Get document by exact document name. This API can only be called by company admins. Use the name field for the exact document name string. Required: cid, name.
- **onshape_companies_add_global_permissions_for_identity** — Add one or more global permissions to company user or team. List of global permissions to grant. See Onshape Help: Global Permissions for details on each of the available permissions. Required: cid, identity_type, identity_id.
- **onshape_companies_clear_global_permissions** — Remove global permissions for a company user or team. Clear all or some of a user's global permissions. Required: cid, identity_type, identity_id.
- **onshape_companies_list_users** — Get a list of members in a company. Returns a list of members in the specified company. Required: cid. Paginated with offset/limit (max 20 per page).
- **onshape_companies_add_user_to** — Add a user to a company. Returns the company user info. Required: cid.
- **onshape_companies_update_user** — Update the company's information for a user. Returns updated company user info. globalPermissions field is deprecated. Please use the following: addGlobalPermissionsForIdentity clearGlobalPermissions. Required: cid, uid.
- **onshape_companies_remove_user_from** — Remove a user from a company, company teams, and all the direct shares. Required: cid, uid.
- **list_all_onshape_documents** — Get a list of documents that meet the criteria you specify. Paginated with offset/limit (max 20 per page).
- **create_a_onshape_document** — Create and upload a document. The name field is required in the BTDocumentParams schema when creating a new document.
- **onshape_documents_download_external_data** — Download external data file(s) associated with the document. See API Guide: Model Translation for more details. If downloading an exported file, poll the requestState in the translation response and wait for a result of DONE before attempting to download the file. Required: did, fid.
- **onshape_documents_list_versions** — Retrieve versions by document ID. Required: did. Paginated with offset/limit (max 20 per page).
- **onshape_documents_create_version** — Create version by document ID. Required: did.
- **onshape_documents_get_version** — Retrieve version by document ID and version ID. Required: did, vid.
- **onshape_documents_update_external_references_to_latest_documents** — Update external references to latest by document ID, workspace ID, and tab ID. Required: did, wid, eid.
- **onshape_documents_move_elements_to** — Move tab by document ID and workspace ID. Required: did, wid.
- **onshape_documents_revert_unchanged_to_revisions** — . Required: did, wid.
- **onshape_documents_sync_app_elements** — . Required: did, wid.
- **onshape_documents_get_workspaces** — Retrieve workspaces by document ID. Required: did.
- **onshape_documents_create_workspace** — Create workspace by document ID. Required: did.
- **onshape_documents_delete_workspace** — Delete workspace by document ID and workspace ID. Required: did, wid.
- **onshape_documents_get_history** — Retrieve document history by document ID and workspace or microversion ID. Required: did, wm, wmid.
- **onshape_documents_get_contents** — Retrieve tabs and folders by document ID and workspace or version or microversion ID. Returns information on tabs and folders in the document. Required: did, wvm, wvmid.
- **onshape_documents_get_elements_in** — Retrieve tabs by document ID and workspace or version or microversion ID. This endpoint only returns the tabs and not folders in the document. Use the getDocumentContents endpoint to get information about folders and tabs. Required: did, wvm, wvmid.
- **onshape_documents_get_unit_info** — Get the selected units and precision by document ID and workspace or version or microversion ID. Required: did, wvm, wvmid.
- **onshape_documents_get_current_microversion** — Retrieve current microversion by document ID and workspace or version ID. Required: did, wv, wvid.
- **onshape_documents_export_2_json** — Export document by document ID, workspace or version ID, and tab ID. Required: did, wv, wvid, eid, documentId, format. Returns binary file content.
- **onshape_documents_get_insertables** — Retrieve insertables by document ID and workspace or version ID. Required: did, wv, wvid.
- **onshape_documents_search** — Search document. This returns list of documents based on search parameters.
- **get_single_onshape_document_by_id** — Retrieve document by document ID. The id is the document id. Required: id.
- **update_a_onshape_document_by_id** — Update document attributes by document ID. Use updateDocumentNotes to update document notes. The id is the document id. Required: id.
- **delete_a_onshape_document_by_id** — Delete document by document ID. The id is the document id. Required: id.
- **onshape_documents_get_acl** — Retrieve access control list by document ID. Required: did.
- **onshape_documents_update_anonymous_access** — Allow or deny anonymous access to a document or publication. If anonymous access is allowed, you can allow or deny anonymous users the ability to export the document or publication. If anonymousAccessAllowed=false and anonymousAllowsExport=true, the call will throw an error. Required: did.
- **onshape_documents_update_public_access** — Make a document public or private. Set public=true in the request body to make the document public. Set to false to make it private. Free users cannot make documents private. The documentId provided in the URL must match the one provided in the request body exactly. Required: did.
- **onshape_documents_update_notes** — Update document notes by document ID. Use this endpoint to update documents notes. Use updateDocumentAttributes to update other document attributes. Required: did.
- **onshape_documents_get_permission_set** — Retrieve Document permissions by document ID. Required: did.
- **onshape_documents_share_document** — Share document by document ID. Required: did.
- **onshape_documents_un_share** — Remove document View permissions from a user or other entity. Specify the ID of the entity to unshare with in the eid field, and specify the type of entity being identified in the entryType field. For example, to unshare a document with a company, you would use 1 as the entryType value and the companyId as the entityId. Required: did, entityId.
- **onshape_documents_share_with_support** — Share document by document ID with Onshape support. Required: did.
- **onshape_documents_unshare_from_support** — Unshare document with support. Required: did.
- **onshape_documents_merge_preview** — Merge preview of changes that will occur based on document ID, workspace ID and source workspace/version ID. Required: did, wid, sourceType, sourceId.
- **onshape_documents_restore_from_history** — Restore version or microversion to workspace by document ID, workspace ID, and version or microversion ID. Required: did, wid, vm, vmid.
- **onshape_documents_copy_workspace** — Copy workspace by document ID and workspace ID. Required: did, wid.
- **onshape_documents_merge_into_workspace** — Merge into workspace by document ID and workspace ID. Required: did, wid.
- **onshape_drawings_create_app_element** — Create a new drawing in a document. This endpoint takes a JSON Schema as input. See the schema docs below for details, and see API Guide: Drawings for more information. Required: did, wid.
- **onshape_drawings_modify_drawing** — Modify a drawing via JSON payload. See API Guide: Drawings for more information.When polling for drawing modifications to complete, use a reasonable interval (e.g., avoid polling multiple times a second, use an exponential backoff strategy, etc.). See Rate Limiting and API Limits for more information. Required: did, wid, eid.
- **onshape_drawings_get_translator_formats** — Get a list of all valid formats the drawing can be translated (exported) to. See API Guide: Translations for more information. Required: did, wid, eid.
- **onshape_drawings_get_views** — Get details of all drawing views. Required: did, wvm, wvmid, eid.
- **onshape_drawings_get_view_json_geometry** — Get view geometry of a drawing view in JSON format. Required: did, wvm, wvmid, eid, viewid.
- **onshape_drawings_create_translation** — Translate (export) a drawing to a different format. Export a drawing to a different format within a document. Use getDrawingTranslatorFormats for a list of supported translation (i.e., import/export) formats. See API Guide: Translations for more information. Required: did, wv, wvid, eid, formatName.
- **onshape_drawings_get_modification_status** — Get the status of a drawing modification operation. Required: mrid.
- **onshape_elements_copy_from_source_document** — Copy an element from a source document. Specify the target document and workspace in the URL. Specify the source document, workspace, and element in the request body. If anchorElementId is specified, the copied element will be inserted after the anchor element. Required: did, wid.
- **onshape_elements_encode_configuration_map** — Encode a configuration option for use in other API calls. 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 for additional details. Required: did, eid.
- **onshape_elements_delete_element** — Delete an element from a document. Attempting to delete the last element in a document will result in an error. Required: did, wid, eid.
- **onshape_elements_update_references** — Update or replace references in an element. Required: did, wid, eid.
- **onshape_elements_get_configuration** — Get the configuration definition for a Part Studio, Variable Studio, or Assembly. Use Configurations to create variations of elements. You can configure feature and parameter values, part properties, custom part properties, face and part appearances, and sketch text. Each Part Studio can have only one Configuration, but it can contain multiple Configuration inputs. Required: did, wvm, wvmid, eid.
- **onshape_elements_update_configuration** — Update the configuration definition for a Part Studio, Variable Studio, or Assembly. See the Configuration API Guide for additional details. Required: did, wvm, wvmid, eid.
- **onshape_elements_decode_configuration** — Decode a configuration string into its original JSON form to obtain configuration parameter ID and value. See the Configuration API Guide for additional details. Required: did, wvm, wvmid, eid, cid.
- **onshape_elements_get_translator_formats_by_version_or_workspace** — Gets the list of formats an element can be translated to or from. See the Translation API Guide for additional details. Required: did, wv, wvid, eid.
- **onshape_export_rules_get_valid_options** — Get a list of valid export rule options for the user or company. Does NOT get the rules themselves; it gets the information used to create them. Required: cu, cuid.
- **onshape_feature_studios_create_feature_studio** — Create a new Feature Studio tab in a document. Specify the name for the new tab in the request body. Required: did, wid.
- **onshape_feature_studios_replace_std_versions** — Replace the standard library version of the imports in the Feature Studios of a workspace. Rewrites the version of every onshape/std import selected by the includeVersions and excludeVersions filters, using the same filter syntax as the standard library version search. Required: did, wid, replaceWith.
- **onshape_feature_studios_get_contents** — Get the text for a Feature Studio element. Required: did, wvm, wvmid, eid.
- **onshape_feature_studios_update_contents** — Update the text for a Feature Studio element. Required: did, wvm, wvmid, eid.
- **onshape_feature_studios_get_specs** — Get the feature specs for a Feature Studio element. Required: did, wvm, wvmid, eid.
- **onshape_feature_studios_get_std_version_matches** — Find the standard library versions imported by the Feature Studios of a document. Reports every onshape/std import whose version is selected by the includeVersions and excludeVersions filters, one entry per Feature Studio. Required: did, wvm, wvmid.
- **onshape_folders_get_acl** — Get the Access Control List (ACL) for a folder to view permissions. Returns the ACL of permission objects. Each object contains: The type of entity 0 (User) 1 (Company) 2 (Team) 3 (Document) 4 (Application) The ID of the entity for the specified type. The permissions for that entity. Required: fid.
- **onshape_folders_share** — Share folder with an entity. Specify the type of entity to share with using entries.entryType: 0 (User) 1 (Company) 2 (Team) 3 (Document) 4 (Application) Provide one of the identifiers in the entries object in the request body. You can share with non-Onshape users with the email field when entryType=0. Required: fid.
- **onshape_folders_un_share** — Remove permissions from the folder for the specified Access Control List (ACL) entry. Provide the folder ID for the folder to unshare. Provide the entityType for the type of entity to remove. 0 (User) 1 (Company) 2 (Team) 3 (Document) 4 (Application) Provide the entity ID in the eid param. Required: fid, eid.
- **onshape_insertables_get_latest_in_document** — Get a list of things in this document that can be inserted elsewhere. Returns only the latest revision of released insertables. Use the document ID (did) parameter to specify the source document, not the insertion target. For example, you can insert a custom Feature library into another custom Feature library, insert Parts into an Assembly or a Drawing, etc. Required: did.
- **list_all_onshape_items** — Get all items owned by a company/classroom/enterprise. Returns a list of all items owned by the company/classroom/enterprise. Either documentId or companyId must be provided. Paginated with offset/limit (max 20 per page).
- **create_a_onshape_item** — Create a new item.
- **get_single_onshape_item_by_id** — Get item by ID. Either documentId or companyId must be provided, in addition to the item ID. The id is the item id. Required: id.
- **update_a_onshape_item_by_id** — Update an item. The id is the item id. Required: id.
- **delete_a_onshape_item_by_id** — Delete an item. Items can only be deleted if publishState = 0 (PENDING). GET /items/{iid} to get the publishState. The id is the item id. Required: id.
- **onshape_material_libraries_update_library** — Updates an existing material library. Update a material in an Onshape Material Library from a csv file. Changes made replace the existing library. Required: did, wid, eid.
- **onshape_material_libraries_get_library** — Get a list of materials from a material library. Get a JSON representation of the material library. Required: did, wvm, wvmid, eid.
- **onshape_metadata_get_wmv_es** — Get the metadata for all elements in a document. See API Guide: Metadata for details. You can specify the optional depth query parameter to get multiple levels in an assembly. Default depth is 1. linkDocumentId can be specified where applicable. Combined with inferMetadataOwner (default value is false), this is used to infer metadata owner. Required: did, wvm, wvmid.
- **onshape_metadata_get_wmve** — Get the metadata for an element. See API Guide: Metadata for details. linkDocumentId can be specified where applicable and this combined with the query param inferMetadataOwner (default value is false) will be used to infer metadata owner. configuration optional query parameter defaults to default configuration. Required: did, wvm, wvmid, eid.
- **onshape_metadata_update_wve** — Update the metadata for an element. See API Guide: Metadata for details. Microversion (m) in wvm path parameter option is not supported. Specify the property metadata to update in the Request body. Required: did, wvm, wvmid, eid.
- **onshape_metadata_get_full_assembly** — Get the metadata for an assembly, including supporting metadata. See API Guide: Metadata for details. linkDocumentId can be specified where applicable and this combined with the query param inferMetadataOwner (default value is false) will be used to infer metadata owner. configuration optional query parameter defaults to default configuration. Required: did, wvm, wvmid, eid.
- **onshape_metadata_get_wmve_ps** — Get the metadata for all parts in a document. See API Guide: Metadata for details. The configuration optional query parameter uses the default configuration unless otherwise specified. You can specify an optional depth query parameter to get multiple levels in an assembly. Default depth is 1. linkDocumentId can be specified where applicable. Required: did, wvm, wvmid, eid.
- **onshape_metadata_get_wmvep** — Get the metadata for a part. See API Guide: Metadata for details. Specify the part in the iden or pid path parameter. The configuration optional query parameter uses the default configuration unless otherwise specified. linkDocumentId can be specified where applicable. Required: did, wvm, wvmid, eid, iden, pid.
- **onshape_metadata_update_wvep** — Update the metadata for a part. See API Guide: Metadata for details. Specify the part in the iden or pid path parameter. The configuration optional query parameter uses the default configuration unless otherwise specified. linkDocumentId can be specified where applicable. Required: did, wvm, wvmid, eid, iden, pid.
- **onshape_metadata_get_wv** — Get the metadata for a workspace or version. See API Guide: Metadata for details. linkDocumentId can be specified where applicable. Combined with inferMetadataOwner (default value is false), this is used to infer metadata owner. You can specify an optional depth query parameter to get multiple levels in an assembly. Default depth is 1. Required: did, wv, wvid.
- **onshape_metadata_update_wv** — Update the metadata for a workspace or version. See API Guide: Metadata for details. Required: did, wv, wvid.
- **onshape_metadata_update_veop_standard_content_part** — Update the metadata for a standard content part. Specify the property metadata to update in the Request body. See API Guide: Metadata for an example. Required: did.
- **onshape_metadata_get_veop_standard_content** — Get the metadata for a standard content part. See API Guide: Metadata for details. Specify the part in the pid path parameter. The configuration and linkDocumentId query parameters are required. includeComputedProperties can be used to include or omit computed properties. Default value is true. Required: did, vid, eid, pid.
- **onshape_metadata_categories_get_properties** — Get properties associated with the specified metadata categories. An object's category specifies its type: Part, Assembly, Drawing, etc. Available properties depend on the object's category.
- **onshape_numbering_schemes_next_numbers** — Get the next available part number for a release item. Provide either the company ID or the ID of a document owned by the company. See API Guide: Release Management for an example.
- **onshape_openapi_get_open_api** — Get the OpenAPI specification for the Onshape REST API. The Onshape API OpenAPI specification is returned in the JSON format.
- **onshape_openapi_get_tags** — Get the list of tags in the Onshape OpenAPI specification. Tags are used to group operations. For example, Document groups operations on documents.
- **onshape_part_numbers_update_next_numbers** — See NumberingScheme.nextNumbers.
- **onshape_parts_get_parts_wmv** — Get all parts in a workspace, version, or microversion. Required: did, wvm, wvmid, elementId.
- **onshape_parts_get_parts_wmve** — Get all parts in an element. Required: did, wvm, wvmid, eid.
- **onshape_parts_get_body_details** — Get a part's body details. All coordinates are in meters (m). Required: did, wvm, wvmid, eid, partid.
- **onshape_parts_get_bounding_boxes** — Get a part's bounding box details. Required: did, wvm, wvmid, eid, partid.
- **onshape_parts_export_gltf** — Synchronously export a part to a glTF file. Creates a synchronous export of the part (with limited tessellation settings) to a glTF file. Returns a 307 redirect from which to download the exported file. Export is much faster than asynchronous endpoints at the expense of limited control on tessellation settings. Required: did, wvm, wvmid, eid, partid. Returns binary file content.
- **onshape_parts_get_mass_properties** — Get a part's mass properties. Parts must have density. The returned schema includes the same information as in the Onshape Mass Properties Tool. When three values are returned: The first is the calculated value. The second is the minimum possible value, considering tolerance. Required: did, wvm, wvmid, eid, partid.
- **onshape_parts_export_ps** — Synchronously export a part to a Parasolid file. Creates a synchronous export of the part (with limited tessellation settings) to a Parasolid file. Returns a 307 redirect from which to download the exported file. Export is much faster than asynchronous endpoints at the expense of limited control on tessellation settings. Required: did, wvm, wvmid, eid, partid. Returns binary file content.
- **onshape_parts_get_shaded_views** — Get a part's shaded views. Required: did, wvm, wvmid, eid, partid.
- **onshape_parts_get_bend_table** — Get a part's sheet metal bend table. Required: did, wvm, wvmid, eid, partid.
- **onshape_parts_export_stl** — Synchronously export a part to an STL file. Creates a synchronous export of the part (with limited tessellation settings) to an STL file. Returns a 307 redirect from which to download the exported file. Export is much faster than asynchronous endpoints at the expense of limited control on tessellation settings. Required: did, wvm, wvmid, eid, partid. Returns binary file content.
- **onshape_parts_get_edges** — Get a list of a part's tessellation edges. Returns the coordinates (in meters) of each edge's endpoints. Required: did, wvm, wvmid, eid, partid.
- **onshape_parts_get_faces** — Get a list of a part's tessellation faces. Coordinates are in meters (m). Required: did, wvm, wvmid, eid, partid.
- **onshape_part_studios_get_named_views** — Get a list of all named views that exist in the Part Studio. Returns a map from view name to view data for the given element. See the Part Studios API Guide for details and tutorials. Required: did, eid.
- **onshape_part_studios_create_part_studio** — Create a new Part Studio in a document. See the Part Studios API Guide for details and tutorials. Required: did, wid.
- **onshape_part_studios_update_feature** — Update the definition of a Part Studio feature. Replaces an existing feature in the location of the existing feature. See the Features API Guide for additional information. Required: did, wid, eid, fid.
- **onshape_part_studios_delete_feature** — Delete a Part Studio feature. See the Features API Guide for additional information. Required: did, wid, eid, fid.
- **onshape_part_studios_update_rollback** — Move the Feature List rollback bar in the Part Studio. Replace "string" in the request body with an object that specifies the new location for the rollback bar: { "rollbackIndex": integer } For example: { "rollbackIndex": 2 } Set to -1 to move the rollback bar to the end of the list. See the Part Studios API Guide for details and tutorials. Required: did, wid, eid.
- **onshape_part_studios_update_features** — Update multiple features in a Part Studio. This API accepts a list of features (that must already exist in the Part Studio) to update. This call does not fully redefine the features; it updates only the parameters supplied in the top-level feature structure, and optionally can update feature suppression attributes. Required: did, wid, eid.
- **onshape_part_studios_get_body_details** — Get the body details for a Part Studio. See the Part Studios API Guide for details and tutorials. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_bounding_boxes** — Get the bounding boxes for a Part Studio. This endpoint does not result in a tight bounding box. The values returned are meant for graphics and visualization, and are approximate. To calculate a tight bounding box, see the FeatureScript API Guide. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_compare_part_studios** — Get the differences between two Part Studios in a single document. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_features** — Get a list of features instantiated in the Part Studio. See the Features API Guide for additional information. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_add_feature** — Add a feature to the Part Studio's Feature List. The feature is added immediately before the rollback bar. Any geometry IDs specified in the feature must be valid at that point in the feature tree. See the Features API Guide for additional information. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_eval_feature_script** — Evaluate the FeatureScript snippet for a Part Studio. See API Guide: Evaluating FeatureScript for more details. Note that only lambda expressions can be evaulated with this endpoint. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_feature_script_representation** — Get the FeatureScript representation of a Part Studio. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_feature_specs** — Get the specs for a Part Studio feature. Returns a list of feature specs available within the Part Studio. A feature spec provides a data description of the feature's interface to a feature. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_feature_script_table** — Compute and return a FeatureScript table for a Part Studio. Required: did, wvm, wvmid, eid, tableType.
- **onshape_part_studios_export_gltf** — Synchronously export a Part Studio to a glTF file. Creates a synchronous export of the Part Studio (with limited tessellation settings) to a glTF file. Returns a 307 redirect from which to download the exported file. Export is much faster than asynchronous endpoints at the expense of limited control on tessellation settings. Required: did, wvm, wvmid, eid. Returns binary file content.
- **onshape_part_studios_translate_ids** — Find corresponding deterministic IDs from a source document microversion at the target version. Deterministic IDs are only valid for one microversion. This maps deterministic IDs between microversions in an attempt to find the corresponding entities in each version. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_mass_properties** — Get the mass properties for a Part Studio. Parts must have density. The returned schema includes the same information as in the Onshape Mass Properties Tool. When three values are returned: The first is the calculated value. The second is the minimum possible value, considering tolerance. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_export_parasolid** — Synchronously export a Part Studio to a Parasolid file. Creates a synchronous export of the Part Studio (with limited tessellation settings) to a Parasolid file. Returns a 307 redirect from which to download the exported file. Export is much faster than asynchronous endpoints at the expense of limited control on tessellation settings. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_shaded_views** — Get a list of shaded views for a Part Studio. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_export_stl** — Synchronously export a Part Studio to an STL file. Creates a synchronous export of the Part Studio (with limited tessellation settings) to an STL file. Returns a 307 redirect from which to download the exported file. Export is much faster than asynchronous endpoints at the expense of limited control on tessellation settings. Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_edges** — Get a list of all edges in a Part Studio. Returns the edges as tessellated data and includes display data. Coordinates are in meters (m). Required: did, wvm, wvmid, eid.
- **onshape_part_studios_get_faces** — Get a list of all faces in a Part Studio. Coordinates are in meters (m). Required: did, wvm, wvmid, eid.
- **onshape_part_studios_create_export_gltf** — Asynchronously export a Part Studio to glTF. Creates an asynchronous export of a Part Studio to glTF. See API Guide: Asynchronous Exports for more details. Required: did, wv, wvid, eid.
- **onshape_part_studios_create_export_obj** — Asynchronously export a Part Studio to OBJ. Creates an asynchronous export of a Part Studio to OBJ. See API Guide: Asynchronous Exports for more details. Required: did, wv, wvid, eid.
- **onshape_part_studios_create_export_step** — Asynchronously export a Part Studio to STEP. Creates an asynchronous export of a Part Studio to STEP. See API Guide: Asynchronous Exports for more details. Required: did, wv, wvid, eid.
- **onshape_part_studios_create_translation** — Asynchronously export a Part Studio to another format. Creates an asynchronous export of a Part Studio to another file format. Can take longer than synchronous export options, but supports more formats and provides more control on tessellation and other settings. Use formatName in the JSON request body to specify the export file type. Required: did, wv, wvid, eid, formatName.
- **onshape_sketches_get_info** — Get information for all sketches in Part Studio. Required: did, wvm, wvmid, eid.
- **onshape_sketches_get_bounding_boxes** — Get all bounding boxes for a sketch. Required: did, wvm, wvmid, eid, sid.
- **onshape_sketches_get_tessellated_entities** — Get the tessellations of a sketch in a Part Studio. The accuracy of the tessellation to exact geometry is controlled by the angleTolerance and chordTolerance parameters. The tessellation points are computed closely enough so that neither the angle tolerance nor the chord tolerance are exceeded. Required: did, wvm, wvmid, eid, sid.
- **onshape_product_structure_get_where_used** — Find where a part or assembly is used. Only supported for Enterprise and Professional plans. See Dev Docs: Where Used for a tutorial on using this endpoint.
- **create_a_onshape_publication** — Create a new publication.
- **onshape_publications_update_attributes** — Update publication's attributes name, description, and notes. Required: pid.
- **onshape_publications_delete_publication** — Delete a publication. Required: pid.
- **onshape_publications_add_item_to** — Add an item in a publication. Required: pid.
- **onshape_publications_delete_item** — Remove an item from a publication. Required: pid, iid.
- **onshape_publications_get_items** — Get all items in a publication. Required: pid.
- **onshape_publications_add_items_to** — Add publication items in bulk. Required: pid.
- **onshape_release_packages_create_obsoletion** — Create an obsoletion candidate to make an existing revision obsolete. Required: wfid, revisionId.
- **onshape_release_packages_create_release_package** — Create a new release candidate for one or more items. This endpoint creates a release candidate with items added to it. It does <b>not</b> release the candidate. Once the release candidate is successfully created, use updateReleasePackage to update all desired item/candidate properties, and transition it to the desired release state. Required: wfid.
- **onshape_release_packages_get_release_package** — Get details about the specified release candidate. Required: rpid.
- **onshape_release_packages_update_release_package** — Update the release/obsoletion candidate/item properties. Use this endpoint to submit the release. Release candidates must first be created with the createReleasePackage endpoint. Required: rpid.
- **onshape_revisions_get_by_part_number** — Get details for the specified revision. If the revision parameter is left blank, the latest revision information is returned. See API Guide: Release Management for more details. Required: cid, pnum.
- **onshape_revisions_enumerate_revisions** — Get all revisions for a company. See API Guide: Release Management for more details. Returns a list of limit size of all objects per API call. To get the next set of results, use the next URL from the response body. Do not change any other query parameters during subsequent enumeration. Required: cid.
- **onshape_revisions_get_history_in_company_by_element_id** — Get all revisions for an element (tab). See API Guide: Release Management for more details. Required: cid, did, wv, wvid, eid, elementType.
- **onshape_revisions_get_history_in_company_by_part_id** — Get all revisions for a part ID. See API Guide: Release Management for more details. Required: cid, did, wv, wvid, eid, pid.
- **onshape_revisions_get_history_in_company_by_part_number** — Get all revisions for a part number. You can also request elementType in addition to partNumber since companies may or may not allow drawings to share part numbers with their parts/assemblies. To perform search without elementType, use elementType = -1 (UNKNOWN). See API Guide: Release Management for more details. Required: cid, pnum, elementType.
- **onshape_revisions_delete_history** — Delete all revisions for a part number. Only company admins can call this API. All documents that contain or use the part number must be deleted first. This operation cannot be undone. Required: cid, pnum, et.
- **onshape_revisions_get_all_in_document** — Get all revisions for a document. Retrieve a list of all revisions that exist in a document and are owned by the document's owning company. See API Guide: Release Management for more details. Required: did.
- **onshape_revisions_get_all_in_document_version** — Get all revisions for a version. Retrieve a list of all revisions that exist in a document version and are owned by the document's owning company. See API Guide: Release Management for more details. Required: did, vid.
- **onshape_revisions_get_latest_in_document_or_company** — Get the latest revision information for a part. See API Guide: Release Management for more details. Returns 204 if no revisions are found. Required: cd, cdid, pnum, et.
- **onshape_standard_content_set_custom_parameters** — Sets the part number and description for a standard content component. Required: did.
- **onshape_standard_content_get_parameter_values_for_id** — Gets all possible values for each of the standard content parameters. Required: did.
- **onshape_standard_content_get_list** — List all standard content.
- **create_a_onshape_table_template** — Create a new properties table template.
- **onshape_table_templates_get_by_company_id** — Get all properties table templates available for a company. Required: cid.
- **onshape_table_templates_get_by_document_id** — Get all table templates that are available to use on the provided document. Required: did.
- **onshape_table_templates_get_table_template** — Get a properties table template by template ID. Required: tid.
- **onshape_table_templates_delete_table_template** — Delete a properties table template. Required: tid.
- **list_all_onshape_tasks** — Lists tasks assigned to the specified user. Returns a list of tasks assigneed to the userId specified in the request. Only company admins can view tasks that were not created by them and are not assigned to them. Paginated with offset/limit (max 20 per page).
- **create_a_onshape_task** — Create a new task in a draft state. Required: companyId.
- **get_single_onshape_task_by_id** — Get a task by id. The id is the id (transaction, task, team, translation or table template, per the path). Required: id.
- **update_a_onshape_task_by_id** — Update the task and its properties. The id is the id (transaction, task, team, translation or table template, per the path). Required: id.
- **onshape_tasks_transition_task** — Execute a workflow transition. Required: tid, transition.
- **list_all_onshape_teams** — Get a list of all teams the current user belongs to. Paginated with offset/limit (max 20 per page).
- **get_single_onshape_team_by_id** — Get team information by team ID. The id is the id (transaction, task, team, translation or table template, per the path). Required: id.
- **onshape_teams_list_members** — Get a list of a team's members. Returns a maximum of 20 per page. Required: tid. Paginated with offset/limit (max 20 per page).
- **onshape_thumbnails_get_for_document** — Get the thumbnail info for a document in the default workspace. By default, returns thumbnail info for the element with the most-recently generated image. If you pinned an element for the document thumbnail, that element will always be used for the document-level thumbnail, if it exists in the workspace. Required: did.
- **onshape_thumbnails_get_for_document_and_version** — Get the thumbnail info for a version of a document. By default, returns thumbnail info for the element with the most-recently generated image. If you pinned an element for the document thumbnail, that element will always be used for the document-level thumbnail, if it exists in the workspace. Required: did, vid.
- **onshape_thumbnails_get_document** — Get the thumbnail info for a workspace. By default, returns thumbnail info for the element with the most-recently generated image. If you pinned an element for the document thumbnail, that element will always be used for the document-level thumbnail, if it exists in the workspace. Required: did, wid.
- **onshape_thumbnails_get_element_with_api_configuration** — Get the thumbnail image with the given configuration for an element. Returns the thumbnail image for an element at a specified version, with the given configuration. Required: did, wid, eid, cid, sz. Returns binary file content.
- **onshape_thumbnails_get_document_with_size** — Get the thumbnail image with the given size for a document. By default, returns thumbnail image for the element with the most-recently generated image. If you pinned an element for the document thumbnail, that element will always be used for the document-level thumbnail, if it exists in the workspace. Required: did, wid, sz. Returns binary file content.
- **onshape_thumbnails_get_element** — Get the thumbnail info structure for an element. Returns thumbnail info for the given document, workspace or version, and element. Required: did, wv, wvid, eid.
- **onshape_thumbnails_set_application_element** — Set the thumbnail image for an application element. Allows 3rd-party applications to set thumbnails for their elements. Application elements can have both primary and secondary thumbnails. A primary thumbnail represents the top-level of the element. A secondary thumbnail can represent sub-components of the element (e.g., a drawing sheet). Required: did, wv, wvid, eid.
- **onshape_thumbnails_delete_application_thumbnails** — Delete an element's thumbnail. Deletes an application element's thumbnail and images for the given document, workspace or version, and element combination. Required: did, wv, wvid, eid.
- **onshape_thumbnails_get_element_with_size** — Get the thumbnail image with the given size for an element. Required: did, wv, wvid, eid, sz. Returns binary file content.
- **onshape_thumbnails_get_for_document_old** — This endpoint will be deprecated soon. Use getThumbnailForDocument instead. This API exists for historical reasons. It uses /document/ in the path, rather than the standard /d/ to specify the document. Required: did.
- **onshape_thumbnails_get_for_document_and_version_old** — This endpoint will be deprecated soon. Use getThumbnailForDocumentAndVersion instead. This API exists for historical reasons. It uses /document/ in the path, rather than the standard /d/ to specify the document. Required: did, vid.
- **onshape_translations_list_document_translations** — Get information on an in-progress or completed translation by document ID. Required: did. Paginated with offset/limit (max 20 per page).
- **onshape_translations_create_translation** — Import or upload a CAD file into Onshape, and translate the data into parts or assemblies. 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. Required: did, wid.
- **onshape_translations_get_all_translator_formats** — Get a list of formats this translation can use. Note that we don't necessarily support both import and export for any given format. See API Guide: Model Translation for more details.
- **onshape_translations_get_translation** — Get information on an in-progress or completed translation by translation ID. When the translation is complete, requestState changes from ACTIVE to DONE or FAILED. See API Guide: Model Translation for more details. Required: tid.
- **onshape_translations_delete_translation** — Delete a translation request. Required: tid.
- **onshape_users_session_info** — Get the session information for an authenticated (signed-in) user. Returned information depends on caller's OAuth2ReadPll scope.
- **onshape_users_get_settings_current_logged_in** — Get the user settings for the signed-in user (i.e., you) for the current session. Non-admins can call this API for their own user ID. Mouse button settings are contained in reverseScrollWheelZoomDirection and viewManipulationMouseKeyMapping. For each action in viewManipulationMouseKeyMapping, an array of modifier key/mouse combos is provided that performs that action.
- **onshape_users_get_settings** — Get the user settings for any user in your organization (admins only). Mouse button settings are contained in reverseScrollWheelZoomDirection and viewManipulationMouseKeyMapping. For each action in viewManipulationMouseKeyMapping, an array of modifier key/mouse combos is provided that performs that action. Possible modifier keys include SHIFT and CTRL. Required: uid.
- **onshape_variables_set_variables** — Assign variables to a Variable Studio. Required: did, wid, eid.
- **onshape_variables_set_variable_references** — Set the Variable Studio references for an element. Required: did, wid, eid.
- **onshape_variables_set_variable_scope** — Set the scope the Variable Studio. Required: did, wid, eid, isAutomaticallyInserted.
- **onshape_variables_create_variable** — Create a new Variable Studio in a document and workspace. Required: did, wid.
- **onshape_variables_get_variables** — Get the contents of all variable tables in an element. Required: did, wv, wvid, eid.
- **onshape_variables_get_variable_references** — Get the Variable Studio references for an element. Required: did, wv, wvid, eid.
- **onshape_variables_get_variable_scope** — Get the scope of a Variable Studio. Required: did, wv, wvid, eid.
- **list_all_onshape_versions** — Get all versions of the Onshape REST APIs.
- **list_all_onshape_webhooks** — Get a list of all webhooks registered by a user or company. See API Guide: Webhooks for implementation details. Paginated with offset/limit (max 20 per page).
- **create_a_onshape_webhook** — Create a new webhook. Click Callbacks below for a list of events your app can subscribe to. See API Guide: Webhooks for implementation details.
- **get_single_onshape_webhook_by_id** — Get webhook info by webhook ID. See API Guide: Webhooks for implementation details. The id is the webhook id. Required: id.
- **update_a_onshape_webhook_by_id** — Update a webhook. See API Guide: Webhooks for implementation details. The id is the webhook id. Required: id.
- **delete_a_onshape_webhook_by_id** — Unregister a webhook. See API Guide: Webhooks for implementation details. The id is the webhook id. Required: id.
- **onshape_webhooks_ping_webhook** — Ping a webhook. See API Guide: Webhooks for implementation details. Required: webhookid.
- **onshape_workflows_get_active** — Get all active workflows for the currently logged in user's company. Optionally takes a document ID to return all workflows for that document's owning company.
- **onshape_workflows_get_allowed_approvers** — Get all identities allowed to be approvers on a workflow object. Identities can be users and/or teams. For Enterprise accounts, also includes roles and any aliases that contain allowed users/teams. Not object- or property-specific. Used for delegation and company settings. Required: companyId.
- **onshape_workflows_enumerate_object_workflows** — Enumerate all of a company's workflowable objects. For example, you can enumerate RELEASES, TASKS, etc in a company by last modified time. Caller must be a company admin. Specify modifiedAfter and use the next URI for complete enumeration. Required: cid.
- **onshape_workflows_get_by_id** — Lightweight information about the current state of a workflowable object like release package. Caller must be a company admin as this api allows access to all company owned workflowable objects. Required: objectId.
- **onshape_workflows_get_audit_log** — Get all audit log entries for a workflowable object. Required: objectId.

## How it works

1. **Link your customer's Onshape account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Onshape.** The Proxy API is a 1-to-1 mapping of the Onshape API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Offer instant CAD-to-Quote for manufacturing customers** — If you build a CNC, sheet metal, 3D printing, or CAM quoting platform, let users import parts directly from Onshape instead of uploading STEP files manually. Pull geometry, mass properties, and material metadata to auto-generate quotes in seconds.
- **Sync released BOMs into ERP and MRP systems** — For ERP, MRP, or inventory SaaS serving hardware teams, listen for Onshape release events and sync the Bill of Materials, part numbers, and revisions into your system — then write back internal IDs and cost data so both platforms stay linked.
- **Embed your tool as a native Onshape App Element** — If you build simulation (CAE), rendering, CAM, or PLM software, create a dedicated tab inside the user's Onshape document to store your proprietary JSON data alongside their CAD — giving users a seamless experience without ever leaving Onshape.
- **Add 3D CAD previews to hardware PM and issue tracking tools** — For hardware-focused project management, QMS, or issue tracking tools, let users paste an Onshape link and automatically render thumbnails or interactive glTF 3D viewers inside tickets, docs, or review threads.
- **Power PLM and release workflows for regulated industries** — For PLM, QMS, or compliance SaaS serving medical device, aerospace, or automotive customers, read and trigger Onshape's release packages, revision history, and workflow approvals to link CAD states with quality and compliance records.

## What you can build

- **One-click CAD import with geometry export** — Let users browse their Onshape documents and import a part or assembly as STEP, STL, glTF, or Parasolid for downstream processing.
- **Automated BOM extraction and sync** — Pull hierarchical Bill of Materials from any Onshape assembly and keep it in sync with your database on every release or version event.
- **Release-triggered automations via webhooks** — Subscribe to Onshape webhooks for model lifecycle and version events to trigger ERP syncs, notifications, or downstream workflows the moment a design is released.
- **Mass properties and costing engine** — Fetch volume, mass, surface area, and material metadata from Onshape parts to drive quoting, shipping estimates, or material cost calculations in real time.
- **Native Onshape App Element tab** — Create a dedicated tab inside the customer's Onshape document to store simulation results, CAM toolpaths, or PLM sync state as structured JSON.
- **Two-way metadata writeback** — Push your internal part numbers, costs, or status fields back into Onshape custom properties so engineers see your system's data directly on the CAD part.
- **Embedded 3D previews and thumbnails** — Render high-quality thumbnails or interactive glTF viewers of any Onshape document or element inside your product's UI.

## FAQs

### How does authentication work for Onshape through Truto?

Onshape supports OAuth 2.0, which Truto handles end-to-end. Your end users click Connect, authorize access to their Onshape account, and Truto manages token storage, refresh, and expiry so you can call the API with a single integrated account ID.

### Can we extract Bill of Materials data from Onshape assemblies?

Yes. Truto exposes Onshape's BOM endpoint to return the full hierarchical parts list for any assembly, including nested sub-assemblies, quantities, and part metadata — ideal for ERP, MRP, and procurement syncs.

### What CAD export formats are supported?

Through Truto you can trigger Onshape exports to STEP, STL, Parasolid, glTF, and OBJ for both parts and assemblies, either synchronously for small files or asynchronously via Onshape's translation API for larger models.

### How do we get real-time updates when a design changes or is released?

Truto supports creating, listing, updating, and deleting Onshape webhooks. You can subscribe to events like model lifecycle changes and new document versions, and Truto normalizes delivery into your application.

### Can we store our own data inside the customer's Onshape document?

Yes. Onshape's App Elements let you create a dedicated tab in the user's document and store structured JSON, blob sub-elements, or references. Truto exposes the full App Elements API, including transactions, so you can persist your app's state alongside the CAD.

### Can we write custom metadata back to Onshape parts?

Yes. Truto supports Onshape's metadata update endpoints at the workspace, version, element, and part level, so you can push internal IDs, costs, statuses, or any custom property back into Onshape.

### Does Truto handle Onshape's rate limits and pagination?

Yes. Truto manages rate limiting, retries, and pagination for Onshape list endpoints automatically, so you don't need to build this logic yourself.
