Go

Install, authenticate, and call ISA from Go 1.22+.

Go

Use the official Go SDK to call ISA from any Go 1.22+ service. Install, authenticate, and start integrating in under five minutes.

go get github.com/isa-sdk/[email protected]

Authenticate with your bearer token, then run a prequalification:

import (
	"context"

	sdk "github.com/isa-sdk/sdk"
	"github.com/isa-sdk/sdk/catalog"
	"github.com/isa-sdk/sdk/zyins"
)

isa, err := sdk.WithBearer("")  // reads ISA_TOKEN from environment
if err != nil {
	return err
}

ctx := context.Background()
height, _ := zyins.NewHeight(5, 10)
weight, _ := zyins.NewWeight(195)
coverage, _ := zyins.NewFaceValueCoverage(25_000)
// Products.Fex.AetnaAccendo carries the stable prod_<uuid> used on the wire.
products, _ := zyins.NewProductSelectionOf(catalog.Products.Fex.AetnaAccendo())

resp, err := isa.Zyins.Prequalify.Run(ctx, &zyins.PrequalifyRequest{
	Applicant: zyins.Applicant{
		Sex:         zyins.SexMale,
		DOB:         "1962-04-18",
		Height:      height,
		Weight:      weight,
		State:       catalog.StateNorthCarolina,
		NicotineUse: zyins.NicotineUsageInput{LastUsed: zyins.NicotineNever},
	},
	Coverage: coverage,
	Products: products,
})

Your isa_test_… and isa_live_… tokens arrive by email after checkout. The Quickstart walks through your first 200 line by line, and the catalog reference lists every product.