Getting Started with GoWell Insurance Enrollment Web API
Welcome to the GoWell Insurance Enrollment Web API! This guide will help you get up and running quickly with our API.
Prerequisites
Before you begin, ensure you have the following
- An API key (contact our support team to obtain one)
- .NET 8.0 SDK or later installed on your development machine
- A REST client like Postman or cURL for testing API endpoints
Installation
To use the GoWell Insurance Enrollment Web API in your project, install our NuGet package
dotnet add package GoWell.InsuranceEnrollment.Api
Basic Usage
Here's a quick example of how to use our API to enroll a customer
using GoWell.InsuranceEnrollment.Api;
using GoWell.InsuranceEnrollment.Models;
var client = new GoWellApiClient(YOUR_API_KEY);
var customer = new Customer
{
FirstName = John,
LastName = Doe,
DateOfBirth = new DateTime(1990, 1, 1),
Email = john.doe@example.com
};
var planId = GOLD001;
try
{
var result = await client.EnrollCustomerAsync(customer, planId);
Console.WriteLine($Enrollment successful. Confirmation number {result.ConfirmationNumber});
}
catch (GoWellApiException ex)
{
Console.WriteLine($Enrollment failed {ex.Message});
}
Next Steps
- Explore our API Overview to learn about available endpoints
- Read about Authentication to secure your API requests
- Check out our Best Practices for optimal API usage
If you need any help, don't hesitate to check our FAQ or contact our support team.