Skip to content

Demo FIA Endpoint

Generate a PDF illustration for Fixed Index Annuity (FIA) products.

POST https://api.illustrata.com/api/pdf/DemoFIA

This endpoint requires Bearer token authentication. See Authentication for details.

HeaderRequiredDescription
AuthorizationYesBearer token (format: Bearer ill_xxx...)
Content-TypeYesMust be application/json
{
"printIllustration": "yes",
"annuiyInputData": {
"Product": "Demo FIA",
"initamt": 50000,
"State": "CA"
}
}
FieldTypeRequiredDescription
printIllustrationstringYes"yes" for PDF output, "no" for JSON data
annuiyInputDataobjectYesAnnuity configuration data

The annuiyInputData object accepts flexible fields that vary by product configuration. Common fields include:

FieldTypeDescriptionExample
ProductstringProduct name"Demo FIA"
initamtnumberInitial investment amount50000
StatestringUS state code"CA", "NY", "TX"

Additional fields may be included based on your specific product requirements. The API accepts any valid JSON structure within annuiyInputData.

Returns JSON data with illustration details.

Returns a PDF file with headers:

  • Content-Type: application/pdf
  • Content-Disposition: inline; filename=illustration_[timestamp].pdf
{
"error": "Validation error",
"message": "printIllustration must be 'yes' or 'no'"
}
{
"error": "Invalid or inactive API key",
"message": "API key not found or expired"
}
{
"error": "Rate limit exceeded",
"message": "Too many requests. Please try again later."
}
Terminal window
curl -X POST https://api.illustrata.com/api/pdf/DemoFIA \
-H "Authorization: Bearer ill_your_api_key_here" \
-H "Content-Type: application/json" \
-o illustration.pdf \
-d '{
"printIllustration": "yes",
"annuiyInputData": {
"Product": "Demo FIA",
"initamt": 50000,
"State": "CA"
}
}'
const response = await fetch("https://api.illustrata.com/api/pdf/DemoFIA", {
method: "POST",
headers: {
Authorization: "Bearer ill_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
printIllustration: "yes",
annuiyInputData: {
Product: "Demo FIA",
initamt: 50000,
State: "CA",
},
}),
});
if (response.ok) {
const blob = await response.blob();
// Handle PDF blob
}
FeatureFIAMYGA
Product TypeIndex-linked returnsFixed guaranteed rate
Interest MethodVariable based on indexFixed rate
ComplexityMore complex illustrationsSimpler illustrations
  • The printIllustration field must be exactly "yes" or "no"
  • State codes must be valid US state abbreviations
  • The annuiyInputData structure is flexible and depends on your product configuration
  • Rate limiting: 100 requests per 15-minute window by default
  • FIA illustrations may take slightly longer to generate due to index calculations