Get a form by slug

Returns an active form by slug, with its field schema and settings, so you can render it before posting to `POST /forms/{slug}/submissions`. An unknown or inactive slug returns 404. `recaptchaVersion` and `recaptchaSiteKey` describe this form's own verification. When site-wide verification is active, read them from `GET /spam-settings` instead. Without `locale`, a multi-language site serves its default language. With `locale`, the locale chain picks the translation, and `fallback=false` returns 404 when the requested language has none. Send the same `locale` and `fallback` when you submit.

Required access
No credentialOptional: publishable keySite access
GET/forms/{slug}
Base URLhttps://api.lynkow.com/storefront/{siteId}

Path parameters

slug
string
required

URL-friendly identifier, unique per site and locale

Query parameters

fallback
boolean

With `locale`, `false` returns 404 when the item is not translated into the requested locale. Single-language sites ignore it

Default: true

locale
string

Language of the form. Without a translation, the locale chain serves another one (`isFallback` true) unless `fallback=false`.

Feedback

Was this page helpful?