List a site's forms
const url = 'https://digize.com/api/v1/sites/example/forms';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/sites/example/forms \ --header 'x-api-key: <x-api-key>'The forms a site sends to Digize, the oldest first: each one’s label, the tags everyone who sends it gets, the member new contacts from it belong to, how many times it’s been sent and when last. A form shows up on its first submission, or when the agent builds it into the site.
Needs the sites:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Done
object
What the site posts as _form. A post matches it whatever its case.
What the app calls it; empty to show the name.
Tags everyone who sends it gets on their contact.
The member, by user id, new contacts from it belong to; null for CRM settings’ rule. A member who has left is passed over.
Whether sending it subscribes people to newsletters: off, always, or checkbox when they tick a field named subscribe.
How many times it’s been sent.
When it was first sent or saved.
Example
[ { "newsletter": "off" }]What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}