XISUITEDokumentation

Public Form Builder

6 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1

Fetch a published form by its public slug#

GET/public/forms/{slug}Öffentlich

Parameter

NameOrtTypBeschreibung
slugPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/public/forms/{slug}"

Open a Stripe Checkout session for a published form#

POST/public/forms/{slug}/checkout-sessionÖffentlich

Parameter

NameOrtTypBeschreibung
slugPflichtPfadstring–
originPflichtHeaderstring–

Request-Bodyapplication/jsonPublicFormPaymentSessionDto

NameTypBeschreibung
field_keyPflichtstring

field_key of the `products` field being paid for.

selectionsPflichtFormPaymentSelectionDto[]

Selected products and their quantities.

selections[].product_idPflichtstring

Catalog product id, taken from the products field options.

selections[].quantityPflichtnumber

Requested quantity. Clamped server-side to the product min/max.

submission_dataPflichtobject

Full answer map keyed by field_key. Validated and saved as a draft submission before charging.

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/public/forms/{slug}/checkout-session" \
  -H "Content-Type: application/json" \
  -d '{"field_key":"…","selections":[],"submission_data":{}}'

Non-secret payment config for a published form#

GET/public/forms/{slug}/payment-configÖffentlich

Parameter

NameOrtTypBeschreibung
slugPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/public/forms/{slug}/payment-config"

Poll payment state for a checkout session#

GET/public/forms/{slug}/payment-statusÖffentlich

Parameter

NameOrtTypBeschreibung
slugPflichtPfadstring–
session_idPflichtQuerystring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/public/forms/{slug}/payment-status"

Submit a published form#

POST/public/forms/{slug}/submitÖffentlich

Parameter

NameOrtTypBeschreibung
slugPflichtPfadstring–

Request-Bodyapplication/jsonPublicFormBuilderSubmitDto

Keine Felder dokumentiert.

Antworten

  • 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/public/forms/{slug}/submit" \
  -H "Content-Type: application/json" \
  -d '{}'

Upload a file for a file_upload/audio field on a published form#

POST/public/forms/{slug}/uploadÖffentlich

Parameter

NameOrtTypBeschreibung
slugPflichtPfadstring–
fieldKeyPflichtQuerystring

The field_key of the file_upload/audio field

Antworten

  • 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/public/forms/{slug}/upload"
Stand: 25. Oktober 2026© 2026 XISUITE · AmberTech Solutions