Welcome to the VoyadoEngage SDK documentation. This guide will help you get started with integrating and using the VoyadoEngage SDK in your project.
- API version:
v2
- SDK version:
1.0.0
The Voyado Engage API enables developers to interact with Voyado's customer experience platform, allowing for the management and personalization of marketing efforts.
This SDK is compatible with the following versions: C# >= .NET 6
To get started with the SDK, we recommend installing using nuget
:
dotnet add package VoyadoEngage
The VoyadoEngage API uses an Access Token for authentication.
This token must be provided to authenticate your requests to the API.
When you initialize the SDK, you can set the access token as follows:
using VoyadoEngage;
using VoyadoEngage.Config;
var config = new VoyadoEngageConfig()
{
AccessToken = "YOUR_ACCESS_TOKEN"
};
var client = new VoyadoEngageClient(config);
If you need to set or update the access token after initializing the SDK, you can use:
client.SetAccessToken("YOUR_ACCESS_TOKEN")
Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:
using VoyadoEngage;
using VoyadoEngage.Config;
using Environment = VoyadoEngage.Http.Environment;
var config = new VoyadoEngageConfig
{
Environment = Environment.Default,
AccessToken = "YOUR_ACCESS_TOKEN"
};
var client = new VoyadoEngageClient(config);
var response = await client.Achievements.AchievementsGetAllAchievementsAsync(8, 2);
Console.WriteLine(response);
The SDK provides various services to interact with the API.
Below is a list of all available services with links to their detailed documentation:
The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.
Below is a list of all available models with links to their detailed documentation:
This SDK is licensed under the MIT License.
See the LICENSE file for more details.