FormSync

Forms API

List the forms available to the authenticated FormSync API key.


List Forms

Returns the forms that belong to the account associated with the authenticated API key.

This endpoint is useful when you want to:


Endpoint

HTTP
GET /forms

Full URL:

URL
https://api.formsync.app/v1/forms

Headers

HeaderRequiredDescription
AuthorizationtrueBearer API key in the format Bearer fs_your_api_key_here.
AcceptfalseRecommended. Set to application/json.

Example Request

cURL
curl https://api.formsync.app/v1/forms \ -H "Authorization: Bearer $FORMSYNC_API_KEY" \ -H "Accept: application/json"

FormSync Package Example

Node.js
import { FormSync } from "formsync"; const formsync = new FormSync({ apiKey: process.env.FORMSYNC_API_KEY!, }); const response = await formsync.forms.list(); console.log(response.forms);

If you want a more explicit import path for server-only usage, formsync/api is also supported.


Successful Response

200 response
{ "success": true, "message": "Forms fetched successfully.", "forms": [ { "formId": "fSxYzAbC1234", "title": "Contact Sales", "icon": "RiMailLine", "notificationEmail": "sales@example.com", "createdAt": "2026-04-12T10:21:31.000Z" } ] }

Response Schema

FieldTypeDescription
successbooleanIndicates whether the request succeeded.
messagestringHuman-readable status message.
formsarrayForms accessible to the authenticated API key.
forms[].formIdstringPublic identifier for the form.
forms[].titlestringDisplay name of the form.
forms[].iconstringIcon identifier configured for the form.
forms[].notificationEmailstringEmail used for submission notifications.
forms[].createdAtstringISO 8601 timestamp for when the form was created.

Notes


JavaScript Example

Node.js
const response = await fetch("https://api.formsync.app/v1/forms", { headers: { Authorization: `Bearer ${process.env.FORMSYNC_API_KEY}`, Accept: "application/json", }, }); const data = await response.json(); console.log(data.forms);

How is this guide?

Last updated on May 1, 2026