Nexmo.Csharp.Client 4.1.0

Official C#/.NET wrapper for the Nexmo API

There is a newer version of this package available.
See the version list below for details.
Install-Package Nexmo.Csharp.Client -Version 4.1.0
dotnet add package Nexmo.Csharp.Client --version 4.1.0
<PackageReference Include="Nexmo.Csharp.Client" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nexmo.Csharp.Client --version 4.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

v4.1 Fixes the structure of the application update API. This changed structure may require some code changes as the previous implementation created an erroneous structure for performing the update and start request. Use something along the lines of the following to create the request for the update / create:

var request = new AppRequest()
            {                
                Name = name,
                Capabilities = new Capabilities()
                {
                    Messages = new MessagesWebhook(
                        new Webhook() { Address = "https://example.com/webhooks/inbound", HttpMethod = "POST" },
                        new Webhook() { Address = "https://example.com/webhooks/status", HttpMethod = "POST" }),
                    Rtc = new RtcWebhook(
                        new Webhook() { Address = "https://example.com/webhooks/event", HttpMethod = "POST" }),
                    Voice = new VoiceWebhook(
                        new Webhook() { Address = "https://example.com/webhooks/answer", HttpMethod = "GET" },
                        new Webhook() { Address = "https://example.com/webhooks/event", HttpMethod = "POST" }),
                    Vbc = new VbcWebhook()
                }
            };

v4.1 Fixes the Redact API, this can be invoked like so:

var result = client.Redact.RedactTransaction(redactRequest: new Redact.RedactRequest(NEXMO_REDACT_ID, NEXMO_REDACT_PRODUCT));

v4.1 Adds support for retrieving voice recordings using the GetRecording API
invoke like so:

var response = client.Call.GetRecording(recordingUrl);

v4.1 Fixes the structure of the application update API. This changed structure may require some code changes as the previous implementation created an erroneous structure for performing the update and start request. Use something along the lines of the following to create the request for the update / create:

var request = new AppRequest()
            {                
                Name = name,
                Capabilities = new Capabilities()
                {
                    Messages = new MessagesWebhook(
                        new Webhook() { Address = "https://example.com/webhooks/inbound", HttpMethod = "POST" },
                        new Webhook() { Address = "https://example.com/webhooks/status", HttpMethod = "POST" }),
                    Rtc = new RtcWebhook(
                        new Webhook() { Address = "https://example.com/webhooks/event", HttpMethod = "POST" }),
                    Voice = new VoiceWebhook(
                        new Webhook() { Address = "https://example.com/webhooks/answer", HttpMethod = "GET" },
                        new Webhook() { Address = "https://example.com/webhooks/event", HttpMethod = "POST" }),
                    Vbc = new VbcWebhook()
                }
            };

v4.1 Fixes the Redact API, this can be invoked like so:

var result = client.Redact.RedactTransaction(redactRequest: new Redact.RedactRequest(NEXMO_REDACT_ID, NEXMO_REDACT_PRODUCT));

v4.1 Adds support for retrieving voice recordings using the GetRecording API
invoke like so:

var response = client.Call.GetRecording(recordingUrl);

Release Notes

* adding workflow_id to VerifyRequest

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nexmo.Csharp.Client:

Package Downloads
LiteX.Sms.Nexmo
Allow sending texts via Nexmo. Wrapper around Nexmo api to send sms messages from any type of application. Small library for manage sms with Nexmo. A quick setup for Nexmo Sms. Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with Nexmo integration with your system. LiteXSms is simple yet powerful and very high-performance sms mechanism and incorporating both synchronous and asynchronous usage with some advanced usages which can help us to handle sending sms more easier! Provide Sms service for any type of application (.NET Core, .NET Standard). Very simple yet advanced configuration. Minimal (one line) code configuration is required.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
5.2.0 66 8/7/2020
5.1.0 927 7/1/2020
5.0.0 1,013 6/22/2020
4.4.1 526 6/17/2020
4.4.0 1,435 6/5/2020
4.3.2 10,766 4/8/2020
4.3.1 6,147 2/24/2020
4.3.0 3,725 1/15/2020
4.2.1 5,679 11/12/2019
4.2.0 2,214 10/21/2019
4.1.2 359 10/11/2019
4.1.1 936 10/4/2019
4.1.0 613 9/24/2019
4.0.1 2,382 9/13/2019
4.0.0 12,413 6/11/2019
3.4.0 2,932 5/10/2019
3.3.1 2,145 4/26/2019
3.2.4 47,890 1/23/2019
3.2.2 13,881 10/22/2018
3.2.1 402 10/17/2018
3.2.0 5,784 9/28/2018
3.1.1 5,869 9/4/2018
3.1.0 15,102 8/17/2018
3.1.0-rc2 344 7/28/2018
3.1.0-rc1 261 7/21/2018
3.0.1 15,507 3/5/2018
3.0.0 1,389 2/24/2018
3.0.0-pre3 10,080 9/29/2017
3.0.0-pre2 377 9/22/2017
3.0.0-pre1 459 6/30/2017
2.3.1 2,423 11/24/2017
2.3.0 628 11/9/2017
2.2.2 5,141 6/19/2017
2.2.1 2,127 3/21/2017
2.2.0 2,120 3/10/2017
2.2.0-rc2 743 1/28/2017
2.2.0-rc1 541 1/13/2017
2.1.2 1,480 12/7/2016
2.1.1 493 12/7/2016
2.1.0 880 11/18/2016
2.0.0 1,441 10/24/2016
2.0.0-rc2 445 10/22/2016
2.0.0-rc1 519 10/16/2016
1.0.0 2,639 3/19/2016
Show less