Axuz Developers

GET /public/forms/{slug}/render

HTML standalone do form

  • Access: Public
  • Service: https://api-forms.axuz.net

Accepted authentication

No authentication (public route, or protected by link/signature).

Página renderizada server-side pronta pra iframe. Inclui JS inline com anti-CSRF, honeypot toggle, chamada pré/final ao submit e captcha widget se configurado no env.

Parameters

NameInTypeRequiredDescription
slugpathstringyes

Slug URL-safe do form (^[a-zA-Z0-9_-]{3,64}$).

Responses

200

HTML da página

404

Recurso não encontrado

NameTypeRequiredDescription
errorstringyes

429

Limite de requisições excedido.

NameTypeRequiredDescription
errorstringyes

500

Erro inesperado

NameTypeRequiredDescription
errorstringyes

Examples

"Try it" is turned off in this reference. Use the examples with your test credential.

curl

curl -sS -X GET 'https://api-forms.axuz.net/public/forms/SLUG/render'

Node.js

const res = await fetch("https://api-forms.axuz.net/public/forms/SLUG/render", {
  method: 'GET',
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());

Python

import os
import requests

res = requests.request(
    "GET",
    "https://api-forms.axuz.net/public/forms/SLUG/render",
    timeout=30,
)
res.raise_for_status()
print(res.json())