Forms

Forms, their look and their submissions.

Values for the examples

Type them once and every example on this page uses them. The API key stays on this page only and is never saved.

GET/v1/form-defaults

What new forms start with.

ListOn success: 200.Permission: Read.

Example
curl -X GET "https://api.firmado.app/v1/form-defaults" \
  -H "X-Api-Key: fmd_..."

PUT/v1/form-defaults

Changes what new forms start with.

Update/On success: 200.Permission: Update.

Body

FieldTypeRequiredNotes
fieldsarray of object | nullYes
submitLabelstring | nullNo
successMessagestring | nullNo
redirectUrlstring (uri) | null | ""No
requireCaptchabooleanYes
contactMode"off" | "create_or_update" | "create_only"Yes

Response

18 fields
FieldTypeAlways there
contactModestringYes
fieldsarray of objectYes
fields[].defaultValuenull in the examplesYes
fields[].helpnull in the examplesYes
fields[].keystringYes
fields[].labelstringYes
fields[].mapTostringYes
fields[].maxnull in the examplesYes
fields[].minnull in the examplesYes
fields[].optionsarray of anyYes
fields[].placeholdernull in the examplesYes
fields[].requiredbooleanYes
fields[].typestringYes
fields[].widthstringYes
redirectUrlnull in the examplesYes
requireCaptchabooleanYes
submitLabelstringYes
successMessagestringYes
Example
curl -X PUT "https://api.firmado.app/v1/form-defaults" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "fields": [
    {
      "key": "…",
      "type": "text",
      "label": "…",
      "placeholder": "…"
    }
  ],
  "requireCaptcha": true,
  "contactMode": "off",
  "submitLabel": "…"
}'

Response (200), with sample values:

{
  "fields": [
    {
      "key": "…",
      "max": null,
      "min": null,
      "help": null,
      "type": "…",
      "label": "…",
      "mapTo": "…",
      "width": "…",
      "options": [],
      "required": true,
      "placeholder": null,
      "defaultValue": null
    }
  ],
  "submitLabel": "…",
  "successMessage": "…",
  "redirectUrl": null,
  "requireCaptcha": true,
  "contactMode": "…"
}

GET/v1/forms

Lists the forms.

ListOn success: 200.Permission: Read.

Response

43 fields
FieldTypeAlways there
[].actionsobjectYes
[].actions.listIdsarray of string (uuid)Yes
[].actions.tagIdsarray of string (uuid)Yes
[].actions.webhookobjectYes
[].actions.webhook.enabledbooleanYes
[].actions.webhook.urlstringYes
[].activebooleanYes
[].contactModestringYes
[].contactOwnerIdstring (uuid)Yes
[].createdAtstring (date-time)Yes
[].createdBystring (uuid)Yes
[].descriptionnull in the examplesYes
[].embedScriptUrlstring (uri)Yes
[].fieldsarray of objectYes
[].fields[].defaultValuenull in the examplesYes
[].fields[].helpnull in the examplesYes
[].fields[].keystringYes
[].fields[].labelstringYes
[].fields[].mapTostringYes
[].fields[].maxnull in the examplesYes
[].fields[].minnull in the examplesYes
[].fields[].optionsarray of anyYes
[].fields[].placeholdernull in the examplesYes
[].fields[].requiredbooleanYes
[].fields[].typestringYes
[].fields[].widthstringYes
[].idstring (uuid)Yes
[].lastSubmissionAtstring (date-time)Yes
[].namestringYes
[].notifyMemberIdsarray of anyYes
[].publicIdstringYes
[].redirectUrlnull in the examplesYes
[].requireCaptchabooleanYes
[].submissionCountintegerYes
[].submitLabelnull in the examplesYes
[].successMessagenull in the examplesYes
[].templateIdnull in the examplesYes
[].themeobjectYes
[].titlenull in the examplesYes
[].updatedAtstring (date-time)Yes
[].updatedBystring (uuid)Yes
[].urlstring (uri)Yes
[].webhookSecretstringYes
Example
curl -X GET "https://api.firmado.app/v1/forms" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

