Skip to content
Pathbound DOCS

Health & Public Endpoints

These endpoints do not require an API key.

GET /v1/health

Returns a simple status indicating the API is running.

{
"status": "success",
"message": "Public API is healthy",
"timestamp": "2026-04-29T12:00:00.000Z"
}

POST /v1/public/form-submission/:tenant_id/:form_id

Accepts form submissions from your website. Authentication is handled through domain verification rather than API keys — your tenant’s verified domains are checked against the request’s Origin/Referer.

This endpoint is what the Pathbound tracker snippet calls when a visitor submits a form on your site. You can also call it directly from a custom form.

ParameterTypeDescription
tenant_idstringYour Pathbound tenant ID.
form_idstringThe form identifier.
FieldTypeRequiredDescription
visitor_idstringnoVisitor tracking ID from the tracker. When provided, the submission is linked to the visitor’s prior pageviews.
contact_dataobjectnoMust include email if provided. Other fields optional.
company_dataobjectnoMust include domain if provided.

lifecyclestage (if set) must be one of: lead, prospect, mql, sql, opportunity, customer, evangelist, subscriber, other.

Terminal window
curl -X POST https://api.pathbound.ai/v1/public/form-submission/tenant_abc/form_xyz \
-H "Content-Type: application/json" \
-d '{
"visitor_id": "vis_123",
"contact_data": {
"email": "[email protected]",
"firstname": "Alex"
},
"company_data": {
"domain": "example.com"
}
}'
{
"status": "success",
"message": "Thank you for your submission"
}

The endpoint deliberately does not return internal IDs to avoid leaking tenant state to anonymous callers.

StatusMeaning
400Invalid request body.
403Domain not verified for this tenant.
429Rate limit exceeded — global (30/min/IP) or per-tenant (100/min).