//Contact Forms API

Contact Forms API

Two unauthenticated endpoints for capturing sales enquiries and general support requests. Both return a reference_id the caller can quote when following up.

POST /api/contact

Account / sales request form.

POST /api/contact
Content-Type: application/json
Accept: application/json          # or application/x-flatbuffers

Request body

| Field | Type | Required | Description | |-------|------|----------|-------------| | name | string | ✓ | Sender's full name | | email | string | ✓ | Reply-to email address | | company | string | | Company / organisation name | | message | string | ✓ | Request details | | app_id | string | | Buttrbase app UUID (scopes the request) |

Response 200 OK

{
  "data": {
    "message":      "Your request has been received. We will be in touch shortly.",
    "reference_id": "7f4e9d2c-..."
  }
}

---

POST /api/contact-us

General support / feedback form.

POST /api/contact-us
Content-Type: application/json

Request body

| Field | Type | Required | Description | |-------|------|----------|-------------| | name | string | ✓ | Sender's full name | | email | string | ✓ | Reply-to email address | | subject | string | ✓ | Brief summary of the enquiry | | message | string | ✓ | Full message body |

FlatBuffers

Both endpoints support Accept: application/x-flatbuffers (file identifier: CONT). Schema: schema/contact.fbs.