[
  {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "publicId": "…",
    "name": "Ana Lima",
    "title": null,
    "description": null,
    "fields": [
      {}
    ],
    "submitLabel": null,
    "successMessage": null,
    "redirectUrl": null,
    "requireCaptcha": true,
    "contactMode": "…",
    "contactOwnerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "actions": {
      "tagIds": [],
      "listIds": [],
      "webhook": {}
    },
    "webhookSecret": "…",
    "notifyMemberIds": [],
    "templateId": null,
    "theme": {},
    "active": true,
    "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "createdAt": "2026-11-21T14:00:00.000Z",
    "updatedAt": "2026-11-21T14:00:00.000Z",
    "url": "https://example.com",
    "embedScriptUrl": "https://example.com",
    "submissionCount": 1,
    "lastSubmissionAt": "2026-11-21T14:00:00.000Z"
  }
]

POST/v1/forms

Creates a form.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
namestringYesmin length 1 · max length 120
titlestring | nullNo
descriptionstring | nullNo
fieldsarray of objectNomax items 50
fields[].keystringYespattern ^[a-z][a-z0-9_]{0,39}$
fields[].type"text" | "textarea" | "email" | "phone" | "number" | "date" | "url" | "select" | "radio" | "checkboxes" | "checkbox" | "hidden"Yes
fields[].labelstringYesmin length 1 · max length 200
fields[].placeholderstring | nullNo
fields[].helpstring | nullNo
fields[].requiredbooleanNodefault false
fields[].optionsarray of stringNomax items 100
fields[].minnumber | nullNo
fields[].maxnumber | nullNo
fields[].defaultValuestring | nullNo
fields[].width"full" | "half"Nodefault "full"
fields[].mapTo"firstName" | "lastName" | "fullName" | "email" | "phone" | "jobTitle" | "department" | "birthday" | "address" | "city" | "state" | "postalCode" | "country" | "marketingOptIn" | string | nullNo
submitLabelstring | nullNo
successMessagestring | nullNo
redirectUrlstring (uri) | null | ""No
requireCaptchabooleanNo
contactMode"off" | "create_or_update" | "create_only"No
contactOwnerIdstring | nullNo
actionsobjectNo
actions.listIdsarray of string (uuid)Nomax items 20
actions.tagIdsarray of string (uuid)Nomax items 50
actions.webhookobjectNo
actions.webhook.enabledbooleanNodefault false
actions.webhook.urlstring (uri) | ""Nodefault ""
notifyMemberIdsarray of stringNomax items 50
templateId"classic" | "modern" | "minimal" | "bold" | nullNo
themeobjectNo
theme.primaryColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"No
activebooleanNodefault true

Response

43 fields
FieldTypeAlways there
actionsobjectYes
actions.listIdsarray of string (uuid)Yes
actions.tagIdsarray of string (uuid)Yes
actions.webhookobjectYes
actions.webhook.enabledbooleanYes
actions.webhook.urlstringYes
activebooleanYes
contactModestringYes
contactOwnerIdstring (uuid)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionnull in the examplesYes
embedScriptUrlstring (uri)Yes
fieldsarray of objectYes
fields[].defaultValuestring | nullYes
fields[].helpnull in the examplesYes
fields[].keystringYes
fields[].labelstringYes
fields[].mapTostring | nullYes
fields[].maxinteger | nullYes
fields[].mininteger | nullYes
fields[].optionsarray of stringYes
fields[].placeholdernull in the examplesYes
fields[].requiredbooleanYes
fields[].typestringYes
fields[].widthstringYes
idstring (uuid)Yes
lastSubmissionAtnull in the examplesYes
namestringYes
notifyMemberIdsarray of string (uuid)Yes
publicIdstringYes
redirectUrlstring | null (uri)Yes
requireCaptchabooleanYes
submissionCountintegerYes
submitLabelstring | nullYes
successMessagestring | nullYes
templateIdnull in the examplesYes
themeobjectYes
titlestring | nullYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
urlstring (uri)Yes
webhookSecretstringYes
Example
curl -X POST "https://api.firmado.app/v1/forms" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "title": "…",
  "description": "…",
  "fields": [
    {
      "key": "…",
      "type": "text",
      "label": "…",
      "placeholder": "…"
    }
  ]
}'

