Skip to content

API Endpoints

This chapter contains a reference of all 125 API endpoints in 42Forms, organized by resource.

MethodPathDescription
PUT/api/admin/licenseSet or change a user’s license tier. Requires admin seat.
DELETE/api/admin/licenseRevoke a user’s license (drops to view tier). Requires admin seat.
GET/api/admin/usersList all users in the org with their license tiers. Requires admin seat.
MethodPathDescription
POST/api/auth/activateActivate a pending member by matching their email to an invitation.
GET/api/auth/meGenerate a new personal API key. The raw key is returned ONCE.
PATCH/api/auth/meGenerate a new personal API key. The raw key is returned ONCE.
POST/api/auth/api-keysGenerate a new personal API key. The raw key is returned ONCE.
GET/api/auth/api-keysList all active API keys for the current user.
DELETE/api/auth/api-keys/{api_key_id}Revoke (soft-delete) an API key.
MethodPathDescription
POST/api/chat/completionsChat Completions
MethodPathDescription
GET/api/orgs/{org_id}/connections/{connection_id}Get Connection
PUT/api/orgs/{org_id}/connections/{connection_id}Update Connection
DELETE/api/orgs/{org_id}/connections/{connection_id}Delete Connection
POST/api/orgs/{org_id}/connections/testTest Unsaved Connection
POST/api/orgs/{org_id}/connections/{connection_id}/testTest Saved Connection
GET/api/orgs/{org_id}/connections/{connection_id}/databasesList Databases
GET/api/orgs/{org_id}/connections/{connection_id}/browseBrowse Connection
GET/api/orgs/{org_id}/connections/{connection_id}/databases/{database}/schemasList Schemas
GET/api/orgs/{org_id}/connections/{connection_id}/databases/{database}/schemas/{schema}/objectsList Objects
GET/api/orgs/{org_id}/connections/{connection_id}/databases/{database}/schemas/{schema}/objects/{object_name}/columnsDescribe Columns
GET/api/orgs/{org_id}/connections/{connection_id}/databases/{database}/schemas/{schema}/semantic-viewsList Semantic Views
GET/api/orgs/{org_id}/connections/{connection_id}/databases/{database}/schemas/{schema}/semantic-views/{view_name}Describe Semantic View
MethodPathDescription
POST/api/partitions/{partition_id}/import/previewUpload CSV/Excel and get column metadata + auto-suggested mappings.
POST/api/partitions/{partition_id}/import/validateValidate all rows against mapped form fields.
POST/api/partitions/{partition_id}/import/executeExecute the CSV import: create submissions from mapped data.
GET/api/partitions/{partition_id}/import/historyList past imports for a partition.
POST/api/projects/{project_id}/import-and-generateUpload CSV, auto-create form from data, publish, and import all rows.
MethodPathDescription
GET/api/projects/{project_id}/fields/{field_id}/json-schemaDiscover the JSON schema for a Variant field by sampling Snowflake rows.
MethodPathDescription
GET/api/projects/{project_id}/form-versions/draftGenerate a form structure from an uploaded CSV or Excel file using AI.
GET/api/projects/{project_id}/form-versions/publishedGenerate a form structure from an uploaded CSV or Excel file using AI.
DELETE/api/projects/{project_id}/form-versions/draftGenerate a form structure from an uploaded CSV or Excel file using AI.
PUT/api/projects/{project_id}/form-versions/draftGenerate a form structure from an uploaded CSV or Excel file using AI.
POST/api/projects/{project_id}/form-versions/publishGenerate a form structure from an uploaded CSV or Excel file using AI.
POST/api/projects/{project_id}/form-versions/revert/{version_id}Generate a form structure from an uploaded CSV or Excel file using AI.
POST/api/projects/{project_id}/form-versions/draft/fieldsGenerate a form structure from an uploaded CSV or Excel file using AI.
DELETE/api/projects/{project_id}/form-versions/draft/fields/{field_id}Generate a form structure from an uploaded CSV or Excel file using AI.
POST/api/projects/{project_id}/form-versions/draft/generate-from-fileGenerate a form structure from an uploaded CSV or Excel file using AI.
GET/api/projects/{project_id}/form-versions/primary-keysReturn the list of fields currently marked as primary key.
PUT/api/projects/{project_id}/form-versions/primary-keysUpdate which fields are marked as primary key.
MethodPathDescription
GET/api/submissions/{submission_id}/historyGet Field History
GET/api/submissions/{submission_id}/access-logGet Access Log
MethodPathDescription
GET/api/homeGet Home
MethodPathDescription
GET/api/organizations/{org_id}Get Organization
PUT/api/organizations/{org_id}Update Organization
DELETE/api/organizations/{org_id}Delete Organization
GET/api/organizations/{org_id}/analyticsGet Org Analytics
GET/api/organizations/{org_id}/activityGet Org Activity
GET/api/organizations/{org_id}/membersList Members
POST/api/organizations/{org_id}/membersAdd Member
PUT/api/organizations/{org_id}/members/{member_id}Update Member
DELETE/api/organizations/{org_id}/members/{member_id}Remove Member
MethodPathDescription
POST/api/projects/{project_id}/partitionsCreate Partition
GET/api/projects/{project_id}/partitionsList Partitions
GET/api/partitions/{partition_id}Get Partition
PUT/api/partitions/{partition_id}Update Partition
DELETE/api/partitions/{partition_id}Delete Partition
MethodPathDescription
GET/api/partitions/{partition_id}/my-permissionsGet My Permissions
GET/api/partitions/{partition_id}/accountsList Partition Accounts
POST/api/partitions/{partition_id}/accountsAdd Partition Account
PUT/api/partitions/{partition_id}/accounts/{account_id}Update Partition Account
DELETE/api/partitions/{partition_id}/accounts/{account_id}Delete Partition Account
GET/api/partitions/{partition_id}/accounts/{account_id}/field-groupsGet Field Group Permissions
PUT/api/partitions/{partition_id}/accounts/{account_id}/field-groupsSet Field Group Permissions
MethodPathDescription
GET/api/projects/favoritesReturn project IDs the current user has favorited in this org.
POST/api/projects/{project_id}/favoriteFavorite a project. Idempotent.
DELETE/api/projects/{project_id}/favoriteUnfavorite a project.
GET/api/projects/recentReturn project IDs ordered by the user’s most recent access.
GET/api/projects/{project_id}Trigger an immediate export of submissions to Snowflake table.
GET/api/projects/{project_id}/detailTrigger an immediate export of submissions to Snowflake table.
PUT/api/projects/{project_id}Trigger an immediate export of submissions to Snowflake table.
DELETE/api/projects/{project_id}Trigger an immediate export of submissions to Snowflake table.
POST/api/projects/{project_id}/archiveTrigger an immediate export of submissions to Snowflake table.
POST/api/projects/{project_id}/unarchiveTrigger an immediate export of submissions to Snowflake table.
GET/api/projects/{project_id}/analyticsTrigger an immediate export of submissions to Snowflake table.
GET/api/projects/{project_id}/sync-summariesTrigger an immediate export of submissions to Snowflake table.
GET/api/projects/{project_id}/access-logTrigger an immediate export of submissions to Snowflake table.
GET/api/projects/{project_id}/access-log/filter-optionsTrigger an immediate export of submissions to Snowflake table.
GET/api/projects/{project_id}/changelogTrigger an immediate export of submissions to Snowflake table.
GET/api/projects/{project_id}/changelog/filter-optionsTrigger an immediate export of submissions to Snowflake table.
POST/api/projects/{project_id}/exportTrigger an immediate export of submissions to Snowflake table.
MethodPathDescription
GET/api/projects/{project_id}/relationshipsList Relationships
POST/api/projects/{project_id}/relationshipsCreate Relationship
GET/api/relationships/{relationship_id}Get Relationship
PUT/api/relationships/{relationship_id}Update Relationship
DELETE/api/relationships/{relationship_id}Delete Relationship
GET/api/relationships/{relationship_id}/childrenList Relationship Children
POST/api/relationships/{relationship_id}/childrenCreate Relationship Child
MethodPathDescription
POST/api/rules/generateGenerate a rule expression from a natural language prompt using Cortex AI.
MethodPathDescription
POST/api/orgs/{org_id}/semantic-views/preview-tablePre-compute LLM form layout for a single logical table (no DB writes).
POST/api/orgs/{org_id}/semantic-views/generate-hierarchyGenerate project(s) from a Snowflake source (table or semantic view).
GET/api/orgs/{org_id}/semantic-views/{link_id}Delete a semantic view link (does not delete the projects).
DELETE/api/orgs/{org_id}/semantic-views/{link_id}Delete a semantic view link (does not delete the projects).
MethodPathDescription
GET/api/projects/{project_id}/snowflake/native-statusReturn whether the app is running in Snowflake Native App mode.
POST/api/projects/{project_id}/snowflake/suggest-mappingsDescribe a Snowflake table with enriched metadata: columns, row count, and Select field candidates.
POST/api/projects/{project_id}/snowflake/describe-table-enrichedDescribe a Snowflake table with enriched metadata: columns, row count, and Select field candidates.
POST/api/projects/{project_id}/snowflake/generate-from-tableAuto-generate form from Snowflake table columns, then create sync config.
POST/api/projects/{project_id}/snowflake/generate-from-semantic-viewAuto-generate form from a logical table in a Snowflake semantic view.
POST/api/projects/{project_id}/snowflake/distinct-valuesGet distinct values for a column in a Snowflake table.
POST/api/projects/{project_id}/snowflake/sync-configsReturn feature capabilities based on deployment mode.
GET/api/projects/{project_id}/snowflake/sync-configsReturn feature capabilities based on deployment mode.
PUT/api/projects/{project_id}/snowflake/sync-configs/{config_id}Return feature capabilities based on deployment mode.
DELETE/api/projects/{project_id}/snowflake/sync-configs/{config_id}Return feature capabilities based on deployment mode.
POST/api/projects/{project_id}/snowflake/sync-configs/{config_id}/runReturn feature capabilities based on deployment mode.
GET/api/projects/{project_id}/snowflake/sync-logsReturn feature capabilities based on deployment mode.
GET/api/projects/{project_id}/snowflake/sync-logs/{log_id}Return feature capabilities based on deployment mode.
GET/api/projects/{project_id}/snowflake/capabilitiesReturn feature capabilities based on deployment mode.
MethodPathDescription
POST/api/submissionsFetch a submission with its form structure, field values, and permission flags.
GET/api/submissions/{submission_id}Fetch a submission with its form structure, field values, and permission flags.
GET/api/submissions/v/{sync_config_id}/{row_key}Get a virtual submission from Snowflake by sync config ID and row key.
POST/api/submissions/v/materializeMaterialize a virtual Snowflake row into a local submission.
PUT/api/submissions/{submission_id}/fieldsReturn the full ancestor breadcrumb chain from root to current submission.
GET/api/partitions/{partition_id}/submissionsReturn the full ancestor breadcrumb chain from root to current submission.
POST/api/submissions/{submission_id}/statusReturn the full ancestor breadcrumb chain from root to current submission.
GET/api/submissions/{submission_id}/status-historyReturn the full ancestor breadcrumb chain from root to current submission.
DELETE/api/submissions/{submission_id}Return the full ancestor breadcrumb chain from root to current submission.
POST/api/submissions/{submission_id}/unarchiveReturn the full ancestor breadcrumb chain from root to current submission.
GET/api/submissions/{submission_id}/breadcrumbReturn the full ancestor breadcrumb chain from root to current submission.
POST/api/breadcrumbReturn breadcrumb chain for a virtual submission (no database ID).
POST/api/partitions/{partition_id}/submissions/bulk-deleteBulk Delete Submissions
GET/api/partitions/{partition_id}/submissions/exportExport Submissions
MethodPathDescription
POST/api/system-logWrite a system log entry from the frontend.
GET/api/organizations/{org_id}/system-logOrg-wide system log (home page). Requires build seat.
GET/api/organizations/{org_id}/system-log/filter-optionsFilter dropdown options for org-wide system log.
GET/api/projects/{project_id}/system-logProject-scoped system log. Requires build seat.
GET/api/projects/{project_id}/system-log/filter-optionsFilter dropdown options for project-scoped system log.