Surveys

NPS and satisfaction surveys, invitations and answers.

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/surveys

Lists the surveys.

ListOn success: 200.Permission: Read.

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

POST/v1/surveys

Creates a survey.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
namestringYesmin length 1 · max length 120
titlestring | nullNo
descriptionstring | nullNo
questionsarray of objectNomax items 50
questions[].keystringYespattern ^[a-z][a-z0-9_]{0,39}$
questions[].type"text" | "textarea" | "email" | "phone" | "number" | "date" | "url" | "select" | "radio" | "checkboxes" | "checkbox" | "rating" | "nps"Yes
questions[].labelstringYesmin length 1 · max length 500
questions[].placeholderstring | nullNo
questions[].helpstring | nullNo
questions[].requiredbooleanNodefault false
questions[].optionsarray of stringNomax items 100
questions[].minnumber | nullNo
questions[].maxnumber | nullNo
questions[].defaultValuestring | nullNo
questions[].width"full" | "half"Nodefault "full"
submitLabelstring | nullNo
successMessagestring | nullNo
status"draft" | "active" | "closed"Nodefault "draft"
anonymousbooleanNodefault false
singleResponsebooleanNodefault true
responseWindowDaysinteger | nullNo
openLinkbooleanNodefault false
closesAtstring (date-time) | nullNo
deliveryobjectNo
delivery.emailbooleanNodefault true
delivery.whatsappobjectNo
delivery.whatsapp.enabledbooleanNodefault false
delivery.whatsapp.connectionIdstring (uuid) | nullNo
delivery.whatsapp.templateNamestring | nullNo
delivery.whatsapp.languagestring | nullNo
delivery.whatsapp.paramsobject of "link" | "firstName" | "name" | "surveyTitle" | "organization" | "deadline"No
delivery.reminderDaysBeforeinteger | nullNo
delivery.messagestring | nullNo
triggersobjectNo
triggers.listsarray of objectNomax items 10
triggers.lists[].listIdstring (uuid)Yes
triggers.eventsarray of objectNomax items 10
triggers.events[].type"deal.accepted" | "invoice.paid" | "form.submitted" | "appointment.completed"Yes
triggers.events[].formIdstring (uuid) | nullNo
triggers.events[].delayHoursintegerNomin 0 · max 1440 · default 0
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

Response

59 fields
FieldTypeAlways there
activatedAtstring | null (date-time)Yes
anonymousbooleanYes
closesAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
deliveryobjectYes
delivery.emailbooleanYes
delivery.messagenull in the examplesYes
delivery.reminderDaysBeforenull in the examplesYes
delivery.whatsappobjectYes
delivery.whatsapp.connectionIdnull in the examplesYes
delivery.whatsapp.enabledbooleanYes
delivery.whatsapp.languagenull in the examplesYes
delivery.whatsapp.paramsobjectYes
delivery.whatsapp.templateNamenull in the examplesYes
descriptionnull in the examplesYes
idstring (uuid)Yes
namestringYes
notifyMemberIdsarray of string (uuid)Yes
openLinkbooleanYes
publicIdstringYes
questionsarray of objectYes
questions[].defaultValuenull in the examplesYes
questions[].helpnull in the examplesYes
questions[].keystringYes
questions[].labelstringYes
questions[].maxinteger | nullYes
questions[].minnull in the examplesYes
questions[].optionsarray of stringYes
questions[].placeholdernull in the examplesYes
questions[].requiredbooleanYes
questions[].typestringYes
questions[].widthstringYes
responseWindowDaysinteger | nullYes
singleResponsebooleanYes
statsobjectYes
stats.answeredintegerYes
stats.expiredintegerYes
stats.invitedintegerYes
stats.lastResponseAtnull in the examplesYes
stats.pendingintegerYes
stats.responseRatenull in the examplesYes
stats.responsesintegerYes
statusstringYes
submitLabelnull in the examplesYes
successMessagenull in the examplesYes
templateIdnull in the examplesYes
themeobjectYes
titlestring | nullYes
triggersobjectYes
triggers.eventsarray of objectYes
triggers.events[].delayHoursintegerYes
triggers.events[].formIdstring (uuid)Yes
triggers.events[].typestringYes
triggers.listsarray of objectYes
triggers.lists[].listIdstring (uuid)Yes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
urlstring (uri)Yes
Example
curl -X POST "https://api.firmado.app/v1/surveys" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "title": "…",
  "description": "…",
  "questions": [
    {
      "key": "…",
      "type": "text",
      "label": "…",
      "placeholder": "…"
    }
  ]
}'

Response (201), with sample values:

