What is a Form ID?
A form ID is a unique identifier assigned to each form in your workspace. It’s required for making API requests that interact with specific forms, such as retrieving form submissions. There are two main ways to get a form ID:- Using the API - Programmatically retrieve all forms and their IDs.
- From the URL - Extract the ID directly from your browser’s address bar.
Method 1: Using the API Endpoint
The List all forms API endpoint allows you to retrieve a list of all forms in your workspace, including their IDs. This is particularly useful when you need to programmatically access or retrieve the IDs of all available forms.Step-by-Step Instructions
1
Make the API request
Send a
GET
request to the List all forms API endpoint, including your API key in the request header.2
Parse the response
The response will contain an array of forms, each with an
id
field.Example:3
Extract the form ID
Here the form ID for the
Contact form
is: 53svb04a-7510-a1d6-9a6b-37a92c3ae62b.You can access the form ID in your code from the response using: The
forms
array contains all forms in your workspace. If you have multiple forms, you may want to filter by title or other properties to find the specific form you need. Method 2: From the URL
The form ID appears in the URL when you view a form in your workspace. For example, in the URL:Step-by-Step Instructions
1
Navigate to your form
Log into your NeetoForm workspace and navigate to the form you want to work with.
2
Locate the form URL
Once you’re viewing the form, look at your browser’s address bar. The URL will contain the form ID.
3
Extract the form ID
The form ID is typically found in the URL path. Look for a pattern like:The
{form-id}
part is what you need.URL Examples
Here are some examples of how form IDs appear in URLs:URL Example | Form ID |
---|---|
https://mycompany.neetoform.com/admin/form/7db4b04a-6e17-4af6-a1d6-650c4cba3f91/share | 7db4b04a-6e17-4af6-a1d6-650c4cba3f91 |
https://marketing.neetoform.com/admin/form/b4c8c9b6-7510-4d69-9a6b-37a92c3ae62b/settings | b4c8c9b6-7510-4d69-9a6b-37a92c3ae62b |
https://events.neetoform.com/admin/form/sv53b04a-7510-a1d6-9a6b-37a92c3ae62b/submissions | sv53b04a-7510-a1d6-9a6b-37a92c3ae62b |