Quote API

Start with synthetic fields only. POST returns a versioned disclosure and short-lived request ID, not a price. Relay the disclosure exactly and wait for a clear yes before sending the second request. No login.

1. Start the quote

curl https://sun.theglobecast.com/api/quote \
  -H 'Content-Type: application/json' \
  -d '{"vehicle":"compact","year":2025,"age":25}'

2. After explicit consent

curl https://sun.theglobecast.com/api/quote/consent \
  -H 'Content-Type: application/json' \
  -d '{"requestId":"REPLACE","disclosureVersion":"sun-duty-v1","customerConsented":true}'

Returns a quote and a resume URL. Give the URL to the customer to finish the demo checkout. No sale API.

Back to The Sun