public
GET /v1/public/quotes/form
What the free-quote form needs to render itself.
Նույնականացում
Այս վերջնակետը հանրային է: Այն չի պահանջում որևէ հավատարմագիր կամ կազմակերպություն. դա այն է, ինչ կարդում են մեր սեփական մարքեթինգային կայքը և արհեստական բանականության պատասխանների շարժիչները:
Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:
Փորձել
Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:
curl -X GET https://api.zinndigital.com/v1/public/quotes/formՄուտք գործե՞լ եք: Ձեր վահանակի API վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ 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