public
GET /v1/public/quotes/form
What the free-quote form needs to render itself.
Санҷиши ҳаққоният
Ин нуқтаи поёни оммавӣ аст. Он ҳеҷ гуна маълумоти эътимоднок ва ҳеҷ гуна созмонро талаб намекунад — он ҳамон чизест, ки сайти маркетингӣ ва муҳаррикони ҷавоби сунъии худи мо мехонанд.
Ин нуқтаи поёнӣ ягон рақами мушаххаси созмонро талаб намекунад. Калиди шумо аллакай созмонеро, ки ба он тааллуқ дорад, муайян мекунад ва ҷавоб ба он маҳдуд карда мешавад.
Санҷидан
Ҳар чизро дар қаavски кунҷӣ бо қиматҳои худ ва ҷойи нигоҳдорандаи калидро бо калима аз панели идоракунии худ иваз кунед.
curl -X GET https://api.zinndigital.com/v1/public/quotes/formВоarid шудаед? Консоли API дар панели идоракунии шумо рақами мушаххаси ташкилоти воқеӣ ва калиди худро пур мекунад ва дархостро бар зидди API-и фаъол иҷро мекунад, то шумо посухи воқеиро бубинед. Ин нуқтаи ниҳоиро дар консоли API кушоед
Тафсилот
Anonymous — no credential, no tenant. Reports the Cloudflare Turnstile site key (public by construction; it ships in the page's HTML) and the enum choices the form's dropdowns are built from. ⛔ The choices come from here rather than being hand-copied into the client for the reason a hand-maintained copy of anything always goes wrong: it goes stale silently and then submits a value the engine refuses, which the visitor sees as an error on a field they filled in correctly. ⛔ turnstile_site_key is null — never "" — when no challenge is configured. The client branches on it, and "not configured" and "configured as an empty string" must be distinguishable on the wire.
Ҷавоб
| Ном | Намуд | Талаб карда мешавад | Ин чӣ аст |
|---|---|---|---|
turnstile_site_key | string | Бале | The Cloudflare Turnstile site key, or null when no challenge is configured. ⛔ Public by construction — it ships in the page's HTML — which is why it is served rather than kept… |
max_attachments | integer | Бале | How many files one submission may carry. |
max_attachment_bytes | integer | Бале | The ceiling across the WHOLE request, not per file. Five files each inside the per-file cap is far more than an anonymous caller should be able to store. |
accepted_types | string[] | Бале | The media types an attachment may be. An allow-list, never a block-list — a block-list is a claim that somebody thought of every dangerous format. |
project_types | QuoteChoice[] | Бале | — |
budget_bands | QuoteChoice[] | Бале | — |
timelines | QuoteChoice[] | Бале | — |
Хатоҳое, ки ин нуқтаи ниҳоӣ метавонад баргардонад
429