# Practice Expandtesting — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Submit practice forms on the Practice Expand Testing page to validate form functionality and receive confirmation responses. Test your form submission logic with real-time feedback on validation rules and success messages.

**Category:** Developer Tools | **Website:** [practice.expandtesting.com/form-validation](https://practice.expandtesting.com/form-validation) | **Docs:** [parse.bot/marketplace/dfc5cd09-d0fd-49a2-a34e-a120b9738b80/practice-expandtesting-com-api](https://parse.bot/marketplace/dfc5cd09-d0fd-49a2-a34e-a120b9738b80/practice-expandtesting-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-practice-expandtesting-com-api-dfc5cd09/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### submit_form

Submits the form validation form with contact_name, phone, email, and message fields. The form posts to the confirmation endpoint and returns a response message indicating successful submission. All four fields are required for submission.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `contact_name` | string | Yes | The contact name to submit in the form. |
| `email` | string | Yes | The email address to submit in the form. |
| `message` | string | Yes | The message to submit in the form. |
| `phone` | string | Yes | The phone number to submit in the form (e.g. 012-3456789). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-practice-expandtesting-com-api-dfc5cd09/submit_form \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contact_name":"<string>","email":"<string>","message":"<string>","phone":"<string>"}'
```