{
  "activatedAt": "2026-11-21T14:00:00.000Z",
  "anonymous": true,
  "closesAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "delivery": {
    "email": true,
    "message": null,
    "reminderDaysBefore": null,
    "whatsapp": {
      "connectionId": null,
      "enabled": true,
      "language": null,
      "params": {},
      "templateName": null
    }
  },
  "description": null,
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "name": "Ana Lima",
  "notifyMemberIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ],
  "openLink": true,
  "publicId": "…",
  "questions": [
    {
      "defaultValue": null,
      "help": null,
      "key": "…",
      "label": "…",
      "max": 1,
      "min": null,
      "options": [],
      "placeholder": null,
      "required": true,
      "type": "…",
      "width": "…"
    }
  ],
  "responseWindowDays": 1,
  "singleResponse": true,
  "stats": {
    "answered": 1,
    "expired": 1,
    "invited": 1,
    "lastResponseAt": null,
    "pending": 1,
    "responseRate": null,
    "responses": 1
  },
  "status": "…",
  "submitLabel": null,
  "successMessage": null,
  "templateId": null,
  "theme": {},
  "title": "…",
  "triggers": {
    "events": [
      {}
    ],
    "lists": [
      {}
    ]
  },
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "url": "https://example.com"
}

DELETE/v1/surveys/{id}

Deletes a survey and its answers.

DeleteOn success: 204.Permission: Delete.

Path parameters

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

GET/v1/surveys/{id}

Returns a survey with its questions and settings.

Get oneOn success: 200.Permission: Read.

Path parameters

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

PATCH/v1/surveys/{id}

Changes a survey: questions, look, triggers and status.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
namestringNomin length 1 · max length 120
titlestring | nullNo
descriptionstring | nullNo
questionsarray of objectNomax items 50
questions[].keystringYespattern ^[a-z][a-z0-9_]{0,39}$
questions[].type"text" | "textarea" | "email" | "phone" | "number" | "date" | "url" | "select" | "radio" | "checkboxes" | "checkbox" | "rating" | "nps"Yes
questions[].labelstringYesmin length 1 · max length 500
questions[].placeholderstring | nullNo
questions[].helpstring | nullNo
questions[].requiredbooleanNodefault false
questions[].optionsarray of stringNomax items 100
questions[].minnumber | nullNo
questions[].maxnumber | nullNo
questions[].defaultValuestring | nullNo
questions[].width"full" | "half"Nodefault "full"
submitLabelstring | nullNo
successMessagestring | nullNo
status"draft" | "active" | "closed"No
anonymousbooleanNo
singleResponsebooleanNo
responseWindowDaysinteger | nullNo
openLinkbooleanNo
closesAtstring (date-time) | nullNo
deliveryobjectNo
delivery.emailbooleanNodefault true
delivery.whatsappobjectNo
delivery.whatsapp.enabledbooleanNodefault false
delivery.whatsapp.connectionIdstring (uuid) | nullNo
delivery.whatsapp.templateNamestring | nullNo
delivery.whatsapp.languagestring | nullNo
delivery.whatsapp.paramsobject of "link" | "firstName" | "name" | "surveyTitle" | "organization" | "deadline"No
delivery.reminderDaysBeforeinteger | nullNo
delivery.messagestring | nullNo
triggersobjectNo
triggers.listsarray of objectNomax items 10
triggers.lists[].listIdstring (uuid)Yes
triggers.eventsarray of objectNomax items 10
triggers.events[].type"deal.accepted" | "invoice.paid" | "form.submitted" | "appointment.completed"Yes
triggers.events[].formIdstring (uuid) | nullNo
triggers.events[].delayHoursintegerNomin 0 · max 1440 · default 0
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

Response

