All URIs are relative to https://api.sendinblue.com/v3
Method | HTTP request | Description |
---|---|---|
DeleteWhatsappCampaign | DELETE /whatsappCampaigns/{campaignId} | Delete a whatsapp campaign |
GetWhatsappCampaign | GET /whatsappCampaigns/{campaignId} | Get Whatsapp campaign Overview |
void DeleteWhatsappCampaign (Object campaignId)
Delete a whatsapp campaign
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class DeleteWhatsappCampaignExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new WhatsappCampaignsApi();
var campaignId = new Object(); // Object | id of the campaign
try
{
// Delete a whatsapp campaign
apiInstance.DeleteWhatsappCampaign(campaignId);
}
catch (Exception e)
{
Debug.Print("Exception when calling WhatsappCampaignsApi.DeleteWhatsappCampaign: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
campaignId | Object | id of the campaign |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetWhatsappCampaignOverview GetWhatsappCampaign (Object campaignId)
Get Whatsapp campaign Overview
using System;
using System.Diagnostics;
using sib_api_v3_sdk.Api;
using sib_api_v3_sdk.Client;
using sib_api_v3_sdk.Model;
namespace Example
{
public class GetWhatsappCampaignExample
{
public void main()
{
// Configure API key authorization: api-key
Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
// Configure API key authorization: partner-key
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
var apiInstance = new WhatsappCampaignsApi();
var campaignId = new Object(); // Object | Id of the campaign
try
{
// Get Whatsapp campaign Overview
GetWhatsappCampaignOverview result = apiInstance.GetWhatsappCampaign(campaignId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling WhatsappCampaignsApi.GetWhatsappCampaign: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
campaignId | Object | Id of the campaign |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]