Response (201), with sample values:

{
  "actions": {
    "listIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "tagIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "webhook": {
      "enabled": true,
      "url": "https://example.com"
    }
  },
  "active": true,
  "contactMode": "…",
  "contactOwnerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "embedScriptUrl": "https://example.com",
  "fields": [
    {
      "defaultValue": "…",
      "help": null,
      "key": "…",
      "label": "…",
      "mapTo": "…",
      "max": 1,
      "min": 1,
      "options": [],
      "placeholder": null,
      "required": true,
      "type": "…",
      "width": "…"
    }
  ],
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "lastSubmissionAt": null,
  "name": "Ana Lima",
  "notifyMemberIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ],
  "publicId": "…",
  "redirectUrl": "https://example.com",
  "requireCaptcha": true,
  "submissionCount": 1,
  "submitLabel": "…",
  "successMessage": "…",
  "templateId": null,
  "theme": {},
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "url": "https://example.com",
  "webhookSecret": "…"
}

DELETE/v1/forms/{id}

Deletes a form and its submissions.

DeleteOn success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/forms/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/forms/{id}

Returns a form with its questions and settings.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

43 fields
FieldTypeAlways there
actionsobjectYes
actions.listIdsarray of string (uuid)Yes
actions.tagIdsarray of string (uuid)Yes
actions.webhookobjectYes
actions.webhook.enabledbooleanYes
actions.webhook.urlstringYes
activebooleanYes
contactModestringYes
contactOwnerIdstring (uuid)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionnull in the examplesYes
embedScriptUrlstring (uri)Yes
fieldsarray of objectYes
fields[].defaultValuestring | nullYes
fields[].helpnull in the examplesYes
fields[].keystringYes
fields[].labelstringYes
fields[].mapTostring | nullYes
fields[].maxinteger | nullYes
fields[].mininteger | nullYes
fields[].optionsarray of stringYes
fields[].placeholdernull in the examplesYes
fields[].requiredbooleanYes
fields[].typestringYes
fields[].widthstringYes
idstring (uuid)Yes
lastSubmissionAtstring (date-time)Yes
namestringYes
notifyMemberIdsarray of string (uuid)Yes
publicIdstringYes
redirectUrlstring | null (uri)Yes
requireCaptchabooleanYes
submissionCountintegerYes
submitLabelnull in the examplesYes
successMessagenull in the examplesYes
templateIdnull in the examplesYes
themeobjectYes
titlestring | nullYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
urlstring (uri)Yes
webhookSecretstringYes
Example
curl -X GET "https://api.firmado.app/v1/forms/{id}" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "actions": {
    "listIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "tagIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "webhook": {
      "enabled": true,
      "url": "https://example.com"
    }
  },
  "active": true,
  "contactMode": "…",
  "contactOwnerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "embedScriptUrl": "https://example.com",
  "fields": [
    {
      "defaultValue": "…",
      "help": null,
      "key": "…",
      "label": "…",
      "mapTo": "…",
      "max": 1,
      "min": 1,
      "options": [],
      "placeholder": null,
      "required": true,
      "type": "…",
      "width": "…"
    }
  ],
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "lastSubmissionAt": "2026-11-21T14:00:00.000Z",
  "name": "Ana Lima",
  "notifyMemberIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ],
  "publicId": "…",
  "redirectUrl": "https://example.com",
  "requireCaptcha": true,
  "submissionCount": 1,
  "submitLabel": null,
  "successMessage": null,
  "templateId": null,
  "theme": {},
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "url": "https://example.com",
  "webhookSecret": "…"
}

PATCH/v1/forms/{id}

