Duplicating Forms
Description: To duplicate a form a HTTP POST request is made to the URL with the agency ID, a unique download token and session token.
Method: Post
URI: /forms/form_id/duplicate
URI Parameters
- form_id: The ID of the form.
Parameters
name: Name of form
private: Whether the form is private or not. If this property is not passed, the users default preference will be used.
Headers: Authorization: Third party based authorization header
Returns
Field | Type | Description |
---|---|---|
id | Integer | Unique ID of the form. |
template_version_id | Integer | Unique ID of the template version of the template the form is made from. |
agency_id | Integer | Unique ID of the agency the form belongs to. |
user_id | Integer | Unique ID of the user that created the form |
name | String | Name of the form. |
template | Boolean | Returns true if the form is a template. |
deleted | Boolean | Returns true if the form is deleted. |
finalised | Boolean | Returns true if the form is finalised. |
private | Boolean | Returns true if the form is private. |
created | Timestamp | Returns Unix timestamp of when form was created. |
updated | Timestamp | Returns Unix timestamp of when form was updated. |
Example
Request
Response