FormsForm folders
Create a form folder
POST
At the top level unless parentId is set. Refused with 400 when the parent is not one of the project's folders.
Who may call it: Anyone on the project whose permission profile allows form-template.create. API keys: yes, given form-template.create for this project.
cookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
application/json- body
name*stringLength
1 <= length <= 200parentId?|The folder it goes in; null or left out for the top level.
Created.
application/json- response
folder*A folder of a project's form templates.
Example Request
curl -X POST 'http://localhost:3000/api/projects/string/form-templates/folders' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "folder": { "id": "string", "parentId": "string", "name": "string" }}