Endpoints & Custom Forms
Custom Form API & Submission Endpoints
SiteNix Endpoints allow you to collect lead form responses from any external landing page, custom website, or mobile app and receive them directly into your SiteNix Dashboard Inbox.
Public Submission Endpoint URL
POST
https://sitenix.app/api/v1/forms/[endpointId]/[ruleId]Accepts standard application/json or form data payloads. Automatically validates required customer fields (Name, Phone, Email).
Sample Request Payload
POST /api/v1/forms/ep_9823471/rule_contact HTTP/1.1
Host: sitenix.app
Content-Type: application/json
{
"name": "Jane Doe",
"email": "jane@example.com",
"phone": "+2348012345678",
"message": "Interested in buying products."
}HTTP Response Status Codes
| Status Code | Description | Cause / Handling |
|---|---|---|
| 200 OK | Form submission validated & recorded | Lead saved to SiteNix dashboard inbox. |
| 400 Bad Request | Missing required field or invalid format | Check error response message. |