Changes a form: questions, look, what happens after answering.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
namestringNomin length 1 · max length 120
titlestring | nullNo
descriptionstring | nullNo
fieldsarray of objectNomax items 50
fields[].keystringYespattern ^[a-z][a-z0-9_]{0,39}$
fields[].type"text" | "textarea" | "email" | "phone" | "number" | "date" | "url" | "select" | "radio" | "checkboxes" | "checkbox" | "hidden"Yes
fields[].labelstringYesmin length 1 · max length 200
fields[].placeholderstring | nullNo
fields[].helpstring | nullNo
fields[].requiredbooleanNodefault false
fields[].optionsarray of stringNomax items 100
fields[].minnumber | nullNo
fields[].maxnumber | nullNo
fields[].defaultValuestring | nullNo
fields[].width"full" | "half"Nodefault "full"
fields[].mapTo"firstName" | "lastName" | "fullName" | "email" | "phone" | "jobTitle" | "department" | "birthday" | "address" | "city" | "state" | "postalCode" | "country" | "marketingOptIn" | string | nullNo
submitLabelstring | nullNo
successMessagestring | nullNo
redirectUrlstring (uri) | null | ""No
requireCaptchabooleanNo
contactMode"off" | "create_or_update" | "create_only"No
contactOwnerIdstring | nullNo
actionsobjectNo
actions.listIdsarray of string (uuid)Nomax items 20
actions.tagIdsarray of string (uuid)Nomax items 50
actions.webhookobjectNo
actions.webhook.enabledbooleanNodefault false
actions.webhook.urlstring (uri) | ""Nodefault ""
notifyMemberIdsarray of stringNomax items 50
templateId"classic" | "modern" | "minimal" | "bold" | nullNo
themeobjectNo
theme.primaryColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"No
activebooleanNo

Response

43 fields
FieldTypeAlways there
actionsobjectYes
actions.listIdsarray of string (uuid)Yes
actions.tagIdsarray of string (uuid)Yes
actions.webhookobjectYes
actions.webhook.enabledbooleanYes
actions.webhook.urlstringYes
activebooleanYes
contactModestringYes
contactOwnerIdstring (uuid)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionnull in the examplesYes
embedScriptUrlstring (uri)Yes
fieldsarray of objectYes
fields[].defaultValuestring | nullYes
fields[].helpnull in the examplesYes
fields[].keystringYes
fields[].labelstringYes
fields[].mapTostring | nullYes
fields[].maxinteger | nullYes
fields[].mininteger | nullYes
fields[].optionsarray of stringYes
fields[].placeholdernull in the examplesYes
fields[].requiredbooleanYes
fields[].typestringYes
fields[].widthstringYes
idstring (uuid)Yes
lastSubmissionAtstring | null (date-time)Yes
namestringYes
notifyMemberIdsarray of string (uuid)Yes
publicIdstringYes
redirectUrlstring | null (uri)Yes
requireCaptchabooleanYes
submissionCountintegerYes
submitLabelnull in the examplesYes
successMessagenull in the examplesYes
templateIdnull in the examplesYes
themeobjectYes
titlestring | nullYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
urlstring (uri)Yes
webhookSecretstringYes
Example
curl -X PATCH "https://api.firmado.app/v1/forms/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "title": "…",
  "description": "…",
  "fields": [
    {
      "key": "…",
      "type": "text",
      "label": "…",
      "placeholder": "…"
    }
  ]
}'

Response (200), with sample values:

{
  "actions": {
    "listIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "tagIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ],
    "webhook": {
      "enabled": true,
      "url": "https://example.com"
    }
  },
  "active": true,
  "contactMode": "…",
  "contactOwnerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "embedScriptUrl": "https://example.com",
  "fields": [
    {
      "defaultValue": "…",
      "help": null,
      "key": "…",
      "label": "…",
      "mapTo": "…",
      "max": 1,
      "min": 1,
      "options": [],
      "placeholder": null,
      "required": true,
      "type": "…",
      "width": "…"
    }
  ],
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "lastSubmissionAt": "2026-11-21T14:00:00.000Z",
  "name": "Ana Lima",
  "notifyMemberIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ],
  "publicId": "…",
  "redirectUrl": "https://example.com",
  "requireCaptcha": true,
  "submissionCount": 1,
  "submitLabel": null,
  "successMessage": null,
  "templateId": null,
  "theme": {},
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "url": "https://example.com",
  "webhookSecret": "…"
}

GET/v1/forms/{id}/submissions

