Skip to main content
POST
https://searchcompany-main.up.railway.app
/
api
/
submit-email
curl -X POST https://searchcompany-main.up.railway.app/api/submit-email \
  -H "Content-Type: application/json" \
  -d '{
    "email": "interested@company.com"
  }'
{
  "success": true,
  "message": "Added to waitlist"
}
Public endpoint for the marketing website waitlist form. Adds the email to Loops for email marketing and waitlist management.
This is a public endpoint - no authentication required. Used on the searchcompany.co landing page.

Request Body

email
string
required
Email address to add to waitlist

Response

success
boolean
true if added successfully
message
string
Status message
curl -X POST https://searchcompany-main.up.railway.app/api/submit-email \
  -H "Content-Type: application/json" \
  -d '{
    "email": "interested@company.com"
  }'
{
  "success": true,
  "message": "Added to waitlist"
}

Loops Integration

When submitted, the contact is created in Loops with:
FieldValue
emailSubmitted email
firstName”John” (placeholder)
lastName”Doe” (placeholder)
source”Website Waitlist”
userGroup”Waitlist”
subscribedtrue
onboardedfalse