Skip to content

Hosting and Embeds

Every published form gets a hosted URL that humans use to fill out the form. No server required on your side.

When you publish a form, AgentsForms generates a hosted URL:

https://agentsforms.com/f/support-intake

When using sessions, the URL includes the session ID:

https://agentsforms.com/f/sess_xyz789

Send this URL to your user via your agent’s existing channel — email, Slack, chat widget, or SMS.

Embed the hosted form in an iframe for a seamless experience inside your own application:

<iframe
src="https://agentsforms.com/f/support-intake"
width="100%"
height="600"
frameborder="0"
title="Support Intake Form"
></iframe>

The form auto-resizes to fit its content. If you need height communication, use a session URL and listen for the message event:

<iframe id="agentsforms-frame"
src="https://agentsforms.com/f/sess_xyz789"
width="100%"
height="400"
></iframe>
<script>
window.addEventListener('message', (event) => {
if (event.origin === 'https://agentsforms.com') {
if (event.data.type === 'resize') {
document.getElementById('agentsforms-frame').style.height = event.data.height + 'px';
}
}
});
</script>

The hosted form inherits your form definition’s structure but uses AgentsForms’ default styling. Custom CSS themes are planned.

Custom domain support (forms.yourdomain.com) is planned. For now, all hosted forms live under agentsforms.com.