API
2 min
Create form link
Get public form by id
Data schema for rendering the form to the user
GET
https://{{vladislavk}}/v2-forms/public/{{lUBsYNOIQOgnqWiUDoYOJ}}
fetch("https://hypercharge.hyper1.net/v2-forms/public/formsUnsubscribe", {
"method": "GET",
"headers": {
"Accept": "application/json"
}
})
.then(response => {
console.log(response);
})
.catch(err => {
console.error(err);
});
Save public form
The entity item will be added to the entity that is configured in the administrative panel of the portal
POST
https://{{host}}/v2-forms/public/{{formId}}
fetch("https://hypercharge.hyper1.net/v2-forms/public/formsUnsubscribe", {
"method": "POST",
"headers": {
"Accept": "application/json"
},
"body": JSON.stringify(data)
})
.then(response => {
console.log(response);
})
.catch(err => {
console.error(err);
});