55 fields
FieldTypeAlways there
activatedAtstring (date-time)Yes
anonymousbooleanYes
closesAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
deliveryobjectYes
delivery.emailbooleanYes
delivery.messagenull in the examplesYes
delivery.reminderDaysBeforenull in the examplesYes
delivery.whatsappobjectYes
delivery.whatsapp.connectionIdnull in the examplesYes
delivery.whatsapp.enabledbooleanYes
delivery.whatsapp.languagenull in the examplesYes
delivery.whatsapp.paramsobjectYes
delivery.whatsapp.templateNamenull in the examplesYes
descriptionnull in the examplesYes
idstring (uuid)Yes
namestringYes
notifyMemberIdsarray of string (uuid)Yes
openLinkbooleanYes
publicIdstringYes
questionsarray of objectYes
questions[].defaultValuenull in the examplesYes
questions[].helpnull in the examplesYes
questions[].keystringYes
questions[].labelstringYes
questions[].maxinteger | nullYes
questions[].minnull in the examplesYes
questions[].optionsarray of stringYes
questions[].placeholdernull in the examplesYes
questions[].requiredbooleanYes
questions[].typestringYes
questions[].widthstringYes
responseWindowDaysinteger | nullYes
singleResponsebooleanYes
statsobjectYes
stats.answeredintegerYes
stats.expiredintegerYes
stats.invitedintegerYes
stats.lastResponseAtstring | null (date-time)Yes
stats.pendingintegerYes
stats.responseRatenull in the examplesYes
stats.responsesintegerYes
statusstringYes
submitLabelnull in the examplesYes
successMessagenull in the examplesYes
templateIdnull in the examplesYes
themeobjectYes
titlestring | nullYes
triggersobjectYes
triggers.eventsarray of anyYes
triggers.listsarray of anyYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
urlstring (uri)Yes
Example
curl -X PATCH "https://api.firmado.app/v1/surveys/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "title": "…",
  "description": "…",
  "questions": [
    {
      "key": "…",
      "type": "text",
      "label": "…",
      "placeholder": "…"
    }
  ]
}'

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "publicId": "…",
  "name": "Ana Lima",
  "title": "…",
  "description": null,
  "questions": [
    {
      "key": "…",
      "max": 1,
      "min": null,
      "help": null,
      "type": "…",
      "label": "…",
      "width": "…",
      "options": [],
      "required": true,
      "placeholder": null,
      "defaultValue": null
    }
  ],
  "submitLabel": null,
  "successMessage": null,
  "status": "…",
  "anonymous": true,
  "singleResponse": true,
  "responseWindowDays": 1,
  "openLink": true,
  "closesAt": null,
  "delivery": {
    "email": true,
    "message": null,
    "whatsapp": {
      "params": {},
      "enabled": true,
      "language": null,
      "connectionId": null,
      "templateName": null
    },
    "reminderDaysBefore": null
  },
  "triggers": {
    "lists": [],
    "events": []
  },
  "notifyMemberIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ],
  "templateId": null,
  "theme": {},
  "activatedAt": "2026-11-21T14:00:00.000Z",
  "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",
  "stats": {
    "invited": 1,
    "answered": 1,
    "expired": 1,
    "pending": 1,
    "responses": 1,
    "lastResponseAt": "2026-11-21T14:00:00.000Z",
    "responseRate": null
  }
}

POST/v1/surveys/{id}/duplicate

Copies a survey.

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

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
namestringYesmin length 1 · max length 120
Example
curl -X POST "https://api.firmado.app/v1/surveys/{id}/duplicate" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima"
}'

GET/v1/surveys/{id}/recipients

The contacts invited to a survey, and whether they answered.

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

Path parameters

FieldTypeRequiredNotes
idstringYes

Query parameters

FieldTypeRequiredNotes
pageintegerNomin 1 · default 1
pageSizeintegerNomin 1 · max 100 · default 25
status"pending" | "answered" | "expired"No
qstringNomax length 200

Response

27 fields
FieldTypeAlways there
dataarray of objectYes
data[].addedBystring | null (uuid)Yes
data[].contactobjectYes
data[].contact.emailstring (email)Yes
data[].contact.idstring (uuid)Yes
data[].contact.namestringYes
data[].contact.phonenull in the examplesYes
data[].contactIdstring (uuid)Yes
data[].expiresAtstring | null (date-time)Yes
data[].idstring (uuid)Yes
data[].invitedAtstring (date-time)Yes
data[].notifiedAtstring | null (date-time)Yes
data[].notifiedViaarray of stringYes
data[].notifyAtstring | null (date-time)Yes
data[].notifyErrornull in the examplesYes
data[].openedAtnull in the examplesYes
data[].remindedAtnull in the examplesYes
data[].respondedAtstring | null (date-time)Yes
data[].responseCountintegerYes
data[].sourcestringYes
data[].sourceRefstring | nullYes
data[].statusstringYes
data[].surveyIdstring (uuid)Yes
data[].urlstring (uri)Yes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/surveys/{id}/recipients" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "surveyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "source": "…",
      "sourceRef": "…",
      "invitedAt": "2026-11-21T14:00:00.000Z",
      "notifyAt": "2026-11-21T14:00:00.000Z",
      "expiresAt": "2026-11-21T14:00:00.000Z",
      "notifiedAt": "2026-11-21T14:00:00.000Z",
      "notifiedVia": [],
      "notifyError": null,
      "remindedAt": null,
      "openedAt": null,
      "respondedAt": "2026-11-21T14:00:00.000Z",
      "responseCount": 1,
      "addedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "status": "…",
      "url": "https://example.com",
      "contact": {}
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/surveys/{id}/recipients

Invites contacts, by id or everyone in a list now.

