sdksio.WhatsappCloudApiSDK 1.0.0

dotnet add package sdksio.WhatsappCloudApiSDK --version 1.0.0                
NuGet\Install-Package sdksio.WhatsappCloudApiSDK -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sdksio.WhatsappCloudApiSDK" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sdksio.WhatsappCloudApiSDK --version 1.0.0                
#r "nuget: sdksio.WhatsappCloudApiSDK, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install sdksio.WhatsappCloudApiSDK as a Cake Addin
#addin nuget:?package=sdksio.WhatsappCloudApiSDK&version=1.0.0

// Install sdksio.WhatsappCloudApiSDK as a Cake Tool
#tool nuget:?package=sdksio.WhatsappCloudApiSDK&version=1.0.0                

Getting Started with WhatsApp Cloud API

Introduction

Welcome to the WhatsApp API from Meta.

Individual developers and existing Business Service Providers (BSPs) can now send and receive messages via the WhatsApp API using a cloud-hosted version of the WhatsApp Business API. Compared to the previous solutions, the cloud-based WhatsApp API is simpler to use and is a more cost-effective way for businesses to use WhatsApp. Please keep in mind the following configurations:

Name Description
Version Latest Graph API version. For example: v13.0
User-Access-Token Your user access token after signing up at developers.facebook.com.
WABA-ID Your WhatsApp Business Account (WABA) ID.
Phone-Number-ID ID for the phone number connected to the WhatsApp Business API. You can get this with a Get Phone Number ID request.
Business-ID Your Business' ID. Once you have your Phone-Number-ID, make a Get Business Profile request to get your Business' ID.
Recipient-Phone-Number Phone number that you want to send a WhatsApp message to.
Media-ID ID for the media to send a media message or media template message to your customers.
Media-URL URL for the media to download media content.

Install the Package

If you are building with .NET CLI tools then you can also use the following command:

dotnet add package sdksio.WhatsappCloudApiSDK --version 1.0.0

You can also view the package at: https://www.nuget.org/packages/sdksio.WhatsappCloudApiSDK/1.0.0

Initialize the API Client

Note: Documentation for the client can be found here.

The following parameters are configurable for the API Client:

Parameter Type Description
Version string Default: "v13.0"
Environment Environment The API environment. <br> Default: Environment.Production
Timeout TimeSpan Http client timeout.<br>Default: TimeSpan.FromSeconds(100)
AccessToken string The OAuth 2.0 Access Token to use for API requests.

The API client can be initialized as follows:

WhatsAppCloudAPI.Standard.WhatsAppCloudAPIClient client = new WhatsAppCloudAPI.Standard.WhatsAppCloudAPIClient.Builder()
    .AccessToken("AccessToken")
    .Environment(WhatsAppCloudAPI.Standard.Environment.Production)
    .Version("v13.0")
    .Build();

Authorization

This API uses OAuth 2 Bearer token.

List of APIs

Classes Documentation

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 186 6/8/2023