6 Apr 2021

First Autodesk Forma specific API - Forms API

Follow @Xiaodong Liang

Update at Oct 2026:

This blog was originally published alongside the first release of the Forms API. Over the past few years, the Forms API has evolved significantly, and some of the original APIs have since been deprecated.

To keep this blog up to date, we have struck through outdated information and added the latest updates. All documentation links have also been redirected to the current documentation.

In addition, the Forms API team is currently going through the deprecation process for some legacy API versions. Please migrate to the newer APIs before the deprecation deadline. See the other blog for more details.

-------------

The first Autodesk Forma specific API, Forms API, has been released as public beta!

Forms is one of modules in Autodesk Forma Build. It allows your team to securely fill out, review, and manage project forms, in a format of checklist fields. The template can be a web form defined by template builder, or from a pdf file with smart fields. The contributors create form with the template and input their answer, options, notes, signatures etc. The form will be submitted finally for reviewers to review. Check product help for details.

In this release, two read endpoints are provided:

  • GET form-templates
    • This endpoint returns all the templates data, including ones in folders.
    • It tells the template types such as quality, safety, daily-log, time sheet
    • If it is pdf template, signed-url will be available to download the source template pdf file.
  • GET Forms   
    • This endpoint returns all forms, including basic information of pdf form and web form.
    • Now, web form values, pdf values and table values are managed by separate API endpoints. see the other blog for more details. 
    • For pdf forms, pdfValues array are the input values of the smart fields. 
    • For web forms, customValues array are the input values of the defined fields. Each type of value will go with corresponding json value, other value types will be null.
    • For common forms, Equipment/Material/Worklog are grouped at tabularValues array.

Notes:

  • To use Forms API, which is Forma specific API, you will need to include Forma APIs category when generating Client ID in Create App page.  
  • Forms API supports 3-legged authentication and also SSA authentication.
  • The accessibility of data for the templates/forms follows the permissions of contributors/reviewers when template is defined.
  • References of Form or attachments of Form Field can be achieved by Relationship API. However Attachment if Form has not exposed APIs.
  • Currently read-only.   
  • If it is a web form, no field s definitions yet with GET:Forms. 
  • Current API does not tell the data about Contributor Collaboration.
  • Get templates API tells the permissions in group id or user id, but because Administration API or Project API of Forma have not been exposed, it is not possible to know more details of the group/user right now.  

For more information about the Forms API, please check out the official API documentation on APS developer portal. The tutorial section will be a good starting point to understand how Forms API works.

Documentation:

Code Samples on GitHub: 

This is the beginning of new Forma specific API. Stay tuned for more Forma APIs to follow! If you have questions and feedback, please contact us: https://aps.autodesk.com/get-help 

 

 

Related Article