Forms
Forms collects submissions. In your own app you either embed a form with one script tag, or render it yourself with your own components and send the answers.
Your first request
Section titled “Your first request”Read a form by its Id, from your server. There is no .NET package for Forms, so this call has two tabs.
curl https://api.ebitex.io/forms/v1/sdk/forms/contact \ -H "Authorization: Bearer $EBITEX_FORMS_KEY"// The first request: read a form by the Id shown in the Forms editor.export async function firstRequest(): Promise<void> { const form = await forms.getForm('contact') console.log(form.name)}Get started
Section titled “Get started”- Add a form to your site: the copy-paste embed, and
@ebitex/forms-sdkfor your own components. - Recognise visitors with their consent: share a visitor between a page and a form.
Guides
Section titled “Guides”Webhooks explains how to verify a Forms webhook, and Receive events from your organization covers form.submission.created.
API reference and packages
Section titled “API reference and packages”The API reference covers the Forms SDK API.
| Package | Registry | Reference |
|---|---|---|
@ebitex/forms-sdk |
npm | SDK reference |