text-widget-public

Proxy Enquiry Form

Changed on

Fire-and-forget relay of enquiry form data to an external URL.

The widget POSTs here to avoid CORS issues when submitting to third-party form endpoints (HubSpot, Typeform, etc.). The backend forwards the payload server-side and returns the upstream status code. No PII is stored.

post/api/v1/public/text-widget/enquiry-proxy

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/public/text-widget/enquiry-proxy
  • Auth: none declared

Query parameters

keystring nullable

Headers

X-Widget-Keystring nullable

Request body

form_action_urlstring required
methodstring
payloadobject

Response

Successful Response

successboolean required
status_codeinteger required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status