Get all forms

In this example, we demonstrate how to retrieve the list of all forms configured in the project using the OneEntry API.

โœ… Purpose of the scenario:
  • Get the complete list of forms available in the OneEntry project.
  • Inspect form identifiers, types, and field schemas.
  • Use form identifiers with getFormByMarker() to retrieve full field details.
โœ… What you need:
  • A valid PROJECT_URL and APP_TOKEN for authentication with the OneEntry API.
  • At least one form configured in the OneEntry admin panel.
๐Ÿ“Œ Important:
  • Returns a paginated object: `{ items, total }`. Use identifier with Forms.getFormByMarker() to get a specific form with full field details.
  • These examples do not include error handling.
  • You can manage errors using a try-catch block or by employing a construction like await Promise.catch((error) => error).
๐Ÿ“š See in documentation:
๐Ÿ“ฆ SDK reference:
Loading sandboxโ€ฆ