This repository contains an example of how to use the API with C#, using the RestSharp package.
GET /oauth/v2/tokenfor the authentication processGET /1.0/list.jsonget a list of existing contact listsPOST /1.0/list.jsonto create a new listPOST /1.0/list/{id}/import.jsonto import a csv file into an specific listPOST /1.0/campaign.jsonto create a listPOST /1.0/campaign/{id}/schedule.jsonto schedule an existing campaign
See more api details at postman doc, using the C# - RestSharp language option.
To test this example, replace the following variable values on Program.cs:
string client_id = "CLIENT_ID";
string client_secret = "CLIENT_SCRET";
string client_slug = "SLUG";If .net is installed as one of the options given by microsoft, then use:
$ dotnet run- Ubuntu 20.04 with dotnet 6.0