How-to · Checked November 22, 2026

What a form endpoint is and how to get one

A form endpoint is the web address a form sends its data to. In HTML it is the value of the form's action attribute. In JavaScript it is the address you pass to fetch.

You get one by signing up for a form backend, by writing your own server route, or by asking an AI coding tool to create one for you.

What it looks like

An endpoint from a form backend is an ordinary https address that is unique to one form:

<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST">

Anything posted there is saved as a submission of that form. The longer definition is in the glossary, next to form action and form backend.

What an endpoint accepts

  • An ordinary form post, which is what a browser sends by default.
  • A multipart post, used when the form includes a file input.
  • JSON, sent from JavaScript with Content-Type set to application/json.

What it answers with

A browser form post is answered with a redirect to a thank-you page. A request that asks for JSON, using the header Accept: application/json, gets a JSON result that your script can read. On FormTango that result is { ok: true, id } on success or { ok: false, error } on failure.

Three ways to get one

  • Create an account at a form backend and add a form. In FormTango the endpoint is shown on the form's Setup tab, in the shape https://formtango.com/f/ followed by the form id.
  • Ask an AI coding tool. FormTango lets a tool create a working form with one request and no account. You get a claim link to take ownership. Until it is claimed, the form accepts 20 submissions, sends no email, and is deleted after 7 days.
  • Write your own: a server route or serverless function that reads the post. You then own the storage, spam filtering and email too.

Is it safe to publish?

Yes. A form endpoint is write-only: it can receive submissions but cannot be used to read them. It is meant to sit in public HTML. It is different from an API key, which can read your data and must stay on a server.

What a public endpoint does invite is spam, so the service behind it matters. FormTango filters spam on every form and limits each visitor to 10 submissions a minute per form.

Try it

  • Build a form with the HTML form generator and paste your endpoint into it.
  • Send a submission with a _test field set to 1, so it is not counted and nobody is emailed.
  • Read what is a form backend for the bigger picture. The free plan covers 1,000 submissions a month with unlimited forms. Paid plans start at $9 a month.

Common questions

Is a form endpoint the same as an API?
It is one narrow piece of an API: a single address that accepts form submissions. It needs no key and cannot return your stored data.
Can I get a form endpoint without signing up?
With FormTango, yes. An AI coding tool or a single request to the claims API creates a working endpoint with no account. You claim it later with the link you are given. Details are on the [AI page](/ai).
Can one endpoint be used on several pages?
Yes. Every form that posts to the same endpoint adds to the same inbox. Use separate endpoints when you want the submissions kept apart.

Written by the FormTango team. Facts about other services were read from their own pages on November 22, 2026. Spotted something out of date? Tell us and we will fix it.

Keep reading