Lists a form’s submissions.

Read/{id}/submissionsOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Query parameters

FieldTypeRequiredNotes
pageintegerNomin 1 · default 1
pageSizeintegerNomin 1 · max 100 · default 25

Response

20 fields
FieldTypeAlways there
dataarray of objectYes
data[].answersarray of objectYes
data[].answers[].keystringYes
data[].answers[].labelstringYes
data[].answers[].typestringYes
data[].answers[].valuearray | boolean | integer | string | nullYes
data[].contactobject | nullYes
data[].contact.idstring (uuid)Yes
data[].contact.namestringYes
data[].contactIdstring | null (uuid)Yes
data[].createdAtstring (date-time)Yes
data[].formIdstring (uuid)Yes
data[].idstring (uuid)Yes
data[].pageUrlstring | null (uri)Yes
data[].sourcestringYes
data[].webhookErrornull in the examplesYes
data[].webhookStatusinteger | nullYes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/forms/{id}/submissions" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "formId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "answers": [],
      "source": "…",
      "pageUrl": "https://example.com",
      "webhookStatus": 1,
      "webhookError": null,
      "createdAt": "2026-11-21T14:00:00.000Z",
      "contact": {}
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/forms/{id}/submissions

Submits the form from the organization’s own systems, as a visitor would (Pro).

Create/{id}/submissionsOn success: 201.Permission: Create.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
answersobject of anyYes

Response

2 fields
FieldTypeAlways there
contactIdstring (uuid)Yes
idstring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/forms/{id}/submissions" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "answers": {}
}'

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}

DELETE/v1/forms/{id}/submissions/{submissionId}

Deletes one submission.

Delete/{id}/submissions/{submissionId}On success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
submissionIdstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/forms/{id}/submissions/{submissionId}" \
  -H "X-Api-Key: fmd_..."

GET/v1/forms/{id}/submissions/{submissionId}

Returns one submission with its answers.

Read/{id}/submissions/{submissionId}On success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes
submissionIdstringYes
Example
curl -X GET "https://api.firmado.app/v1/forms/{id}/submissions/{submissionId}" \
  -H "X-Api-Key: fmd_..."

GET/v1/forms/{id}/submissions/export

Downloads a form’s submissions as a CSV file.

Read/{id}/submissions/exportOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X GET "https://api.firmado.app/v1/forms/{id}/submissions/export" \
  -H "X-Api-Key: fmd_..."

POST/v1/forms/{id}/webhook/test

Sends a made-up submission to the form’s webhook and says how it went.

Update/{id}/webhook/testOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
urlstring (uri)Nomax length 2000

Response

2 fields
FieldTypeAlways there
errornull in the examplesYes
statusintegerYes
Example
curl -X POST "https://api.firmado.app/v1/forms/{id}/webhook/test" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com"
}'

Response (200), with sample values:

{
  "status": 1,
  "error": null
}

GET/v1/forms/look

The look a form’s preview starts from; saves nothing.

Read/lookOn success: 200.Permission: Read.

Query parameters

FieldTypeRequiredNotes
templateId"classic" | "modern" | "minimal" | "bold"No

Response

12 fields
FieldTypeAlways there
organizationobjectYes
organization.languagestringYes
organization.namestringYes
templateIdstringYes
themeobjectYes
theme.accentColorstringYes
theme.backgroundColorstringYes
theme.bodyFontstringYes
theme.cornerRadiusstringYes
theme.headingFontstringYes
theme.primaryColorstringYes
theme.textColorstringYes
Example
curl -X GET "https://api.firmado.app/v1/forms/look" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "organization": {
    "name": "Ana Lima",
    "language": "…"
  },
  "templateId": "…",
  "theme": {
    "primaryColor": "…",
    "accentColor": "…",
    "backgroundColor": "…",
    "textColor": "…",
    "headingFont": "…",
    "bodyFont": "…",
    "cornerRadius": "…"
  }
}

Webhook events

Changes of this feature that webhooks can send.

  • form.createdCreate
  • form.updatedUpdate
  • form.deletedDelete
  • form.submittedCreate
  • form.submission_deletedDelete