> ## Documentation Index
> Fetch the complete documentation index at: https://docs.formbase.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Common Questions

> Answers to the most common Formbase questions.

Below are answers to frequent questions about how Formbase works and how to troubleshoot issues.

<AccordionGroup>
  <Accordion icon="link" title="What is my form endpoint?">
    Every form has an endpoint at `/s/<form-id>`. On the hosted service, this looks like `https://formbase.dev/s/YOUR_FORM_ID`. For self-hosting, replace the domain with your own.
  </Accordion>

  <Accordion icon="code" title="How do I get a JSON response?">
    Submit from your server (API route, server action, or serverless function). Browser submissions return a `303` redirect and no JSON body.
  </Accordion>

  <Accordion icon="paperclip" title="Does Formbase support file uploads?">
    Yes. Use `multipart/form-data` and configure S3-compatible storage. Uploaded files appear as URLs under `file` or `image` in the submission data.
  </Accordion>

  <Accordion icon="envelope" title="Why am I not receiving emails?">
    Ensure SMTP or Resend is configured in your environment. Email delivery is required for account verification and submission notifications.
  </Accordion>

  <Accordion icon="shield" title="Does Formbase include spam protection?">
    Formbase does not include built-in spam filtering. Use CAPTCHA, honeypots, or edge rules in front of Formbase.
  </Accordion>

  <Accordion icon="terminal" title="How do I test submissions quickly?">
    ```bash theme={null}
    curl -X POST https://formbase.dev/s/YOUR_FORM_ID \
      -H "Content-Type: application/json" \
      -d '{"test":true}'
    ```

    This returns JSON and is a fast way to confirm the endpoint is working.
  </Accordion>
</AccordionGroup>
