Forms

List the company's forms

Returns the company's forms that are not deleted, newest first, each with its submission count and the time of its latest submission. The steps and fields of a form come from the single-form read.

GET
/forms

Returns the company's forms that are not deleted, newest first, each with its submission count and the time of its latest submission. The steps and fields of a form come from the single-form read.

Authorization

x-api-key
x-api-key<token>

Company API key, created under Settings > API Keys.

In: header

Header Parameters

x-company-id?string

Optional with an API key or OAuth token: leave it out and the company the key or token belongs to is used. If sent, it must be that same company, otherwise the request is refused with 403 API_KEY_WRONG_COMPANY or OAUTH_WRONG_COMPANY.

Match^[0-9a-fA-F]{24}$

Response Body

application/json

curl -X GET "https://example.com/forms"
[  {    "archivedAt": "2019-08-24T14:15:22Z",    "chainPushedToCount": 0,    "chainSourceFormId": "string",    "companyId": "string",    "createdAt": "2019-08-24T14:15:22Z",    "createdByName": "string",    "createdByUserId": "string",    "deletedAt": "2019-08-24T14:15:22Z",    "id": "string",    "lastSubmissionAt": "2019-08-24T14:15:22Z",    "name": "string",    "paused": true,    "publishedAt": "2019-08-24T14:15:22Z",    "purpose": "FEEDBACK",    "slug": "string",    "status": "ARCHIVED",    "submissionCount": 0,    "updatedAt": "2019-08-24T14:15:22Z"  }]