Update/{id}/recipientsOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
contactIdsarray of string (uuid)Nomax items 1000
listIdstring (uuid)No

Response

3 fields
FieldTypeAlways there
invitedintegerYes
limitedintegerYes
skippedintegerYes
Example
curl -X POST "https://api.firmado.app/v1/surveys/{id}/recipients" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "contactIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ],
  "listId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}'

Response (200), with sample values:

{
  "invited": 1,
  "skipped": 1,
  "limited": 1
}

DELETE/v1/surveys/{id}/recipients/{recipientId}

Removes an invitation.

Update/{id}/recipients/{recipientId}On success: 204.Permission: Update.

Path parameters

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

POST/v1/surveys/{id}/recipients/{recipientId}/resend

Emails an invited contact their link again.

Update/{id}/recipients/{recipientId}/resendOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes
recipientIdstringYes
Example
curl -X POST "https://api.firmado.app/v1/surveys/{id}/recipients/{recipientId}/resend" \
  -H "X-Api-Key: fmd_..."

GET/v1/surveys/{id}/responses

Lists a survey’s answers.

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

Path parameters

FieldTypeRequiredNotes
idstringYes

Query parameters

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

Response

18 fields
FieldTypeAlways there
dataarray of objectYes
data[].answersarray of objectYes
data[].answers[].keystringYes
data[].answers[].labelstringYes
data[].answers[].typestringYes
data[].answers[].valuearray | integer | string | nullYes
data[].contactobjectYes
data[].contact.idstring (uuid)Yes
data[].contact.namestringYes
data[].contactIdstring (uuid)Yes
data[].createdAtstring (date-time)Yes
data[].idstring (uuid)Yes
data[].recipientIdstring (uuid)Yes
data[].sourcestringYes
data[].surveyIdstring (uuid)Yes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/surveys/{id}/responses" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "surveyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "recipientId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "answers": [],
      "source": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "contact": {}
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/surveys/{id}/responses

Answers a survey from the organization’s own systems, as a contact would.

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

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
answersobject of anyYes
contactIdstring (uuid)No
Example
curl -X POST "https://api.firmado.app/v1/surveys/{id}/responses" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "answers": {},
  "contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}'

DELETE/v1/surveys/{id}/responses/{responseId}

Deletes one answer.

Delete/{id}/responses/{responseId}On success: 204.Permission: Delete.

Path parameters

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

GET/v1/surveys/{id}/responses/{responseId}

Returns one answer.

Read/{id}/responses/{responseId}On success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes
responseIdstringYes
Example
curl -X GET "https://api.firmado.app/v1/surveys/{id}/responses/{responseId}" \
  -H "X-Api-Key: fmd_..."

GET/v1/surveys/{id}/responses/export

Downloads a survey’s answers as a CSV file.

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

Path parameters

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

GET/v1/surveys/{id}/summary

A survey’s results: score, distribution and answers per question.

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

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

25 fields
FieldTypeAlways there
dailyarray of objectYes
daily[].datestring (date)Yes
daily[].totalintegerYes
questionsarray of objectYes
questions[].answeredintegerYes
questions[].averagenumberNo
questions[].choicesarray of objectNo
questions[].choices[].countintegerYes
questions[].choices[].optionstringYes
questions[].distributionarray of objectNo
questions[].distribution[].countintegerYes
questions[].distribution[].valueintegerYes
questions[].keystringYes
questions[].labelstringYes
questions[].npsinteger | nullNo
questions[].samplesarray of stringNo
questions[].typestringYes
statsobjectYes
stats.answeredintegerYes
stats.expiredintegerYes
stats.invitedintegerYes
stats.lastResponseAtstring (date-time)Yes
stats.pendingintegerYes
stats.responseRateintegerYes
stats.responsesintegerYes
Example
curl -X GET "https://api.firmado.app/v1/surveys/{id}/summary" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "stats": {
    "invited": 1,
    "answered": 1,
    "expired": 1,
    "pending": 1,
    "responses": 1,
    "lastResponseAt": "2026-11-21T14:00:00.000Z",
    "responseRate": 1
  },
  "questions": [
    {
      "key": "…",
      "label": "…",
      "type": "…",
      "answered": 1,
      "average": 1,
      "choices": [],
      "distribution": [],
      "nps": 1,
      "samples": []
    }
  ],
  "daily": [
    {
      "date": "2026-11-21",
      "total": 1
    }
  ]
}

GET/v1/surveys/look

The look a survey’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/surveys/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.

  • survey.createdCreate
  • survey.updatedUpdate
  • survey.deletedDelete
  • survey.recipients_addedUpdate
  • survey.recipient_removedUpdate
  • survey.respondedCreate
  • survey.response_deletedDelete