API Reference

Submit data programmatically from your own applications.


Endpoint

POSThttps://intake.byteoniclabs.com/api/forms/{slug}/submit

Payload

Send a JSON object where keys match your form field names.

{
    "email": "user@example.com",
    "name": "John Doe",
    "message": "Hello world",
    "meta": {
      "source": "my-custom-landing-page"
    }
  }

Response

Success (200 OK)

{
    "success": true,
    "message": "Form submitted successfully"
  }

Error (400 Bad Request)

{
    "error": "Validation failed",
    "details": {
       "email": "Invalid email address."
    }
  }