Create a savings study
Changed onGenerates the customer-facing savings-study PDF, stores it privately, e-mails it to the recipient (shareable link + the PDF attached), and returns the link. The link points at GET /api/v1/studies/{id}/pdf, which redirects to a short-lived SAS on each visit — the PDF is never a permanently-open public URL (GDPR: expiry + access logs + revocation on delete).
Request
- Base URLhttps://api.partner.cubee.cz
- URLhttps://api.partner.cubee.cz/api/v1/studies
- Authnone required
Headers
Optional id of the caller's own end-user this study belongs to. Tag studies with it to list them back later via GET /api/v1/studies. Opaque to Cubee — never send a name or e-mail.
Cube IT only. Company identification number (IČO) of the company embedding the calculator, which brands the study (logo + contact) as that partner's instead of generic Cubee. Marks the call as an embed: any other token sending it gets 403, and a CIN matching no partner falls back to generic Cubee branding.
Request body
Response
OK
Example response
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"url": "https://api.partner.cubee.cz/api/v1/studies/3fa85f64-5717-4562-b3fc-2c963f66afa6/pdf",
"emailSent": true
}Changes
- info
endpoint added
- info