Skip to content

zernio-dev/zernio-dotnet

Repository files navigation

Zernio - the C# library for the Zernio API

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api

This C# SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.4
  • SDK version: 1.0.0
  • Generator version: 7.19.0
  • Build package: org.openapitools.codegen.languages.CSharpClientCodegen For more information, please visit https://zernio.com
## Installation

Install via NuGet:

dotnet add package Zernio

Then add the namespaces to your project:

using Zernio.Api;
using Zernio.Client;
using Zernio.Model;

The legacy Late package is still published at the same version and ships the same SDK under the Late.* namespace for pre-rebrand users.

Packaging

A .nuspec is included with the project. You can follow the Nuget quickstart to create and publish packages.

This .nuspec uses placeholders from the .csproj, so build the .csproj directly:

nuget pack -Build -OutputDirectory out Zernio.csproj

Then, publish to a local feed or other host and consume the new package via Nuget as usual.

Usage

To use the API client with a HTTP proxy, setup a System.Net.WebProxy

Configuration c = new Configuration();
System.Net.WebProxy webProxy = new System.Net.WebProxy("http://myProxyUrl:80/");
webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
c.Proxy = webProxy;

Connections

Each ApiClass (properly the ApiClient inside it) will create an instance of HttpClient. It will use that for the entire lifecycle and dispose it when called the Dispose method.

To better manager the connections it's a common practice to reuse the HttpClient and HttpClientHandler (see here for details). To use your own HttpClient instance just pass it to the ApiClass constructor.

HttpClientHandler yourHandler = new HttpClientHandler();
HttpClient yourHttpClient = new HttpClient(yourHandler);
var api = new YourApiClass(yourHttpClient, yourHandler);

If you want to use an HttpClient and don't have access to the handler, for example in a DI context in Asp.net Core when using IHttpClientFactory.

HttpClient yourHttpClient = new HttpClient();
var api = new YourApiClass(yourHttpClient);

You'll loose some configuration settings, the features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. You need to either manually handle those in your setup of the HttpClient or they won't be available.

Here an example of DI setup in a sample web project:

services.AddHttpClient<YourApiClass>(httpClient =>
   new PetApi(httpClient));

Getting Started

using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using Zernio.Api;
using Zernio.Client;
using Zernio.Model;

namespace Example
{
    public class Example
    {
        public static void Main()
        {

            Configuration config = new Configuration();
            config.BasePath = "https://zernio.com/api";
            // Configure Bearer token for authorization: bearerAuth
            config.AccessToken = "YOUR_BEARER_TOKEN";

            // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
            HttpClient httpClient = new HttpClient();
            HttpClientHandler httpClientHandler = new HttpClientHandler();
            var apiInstance = new APIKeysApi(httpClient, config, httpClientHandler);
            var createApiKeyRequest = new CreateApiKeyRequest(); // CreateApiKeyRequest | 

            try
            {
                // Create key
                CreateApiKey201Response result = apiInstance.CreateApiKey(createApiKeyRequest);
                Debug.WriteLine(result);
            }
            catch (ApiException e)
            {
                Debug.Print("Exception when calling APIKeysApi.CreateApiKey: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }

        }
    }
}

Documentation for API Endpoints

All URIs are relative to https://zernio.com/api

Class Method HTTP request Description
APIKeysApi CreateApiKey POST /v1/api-keys Create key
APIKeysApi DeleteApiKey DELETE /v1/api-keys/{keyId} Delete key
APIKeysApi ListApiKeys GET /v1/api-keys List keys
AccountGroupsApi CreateAccountGroup POST /v1/account-groups Create group
AccountGroupsApi DeleteAccountGroup DELETE /v1/account-groups/{groupId} Delete group
AccountGroupsApi ListAccountGroups GET /v1/account-groups List groups
AccountGroupsApi UpdateAccountGroup PUT /v1/account-groups/{groupId} Update group
AccountSettingsApi DeleteInstagramIceBreakers DELETE /v1/accounts/{accountId}/instagram-ice-breakers Delete IG ice breakers
AccountSettingsApi DeleteMessengerMenu DELETE /v1/accounts/{accountId}/messenger-menu Delete FB persistent menu
AccountSettingsApi DeleteTelegramCommands DELETE /v1/accounts/{accountId}/telegram-commands Delete TG bot commands
AccountSettingsApi GetInstagramIceBreakers GET /v1/accounts/{accountId}/instagram-ice-breakers Get IG ice breakers
AccountSettingsApi GetMessengerMenu GET /v1/accounts/{accountId}/messenger-menu Get FB persistent menu
AccountSettingsApi GetTelegramCommands GET /v1/accounts/{accountId}/telegram-commands Get TG bot commands
AccountSettingsApi SetInstagramIceBreakers PUT /v1/accounts/{accountId}/instagram-ice-breakers Set IG ice breakers
AccountSettingsApi SetMessengerMenu PUT /v1/accounts/{accountId}/messenger-menu Set FB persistent menu
AccountSettingsApi SetTelegramCommands PUT /v1/accounts/{accountId}/telegram-commands Set TG bot commands
AccountsApi DeleteAccount DELETE /v1/accounts/{accountId} Disconnect account
AccountsApi GetAccountHealth GET /v1/accounts/{accountId}/health Check account health
AccountsApi GetAllAccountsHealth GET /v1/accounts/health Check accounts health
AccountsApi GetFollowerStats GET /v1/accounts/follower-stats Get follower stats
AccountsApi GetTikTokCreatorInfo GET /v1/accounts/{accountId}/tiktok/creator-info Get TikTok creator info
AccountsApi ListAccounts GET /v1/accounts List accounts
AccountsApi MoveAccountToProfile PATCH /v1/accounts/{accountId} Move account to another profile
AccountsApi UpdateAccount PUT /v1/accounts/{accountId} Update account
AdAudiencesApi AddUsersToAdAudience POST /v1/ads/audiences/{audienceId}/users Add users to audience
AdAudiencesApi CreateAdAudience POST /v1/ads/audiences Create custom audience
AdAudiencesApi DeleteAdAudience DELETE /v1/ads/audiences/{audienceId} Delete custom audience
AdAudiencesApi GetAdAudience GET /v1/ads/audiences/{audienceId} Get audience details
AdAudiencesApi ListAdAudiences GET /v1/ads/audiences List custom audiences
AdCampaignsApi BulkUpdateAdCampaignStatus POST /v1/ads/campaigns/bulk-status Pause or resume many campaigns
AdCampaignsApi DeleteAdCampaign DELETE /v1/ads/campaigns/{campaignId} Delete a campaign
AdCampaignsApi DuplicateAdCampaign POST /v1/ads/campaigns/{campaignId}/duplicate Duplicate a campaign
AdCampaignsApi GetAdTree GET /v1/ads/tree Get campaign tree
AdCampaignsApi GetAdsTimeline GET /v1/ads/timeline Get daily account metrics
AdCampaignsApi ListAdCampaigns GET /v1/ads/campaigns List campaigns
AdCampaignsApi UpdateAdCampaign PUT /v1/ads/campaigns/{campaignId} Update a campaign
AdCampaignsApi UpdateAdCampaignStatus PUT /v1/ads/campaigns/{campaignId}/status Pause or resume a campaign
AdCampaignsApi UpdateAdSet PUT /v1/ads/ad-sets/{adSetId} Update an ad set
AdCampaignsApi UpdateAdSetStatus PUT /v1/ads/ad-sets/{adSetId}/status Pause or resume a single ad set
AdsApi AddConversionAssociations POST /v1/accounts/{accountId}/conversion-destinations/{destinationId}/associations Associate campaigns
AdsApi AdjustConversions POST /v1/ads/conversions/adjustments Adjust uploaded conversions
AdsApi ArchiveLeadForm DELETE /v1/ads/lead-forms/{formId} Archive a lead form
AdsApi BoostPost POST /v1/ads/boost Boost post as ad
AdsApi CreateConversionDestination POST /v1/accounts/{accountId}/conversion-destinations Create a conversion destination
AdsApi CreateCtwaAd POST /v1/ads/ctwa Create Click-to-WhatsApp ad
AdsApi CreateLeadForm POST /v1/ads/lead-forms Create a lead form
AdsApi CreateStandaloneAd POST /v1/ads/create Create standalone ad
AdsApi CreateTestLead POST /v1/ads/lead-forms/{formId}/test-leads Create a test lead
AdsApi DeleteAd DELETE /v1/ads/{adId} Cancel an ad
AdsApi DeleteConversionDestination DELETE /v1/accounts/{accountId}/conversion-destinations/{destinationId} Delete a conversion destination
AdsApi EstimateAdReach POST /v1/ads/targeting/reach-estimate Estimate audience reach
AdsApi GetAd GET /v1/ads/{adId} Get ad details
AdsApi GetAdAnalytics GET /v1/ads/{adId}/analytics Get ad analytics
AdsApi GetAdComments GET /v1/ads/{adId}/comments List comments on an ad
AdsApi GetAdTrackingTags GET /v1/ads/{adId}/tracking-tags Get ad tracking tags
AdsApi GetCampaignAnalytics GET /v1/ads/campaigns/{campaignId}/analytics Get campaign analytics
AdsApi GetConversionDestination GET /v1/accounts/{accountId}/conversion-destinations/{destinationId} Get a conversion destination
AdsApi GetConversionMetrics GET /v1/accounts/{accountId}/conversion-destinations/{destinationId}/metrics Get attribution metrics
AdsApi GetConversionsQuality GET /v1/ads/conversions/quality Get Event Match Quality
AdsApi GetLeadForm GET /v1/ads/lead-forms/{formId} Get a lead form
AdsApi ListAdAccounts GET /v1/ads/accounts List ad accounts
AdsApi ListAdCatalogProductSets GET /v1/ads/catalogs/{catalogId}/product-sets List a catalog's product sets
AdsApi ListAdCatalogs GET /v1/ads/catalogs List Meta product catalogs
AdsApi ListAds GET /v1/ads List ads
AdsApi ListAdsBusinessCenters GET /v1/ads/business-centers List TikTok Business Centers
AdsApi ListConversionAssociations GET /v1/accounts/{accountId}/conversion-destinations/{destinationId}/associations List associated campaigns
AdsApi ListConversionDestinations GET /v1/accounts/{accountId}/conversion-destinations List conversion destinations
AdsApi ListFormLeads GET /v1/ads/lead-forms/{formId}/leads List leads for a single form
AdsApi ListLeadForms GET /v1/ads/lead-forms List lead forms
AdsApi ListLeads GET /v1/ads/leads List submitted leads
AdsApi ListWhatsAppConversions GET /v1/whatsapp/conversions List conversion events
AdsApi RemoveConversionAssociations DELETE /v1/accounts/{accountId}/conversion-destinations/{destinationId}/associations Remove associated campaigns
AdsApi SearchAdInterests GET /v1/ads/interests Search targeting interests
AdsApi SearchAdTargeting GET /v1/ads/targeting/search Search targeting options
AdsApi SendConversions POST /v1/ads/conversions Send conversion events
AdsApi SendWhatsAppConversion POST /v1/whatsapp/conversions Send WhatsApp conversion event
AdsApi UpdateAd PUT /v1/ads/{adId} Update ad
AdsApi UpdateAdTrackingTags PATCH /v1/ads/{adId}/tracking-tags Set ad tracking tags
AdsApi UpdateConversionDestination PATCH /v1/accounts/{accountId}/conversion-destinations/{destinationId} Update a conversion destination
AnalyticsApi GetAnalytics GET /v1/analytics Get post analytics
AnalyticsApi GetBestTimeToPost GET /v1/analytics/best-time Get best times to post
AnalyticsApi GetContentDecay GET /v1/analytics/content-decay Get content performance decay
AnalyticsApi GetDailyMetrics GET /v1/analytics/daily-metrics Get daily aggregated metrics
AnalyticsApi GetFacebookPageInsights GET /v1/analytics/facebook/page-insights Get Facebook Page insights
AnalyticsApi GetFollowerStats GET /v1/accounts/follower-stats Get follower stats
AnalyticsApi GetGoogleBusinessPerformance GET /v1/analytics/googlebusiness/performance Get GBP performance metrics
AnalyticsApi GetGoogleBusinessSearchKeywords GET /v1/analytics/googlebusiness/search-keywords Get GBP search keywords
AnalyticsApi GetInstagramAccountInsights GET /v1/analytics/instagram/account-insights Get Instagram insights
AnalyticsApi GetInstagramDemographics GET /v1/analytics/instagram/demographics Get Instagram demographics
AnalyticsApi GetInstagramFollowerHistory GET /v1/analytics/instagram/follower-history Get Instagram follower history
AnalyticsApi GetLinkedInAggregateAnalytics GET /v1/accounts/{accountId}/linkedin-aggregate-analytics Get LinkedIn aggregate stats
AnalyticsApi GetLinkedInOrgAggregateAnalytics GET /v1/analytics/linkedin/org-aggregate-analytics Get LinkedIn org analytics
AnalyticsApi GetLinkedInPostAnalytics GET /v1/accounts/{accountId}/linkedin-post-analytics Get LinkedIn post stats
AnalyticsApi GetLinkedInPostReactions GET /v1/accounts/{accountId}/linkedin-post-reactions Get LinkedIn post reactions
AnalyticsApi GetPostTimeline GET /v1/analytics/post-timeline Get post analytics timeline
AnalyticsApi GetPostingFrequency GET /v1/analytics/posting-frequency Get frequency vs engagement
AnalyticsApi GetTikTokAccountInsights GET /v1/analytics/tiktok/account-insights Get TikTok account-level insights
AnalyticsApi GetYouTubeChannelInsights GET /v1/analytics/youtube/channel-insights Get YouTube channel insights
AnalyticsApi GetYouTubeDailyViews GET /v1/analytics/youtube/daily-views Get YouTube daily views
AnalyticsApi GetYouTubeDemographics GET /v1/analytics/youtube/demographics Get YouTube demographics
AnalyticsApi GetYouTubeVideoRetention GET /v1/analytics/youtube/video-retention Get YouTube video retention curve
AnalyticsApi SyncExternalPosts POST /v1/posts/sync-external Sync an external post
BroadcastsApi AddBroadcastRecipients POST /v1/broadcasts/{broadcastId}/recipients Add recipients to a broadcast
BroadcastsApi CancelBroadcast POST /v1/broadcasts/{broadcastId}/cancel Cancel broadcast
BroadcastsApi CreateBroadcast POST /v1/broadcasts Create broadcast draft
BroadcastsApi DeleteBroadcast DELETE /v1/broadcasts/{broadcastId} Delete broadcast
BroadcastsApi GetBroadcast GET /v1/broadcasts/{broadcastId} Get broadcast details
BroadcastsApi ListBroadcastRecipients GET /v1/broadcasts/{broadcastId}/recipients List broadcast recipients
BroadcastsApi ListBroadcasts GET /v1/broadcasts List broadcasts
BroadcastsApi ScheduleBroadcast POST /v1/broadcasts/{broadcastId}/schedule Schedule broadcast for later
BroadcastsApi SendBroadcast POST /v1/broadcasts/{broadcastId}/send Send broadcast now
BroadcastsApi UpdateBroadcast PATCH /v1/broadcasts/{broadcastId} Update broadcast
CommentAutomationsApi CreateCommentAutomation POST /v1/comment-automations Create comment-to-DM automation
CommentAutomationsApi DeleteCommentAutomation DELETE /v1/comment-automations/{automationId} Delete automation
CommentAutomationsApi GetCommentAutomation GET /v1/comment-automations/{automationId} Get automation details
CommentAutomationsApi ListCommentAutomationLogs GET /v1/comment-automations/{automationId}/logs List automation logs
CommentAutomationsApi ListCommentAutomations GET /v1/comment-automations List comment-to-DM automations
CommentAutomationsApi UpdateCommentAutomation PATCH /v1/comment-automations/{automationId} Update automation settings
CommentsApi DeleteInboxComment DELETE /v1/inbox/comments/{postId} Delete comment
CommentsApi GetInboxPostComments GET /v1/inbox/comments/{postId} Get post comments
CommentsApi HideInboxComment POST /v1/inbox/comments/{postId}/{commentId}/hide Hide comment
CommentsApi LikeInboxComment POST /v1/inbox/comments/{postId}/{commentId}/like Like comment
CommentsApi ListInboxComments GET /v1/inbox/comments List commented posts
CommentsApi ReplyToInboxPost POST /v1/inbox/comments/{postId} Reply to comment
CommentsApi SendPrivateReplyToComment POST /v1/inbox/comments/{postId}/{commentId}/private-reply Send private reply
CommentsApi UnhideInboxComment DELETE /v1/inbox/comments/{postId}/{commentId}/hide Unhide comment
CommentsApi UnlikeInboxComment DELETE /v1/inbox/comments/{postId}/{commentId}/like Unlike comment
ConnectApi CompleteTelegramConnect PATCH /v1/connect/telegram Check Telegram status
ConnectApi CompleteWhatsAppPhoneSelection POST /v1/connect/whatsapp/select-phone-number Complete number selection
ConnectApi ConfigureTikTokAdsBrandIdentity PATCH /v1/connect/tiktok-ads Set TikTok brand identity
ConnectApi ConnectAds GET /v1/connect/{platform}/ads Connect ads for a platform
ConnectApi ConnectBlueskyCredentials POST /v1/connect/bluesky/credentials Connect Bluesky account
ConnectApi ConnectWhatsAppCredentials POST /v1/connect/whatsapp/credentials Connect WhatsApp via credentials
ConnectApi GetConnectUrl GET /v1/connect/{platform} Get OAuth connect URL
ConnectApi GetFacebookPages GET /v1/accounts/{accountId}/facebook-page List Facebook pages
ConnectApi GetGmbLocations GET /v1/accounts/{accountId}/gmb-locations List GBP locations
ConnectApi GetLinkedInOrganizations GET /v1/accounts/{accountId}/linkedin-organizations List LinkedIn orgs
ConnectApi GetPendingOAuthData GET /v1/connect/pending-data Get pending OAuth data
ConnectApi GetPinterestBoards GET /v1/accounts/{accountId}/pinterest-boards List Pinterest boards
ConnectApi GetRedditFlairs GET /v1/accounts/{accountId}/reddit-flairs List subreddit flairs
ConnectApi GetRedditSubreddits GET /v1/accounts/{accountId}/reddit-subreddits List Reddit subreddits
ConnectApi GetTelegramConnectStatus GET /v1/connect/telegram Generate Telegram code
ConnectApi GetYoutubePlaylists GET /v1/accounts/{accountId}/youtube-playlists List YouTube playlists
ConnectApi HandleOAuthCallback POST /v1/connect/{platform} Complete OAuth callback
ConnectApi InitiateTelegramConnect POST /v1/connect/telegram Connect Telegram directly
ConnectApi ListFacebookPages GET /v1/connect/facebook/select-page List Facebook pages
ConnectApi ListGoogleBusinessLocations GET /v1/connect/googlebusiness/locations List GBP locations
ConnectApi ListLinkedInOrganizations GET /v1/connect/linkedin/organizations List LinkedIn orgs
ConnectApi ListPinterestBoardsForSelection GET /v1/connect/pinterest/select-board List Pinterest boards
ConnectApi ListSnapchatProfiles GET /v1/connect/snapchat/select-profile List Snapchat profiles
ConnectApi ListWhatsAppPhoneNumbers GET /v1/connect/whatsapp/select-phone-number List numbers for selection
ConnectApi SelectFacebookPage POST /v1/connect/facebook/select-page Select Facebook page
ConnectApi SelectGoogleBusinessLocation POST /v1/connect/googlebusiness/select-location Select GBP location
ConnectApi SelectLinkedInOrganization POST /v1/connect/linkedin/select-organization Select LinkedIn org
ConnectApi SelectPinterestBoard POST /v1/connect/pinterest/select-board Select Pinterest board
ConnectApi SelectSnapchatProfile POST /v1/connect/snapchat/select-profile Select Snapchat profile
ConnectApi UpdateFacebookPage PUT /v1/accounts/{accountId}/facebook-page Update Facebook page
ConnectApi UpdateGmbLocation PUT /v1/accounts/{accountId}/gmb-locations Update GBP location
ConnectApi UpdateLinkedInOrganization PUT /v1/accounts/{accountId}/linkedin-organization Switch LinkedIn account type
ConnectApi UpdatePinterestBoards PUT /v1/accounts/{accountId}/pinterest-boards Set default Pinterest board
ConnectApi UpdateRedditSubreddits PUT /v1/accounts/{accountId}/reddit-subreddits Set default subreddit
ConnectApi UpdateYoutubeDefaultPlaylist PUT /v1/accounts/{accountId}/youtube-playlists Set default YouTube playlist
ContactsApi BulkCreateContacts POST /v1/contacts/bulk Bulk create contacts
ContactsApi CreateContact POST /v1/contacts Create contact
ContactsApi DeleteContact DELETE /v1/contacts/{contactId} Delete contact
ContactsApi GetContact GET /v1/contacts/{contactId} Get contact
ContactsApi GetContactChannels GET /v1/contacts/{contactId}/channels List channels for a contact
ContactsApi ListContacts GET /v1/contacts List contacts
ContactsApi UpdateContact PATCH /v1/contacts/{contactId} Update contact
CustomFieldsApi ClearContactFieldValue DELETE /v1/contacts/{contactId}/fields/{slug} Clear custom field value
CustomFieldsApi CreateCustomField POST /v1/custom-fields Create custom field
CustomFieldsApi DeleteCustomField DELETE /v1/custom-fields/{fieldId} Delete custom field
CustomFieldsApi ListCustomFields GET /v1/custom-fields List custom field definitions
CustomFieldsApi SetContactFieldValue PUT /v1/contacts/{contactId}/fields/{slug} Set custom field value
CustomFieldsApi UpdateCustomField PATCH /v1/custom-fields/{fieldId} Update custom field
DiscordApi AddDiscordMemberRole PUT /v1/discord/guilds/{guildId}/members/{userId}/roles/{roleId} Assign a role to a guild member
DiscordApi CreateDiscordScheduledEvent POST /v1/discord/guilds/{guildId}/events Create a Discord scheduled event
DiscordApi DeleteDiscordScheduledEvent DELETE /v1/discord/guilds/{guildId}/events/{eventId} Delete a Discord scheduled event
DiscordApi GetDiscordChannels GET /v1/accounts/{accountId}/discord-channels List Discord guild channels
DiscordApi GetDiscordScheduledEvent GET /v1/discord/guilds/{guildId}/events/{eventId} Get a Discord scheduled event
DiscordApi GetDiscordSettings GET /v1/accounts/{accountId}/discord-settings Get Discord account settings
DiscordApi ListDiscordGuildMembers GET /v1/discord/guilds/{guildId}/members List Discord guild members
DiscordApi ListDiscordGuildRoles GET /v1/discord/guilds/{guildId}/roles List Discord guild roles
DiscordApi ListDiscordPinnedMessages GET /v1/discord/channels/{channelId}/pins List pinned messages
DiscordApi ListDiscordScheduledEvents GET /v1/discord/guilds/{guildId}/events List Discord scheduled events
DiscordApi PinDiscordMessage PUT /v1/discord/channels/{channelId}/pins/{messageId} Pin a Discord message
DiscordApi RemoveDiscordMemberRole DELETE /v1/discord/guilds/{guildId}/members/{userId}/roles/{roleId} Remove a role from a guild member
DiscordApi SendDiscordDirectMessage POST /v1/discord/dms Send a Discord Direct Message
DiscordApi UnpinDiscordMessage DELETE /v1/discord/channels/{channelId}/pins/{messageId} Unpin a Discord message
DiscordApi UpdateDiscordScheduledEvent PATCH /v1/discord/guilds/{guildId}/events/{eventId} Update a Discord scheduled event
DiscordApi UpdateDiscordSettings PATCH /v1/accounts/{accountId}/discord-settings Update Discord settings
GMBAttributesApi GetGmbAttributeMetadata GET /v1/accounts/{accountId}/gmb-attribute-metadata Get attribute metadata
GMBAttributesApi GetGoogleBusinessAttributes GET /v1/accounts/{accountId}/gmb-attributes Get attributes
GMBAttributesApi UpdateGoogleBusinessAttributes PUT /v1/accounts/{accountId}/gmb-attributes Update attributes
GMBFoodMenusApi GetGoogleBusinessFoodMenus GET /v1/accounts/{accountId}/gmb-food-menus Get food menus
GMBFoodMenusApi UpdateGoogleBusinessFoodMenus PUT /v1/accounts/{accountId}/gmb-food-menus Update food menus
GMBLocationDetailsApi GetGoogleBusinessLocationDetails GET /v1/accounts/{accountId}/gmb-location-details Get location details
GMBLocationDetailsApi UpdateGoogleBusinessLocationDetails PUT /v1/accounts/{accountId}/gmb-location-details Update location details
GMBMediaApi CreateGoogleBusinessMedia POST /v1/accounts/{accountId}/gmb-media Upload photo
GMBMediaApi DeleteGoogleBusinessMedia DELETE /v1/accounts/{accountId}/gmb-media Delete photo
GMBMediaApi ListGoogleBusinessMedia GET /v1/accounts/{accountId}/gmb-media List media
GMBPlaceActionsApi CreateGoogleBusinessPlaceAction POST /v1/accounts/{accountId}/gmb-place-actions Create action link
GMBPlaceActionsApi DeleteGoogleBusinessPlaceAction DELETE /v1/accounts/{accountId}/gmb-place-actions Delete action link
GMBPlaceActionsApi ListGoogleBusinessPlaceActions GET /v1/accounts/{accountId}/gmb-place-actions List action links
GMBPlaceActionsApi UpdateGoogleBusinessPlaceAction PATCH /v1/accounts/{accountId}/gmb-place-actions Update action link
GMBReviewsApi BatchGetGoogleBusinessReviews POST /v1/accounts/{accountId}/gmb-reviews/batch Batch get reviews
GMBReviewsApi DeleteGoogleBusinessReviewReply DELETE /v1/accounts/{accountId}/gmb-reviews/{reviewId}/reply Delete a review reply
GMBReviewsApi GetGoogleBusinessReviews GET /v1/accounts/{accountId}/gmb-reviews Get reviews
GMBReviewsApi ReplyToGoogleBusinessReview POST /v1/accounts/{accountId}/gmb-reviews/{reviewId}/reply Reply to a review
GMBServicesApi GetGoogleBusinessServices GET /v1/accounts/{accountId}/gmb-services Get services
GMBServicesApi UpdateGoogleBusinessServices PUT /v1/accounts/{accountId}/gmb-services Replace services
GMBVerificationsApi CompleteGoogleBusinessVerification POST /v1/accounts/{accountId}/gmb-verifications/{verificationId}/complete Complete a verification
GMBVerificationsApi FetchGoogleBusinessVerificationOptions POST /v1/accounts/{accountId}/gmb-verifications/options Fetch verification options
GMBVerificationsApi GetGoogleBusinessVerifications GET /v1/accounts/{accountId}/gmb-verifications Get verification state
GMBVerificationsApi StartGoogleBusinessVerification POST /v1/accounts/{accountId}/gmb-verifications Start a verification
InboxAnalyticsApi GetInboxConversationAnalytics GET /v1/analytics/inbox/conversations/{conversationId} Get conversation analytics
InboxAnalyticsApi GetInboxHeatmap GET /v1/analytics/inbox/heatmap Get day × hour heatmap
InboxAnalyticsApi GetInboxResponseTime GET /v1/analytics/inbox/response-time Get inbox response-time stats
InboxAnalyticsApi GetInboxSourceBreakdown GET /v1/analytics/inbox/source-breakdown Get inbox source breakdown
InboxAnalyticsApi GetInboxTopAccounts GET /v1/analytics/inbox/top-accounts Get top accounts by inbox volume
InboxAnalyticsApi GetInboxVolume GET /v1/analytics/inbox/volume Get inbox messaging volume
InboxAnalyticsApi ListInboxConversationAnalytics GET /v1/analytics/inbox/conversations List conversation analytics
InstagramApi GetInstagramStoryInsights GET /v1/accounts/{accountId}/instagram/stories/{storyId}/insights Get Instagram story insights
InstagramApi ListInstagramStories GET /v1/accounts/{accountId}/instagram/stories List active Instagram stories
InvitesApi CreateInviteToken POST /v1/invite/tokens Create invite token
LinkedInMentionsApi GetLinkedInMentions GET /v1/accounts/{accountId}/linkedin-mentions Resolve LinkedIn mention
LogsApi ListLogs GET /v1/logs List activity logs
MediaApi GetMediaPresignedUrl POST /v1/media/presign Get upload URL
MentionsApi ListInboxMentions GET /v1/inbox/mentions List mentions
MessagesApi AddMessageReaction POST /v1/inbox/conversations/{conversationId}/messages/{messageId}/reactions Add reaction
MessagesApi CreateInboxConversation POST /v1/inbox/conversations Create conversation
MessagesApi DeleteInboxMessage DELETE /v1/inbox/conversations/{conversationId}/messages/{messageId} Delete message
MessagesApi EditInboxMessage PATCH /v1/inbox/conversations/{conversationId}/messages/{messageId} Edit message
MessagesApi GetInboxConversation GET /v1/inbox/conversations/{conversationId} Get conversation
MessagesApi GetInboxConversationMessages GET /v1/inbox/conversations/{conversationId}/messages List messages
MessagesApi ListInboxConversations GET /v1/inbox/conversations List conversations
MessagesApi MarkConversationRead POST /v1/inbox/conversations/{conversationId}/read Mark a conversation as read
MessagesApi RemoveMessageReaction DELETE /v1/inbox/conversations/{conversationId}/messages/{messageId}/reactions Remove reaction
MessagesApi SendInboxMessage POST /v1/inbox/conversations/{conversationId}/messages Send message
MessagesApi SendTypingIndicator POST /v1/inbox/conversations/{conversationId}/typing Send typing indicator
MessagesApi UpdateInboxConversation PUT /v1/inbox/conversations/{conversationId} Update conversation status
MessagesApi UploadMediaDirect POST /v1/media/upload-direct Upload media file
PostsApi BulkUploadPosts POST /v1/posts/bulk-upload Bulk upload from CSV
PostsApi CreatePost POST /v1/posts Create post
PostsApi DeletePost DELETE /v1/posts/{postId} Delete post
PostsApi EditPost POST /v1/posts/{postId}/edit Edit published post
PostsApi GetPost GET /v1/posts/{postId} Get post
PostsApi ListPosts GET /v1/posts List posts
PostsApi RetryPost POST /v1/posts/{postId}/retry Retry failed post
PostsApi UnpublishPost POST /v1/posts/{postId}/unpublish Unpublish post
PostsApi UpdatePost PUT /v1/posts/{postId} Update post
PostsApi UpdatePostMetadata POST /v1/posts/{postId}/update-metadata Update post metadata
ProfilesApi CreateProfile POST /v1/profiles Create profile
ProfilesApi DeleteProfile DELETE /v1/profiles/{profileId} Delete profile
ProfilesApi GetProfile GET /v1/profiles/{profileId} Get profile
ProfilesApi ListProfiles GET /v1/profiles List profiles
ProfilesApi UpdateProfile PUT /v1/profiles/{profileId} Update profile
QueueApi CreateQueueSlot POST /v1/queue/slots Create schedule
QueueApi DeleteQueueSlot DELETE /v1/queue/slots Delete schedule
QueueApi GetNextQueueSlot GET /v1/queue/next-slot Get next available slot
QueueApi ListQueueSlots GET /v1/queue/slots List schedules
QueueApi PreviewQueue GET /v1/queue/preview Preview upcoming slots
QueueApi UpdateQueueSlot PUT /v1/queue/slots Update schedule
RedditSearchApi GetRedditFeed GET /v1/reddit/feed Get subreddit feed
RedditSearchApi SearchReddit GET /v1/reddit/search Search posts
ReviewsApi DeleteInboxReviewReply DELETE /v1/inbox/reviews/{reviewId}/reply Delete review reply
ReviewsApi ListInboxReviews GET /v1/inbox/reviews List reviews
ReviewsApi ReplyToInboxReview POST /v1/inbox/reviews/{reviewId}/reply Reply to review
SequencesApi ActivateSequence POST /v1/sequences/{sequenceId}/activate Activate sequence
SequencesApi CreateSequence POST /v1/sequences Create sequence
SequencesApi DeleteSequence DELETE /v1/sequences/{sequenceId} Delete sequence
SequencesApi EnrollContacts POST /v1/sequences/{sequenceId}/enroll Enroll contacts in a sequence
SequencesApi GetSequence GET /v1/sequences/{sequenceId} Get sequence with steps
SequencesApi ListSequenceEnrollments GET /v1/sequences/{sequenceId}/enrollments List enrollments for a sequence
SequencesApi ListSequences GET /v1/sequences List sequences
SequencesApi PauseSequence POST /v1/sequences/{sequenceId}/pause Pause sequence
SequencesApi UnenrollContact DELETE /v1/sequences/{sequenceId}/enroll/{contactId} Unenroll contact
SequencesApi UpdateSequence PATCH /v1/sequences/{sequenceId} Update sequence
TrackingTagsApi AddTrackingTagSharedAccount POST /v1/accounts/{accountId}/tracking-tags/{tagId}/shared-accounts Share with an ad account
TrackingTagsApi CreateTrackingTag POST /v1/accounts/{accountId}/tracking-tags Create a tracking tag
TrackingTagsApi GetTrackingTag GET /v1/accounts/{accountId}/tracking-tags/{tagId} Get a tracking tag
TrackingTagsApi GetTrackingTagStats GET /v1/accounts/{accountId}/tracking-tags/{tagId}/stats Get aggregated event stats
TrackingTagsApi ListTrackingTagSharedAccounts GET /v1/accounts/{accountId}/tracking-tags/{tagId}/shared-accounts List accounts it is shared with
TrackingTagsApi ListTrackingTags GET /v1/accounts/{accountId}/tracking-tags List tracking tags
TrackingTagsApi RemoveTrackingTagSharedAccount DELETE /v1/accounts/{accountId}/tracking-tags/{tagId}/shared-accounts Stop sharing with an account
TrackingTagsApi UpdateTrackingTag PATCH /v1/accounts/{accountId}/tracking-tags/{tagId} Update a tracking tag
TwitterEngagementApi BookmarkPost POST /v1/twitter/bookmark Bookmark a tweet
TwitterEngagementApi FollowUser POST /v1/twitter/follow Follow a user
TwitterEngagementApi RemoveBookmark DELETE /v1/twitter/bookmark Remove bookmark
TwitterEngagementApi RetweetPost POST /v1/twitter/retweet Retweet a post
TwitterEngagementApi UndoRetweet DELETE /v1/twitter/retweet Undo retweet
TwitterEngagementApi UnfollowUser DELETE /v1/twitter/follow Unfollow a user
UsageApi GetUsageStats GET /v1/usage-stats Get plan and usage stats
UsageApi GetXApiPricing GET /v1/billing/x-pricing Get X/Twitter API pricing table
UsersApi GetUser GET /v1/users/{userId} Get user
UsersApi ListUsers GET /v1/users List users
ValidateApi ValidateMedia POST /v1/tools/validate/media Validate media URL
ValidateApi ValidatePost POST /v1/tools/validate/post Validate post content
ValidateApi ValidatePostLength POST /v1/tools/validate/post-length Validate character count
ValidateApi ValidateSubreddit GET /v1/tools/validate/subreddit Check subreddit existence
WebhooksApi CreateWebhookSettings POST /v1/webhooks/settings Create webhook
WebhooksApi DeleteWebhookSettings DELETE /v1/webhooks/settings Delete webhook
WebhooksApi GetWebhookLogs GET /v1/webhooks/logs List webhook delivery logs
WebhooksApi GetWebhookSettings GET /v1/webhooks/settings List webhooks
WebhooksApi TestWebhook POST /v1/webhooks/test Send test webhook
WebhooksApi UpdateWebhookSettings PUT /v1/webhooks/settings Update webhook
WhatsAppApi AddWhatsAppGroupParticipants POST /v1/whatsapp/wa-groups/{groupId}/participants Add participants
WhatsAppApi ApproveWhatsAppGroupJoinRequests POST /v1/whatsapp/wa-groups/{groupId}/join-requests Approve join requests
WhatsAppApi BlockWhatsAppUsers POST /v1/whatsapp/block-users Block users
WhatsAppApi CreateWhatsAppDataset POST /v1/whatsapp/dataset Provision CTWA dataset
WhatsAppApi CreateWhatsAppGroupChat POST /v1/whatsapp/wa-groups Create group
WhatsAppApi CreateWhatsAppGroupInviteLink POST /v1/whatsapp/wa-groups/{groupId}/invite-link Create invite link
WhatsAppApi CreateWhatsAppTemplate POST /v1/whatsapp/templates Create template
WhatsAppApi DeleteWhatsAppGroupChat DELETE /v1/whatsapp/wa-groups/{groupId} Delete group
WhatsAppApi DeleteWhatsAppTemplate DELETE /v1/whatsapp/templates/{templateName} Delete template
WhatsAppApi DeleteWhatsappBusinessUsername DELETE /v1/whatsapp/business-profile/username Delete business username
WhatsAppApi GetWhatsAppBlockStatus GET /v1/whatsapp/block-users/status Check if a user is blocked
WhatsAppApi GetWhatsAppBlockedUsers GET /v1/whatsapp/block-users List blocked users
WhatsAppApi GetWhatsAppBusinessProfile GET /v1/whatsapp/business-profile Get business profile
WhatsAppApi GetWhatsAppDataset GET /v1/whatsapp/dataset Get CTWA conversions dataset
WhatsAppApi GetWhatsAppDisplayName GET /v1/whatsapp/business-profile/display-name Get display name status
WhatsAppApi GetWhatsAppGroupChat GET /v1/whatsapp/wa-groups/{groupId} Get group info
WhatsAppApi GetWhatsAppTemplate GET /v1/whatsapp/templates/{templateName} Get template
WhatsAppApi GetWhatsAppTemplates GET /v1/whatsapp/templates List templates
WhatsAppApi GetWhatsappBusinessUsername GET /v1/whatsapp/business-profile/username Get business username
WhatsAppApi GetWhatsappBusinessUsernameSuggestions GET /v1/whatsapp/business-profile/username/suggestions Get username suggestions
WhatsAppApi ListWhatsAppConversions GET /v1/whatsapp/conversions List conversion events
WhatsAppApi ListWhatsAppGroupChats GET /v1/whatsapp/wa-groups List active groups
WhatsAppApi ListWhatsAppGroupJoinRequests GET /v1/whatsapp/wa-groups/{groupId}/join-requests List join requests
WhatsAppApi RejectWhatsAppGroupJoinRequests DELETE /v1/whatsapp/wa-groups/{groupId}/join-requests Reject join requests
WhatsAppApi RemoveWhatsAppGroupParticipants DELETE /v1/whatsapp/wa-groups/{groupId}/participants Remove participants
WhatsAppApi SendWhatsAppConversion POST /v1/whatsapp/conversions Send WhatsApp conversion event
WhatsAppApi SetWhatsappBusinessUsername POST /v1/whatsapp/business-profile/username Set business username
WhatsAppApi UnblockWhatsAppUsers DELETE /v1/whatsapp/block-users Unblock users
WhatsAppApi UpdateWhatsAppBusinessProfile POST /v1/whatsapp/business-profile Update business profile
WhatsAppApi UpdateWhatsAppDisplayName POST /v1/whatsapp/business-profile/display-name Request display name change
WhatsAppApi UpdateWhatsAppGroupChat POST /v1/whatsapp/wa-groups/{groupId} Update group settings
WhatsAppApi UpdateWhatsAppTemplate PATCH /v1/whatsapp/templates/{templateName} Update template
WhatsAppApi UploadWhatsAppProfilePhoto POST /v1/whatsapp/business-profile/photo Upload profile picture
WhatsAppCallingApi DisableWhatsAppCalling DELETE /v1/whatsapp/phone-numbers/{id}/calling Disable calling on a number
WhatsAppCallingApi EnableWhatsAppCalling POST /v1/whatsapp/phone-numbers/{id}/calling Enable calling on a number
WhatsAppCallingApi GetWhatsAppCall GET /v1/whatsapp/calls/{callId} Get a single call
WhatsAppCallingApi GetWhatsAppCallEstimate GET /v1/whatsapp/calls/estimate Estimate per-minute cost
WhatsAppCallingApi GetWhatsAppCallPermissions GET /v1/whatsapp/call-permissions Check call permission
WhatsAppCallingApi GetWhatsAppCallingConfig GET /v1/whatsapp/calling Get calling config for an account
WhatsAppCallingApi InitiateWhatsAppCall POST /v1/whatsapp/calls Initiate outbound call
WhatsAppCallingApi ListWhatsAppCalls GET /v1/whatsapp/calls List call history for an account
WhatsAppCallingApi UpdateWhatsAppCalling PATCH /v1/whatsapp/phone-numbers/{id}/calling Update calling config
WhatsAppFlowsApi CreateWhatsAppFlow POST /v1/whatsapp/flows Create flow
WhatsAppFlowsApi DeleteWhatsAppFlow DELETE /v1/whatsapp/flows/{flowId} Delete flow
WhatsAppFlowsApi DeprecateWhatsAppFlow POST /v1/whatsapp/flows/{flowId}/deprecate Deprecate flow
WhatsAppFlowsApi GetWhatsAppFlow GET /v1/whatsapp/flows/{flowId} Get flow
WhatsAppFlowsApi GetWhatsAppFlowJson GET /v1/whatsapp/flows/{flowId}/json Get flow JSON asset
WhatsAppFlowsApi GetWhatsAppFlowPreview GET /v1/whatsapp/flows/{flowId}/preview Get flow preview URL
WhatsAppFlowsApi ListWhatsAppFlowResponses GET /v1/whatsapp/flow-responses List flow responses
WhatsAppFlowsApi ListWhatsAppFlowVersions GET /v1/whatsapp/flows/{flowId}/versions List flow versions
WhatsAppFlowsApi ListWhatsAppFlows GET /v1/whatsapp/flows List flows
WhatsAppFlowsApi PublishWhatsAppFlow POST /v1/whatsapp/flows/{flowId}/publish Publish flow
WhatsAppFlowsApi SendWhatsAppFlowMessage POST /v1/whatsapp/flows/send Send flow message
WhatsAppFlowsApi UpdateWhatsAppFlow PATCH /v1/whatsapp/flows/{flowId} Update flow
WhatsAppFlowsApi UploadWhatsAppFlowJson PUT /v1/whatsapp/flows/{flowId}/json Upload flow JSON
WhatsAppPhoneNumbersApi CheckWhatsAppNumberAvailability GET /v1/whatsapp/phone-numbers/availability Check country availability
WhatsAppPhoneNumbersApi CreateWhatsAppNumberKycLink POST /v1/whatsapp/phone-numbers/kyc/share Create a hosted KYC link
WhatsAppPhoneNumbersApi GetWhatsAppNumberInfo GET /v1/whatsapp/number-info Get number status
WhatsAppPhoneNumbersApi GetWhatsAppNumberKycForm GET /v1/whatsapp/phone-numbers/kyc Get KYC form spec
WhatsAppPhoneNumbersApi GetWhatsAppNumberRemediation GET /v1/whatsapp/phone-numbers/{id}/remediate Get declined requirements
WhatsAppPhoneNumbersApi GetWhatsAppPhoneNumber GET /v1/whatsapp/phone-numbers/{phoneNumberId} Get phone number
WhatsAppPhoneNumbersApi GetWhatsAppPhoneNumbers GET /v1/whatsapp/phone-numbers List phone numbers
WhatsAppPhoneNumbersApi ListWhatsAppNumberCountries GET /v1/whatsapp/phone-numbers/countries List offerable number countries
WhatsAppPhoneNumbersApi PurchaseWhatsAppPhoneNumber POST /v1/whatsapp/phone-numbers/purchase Purchase phone number
WhatsAppPhoneNumbersApi ReleaseWhatsAppPhoneNumber DELETE /v1/whatsapp/phone-numbers/{phoneNumberId} Release phone number
WhatsAppPhoneNumbersApi RemediateWhatsAppNumber POST /v1/whatsapp/phone-numbers/{id}/remediate Resubmit a declined number
WhatsAppPhoneNumbersApi SearchAvailableWhatsAppNumbers GET /v1/whatsapp/phone-numbers/available Search available numbers
WhatsAppPhoneNumbersApi SubmitWhatsAppNumberKyc POST /v1/whatsapp/phone-numbers/kyc Submit KYC
WhatsAppPhoneNumbersApi UploadWhatsAppNumberKycDocument POST /v1/whatsapp/phone-numbers/kyc/upload-document Upload a KYC document
WhatsAppPhoneNumbersApi ValidateWhatsAppNumberKycAddress POST /v1/whatsapp/phone-numbers/kyc/validate-address Pre-validate KYC address
WhatsAppSandboxApi CreateWhatsAppSandboxSession POST /v1/whatsapp/sandbox/sessions Start a sandbox activation
WhatsAppSandboxApi DeleteWhatsAppSandboxSession DELETE /v1/whatsapp/sandbox/sessions/{sessionId} Revoke a sandbox session
WhatsAppSandboxApi ListWhatsAppSandboxSessions GET /v1/whatsapp/sandbox/sessions List your sandbox sessions
WhatsAppTemplatesApi GetWhatsAppLibraryTemplate GET /v1/whatsapp/template-library Look up a library template
WorkflowsApi ActivateWorkflow POST /v1/workflows/{workflowId}/activate Activate workflow
WorkflowsApi CreateWorkflow POST /v1/workflows Create workflow
WorkflowsApi DeleteWorkflow DELETE /v1/workflows/{workflowId} Delete workflow
WorkflowsApi DuplicateWorkflow POST /v1/workflows/{workflowId}/duplicate Duplicate a workflow
WorkflowsApi GetWorkflow GET /v1/workflows/{workflowId} Get workflow with graph
WorkflowsApi GetWorkflowVersion GET /v1/workflows/{workflowId}/versions/{version} Get a specific workflow version
WorkflowsApi ListWorkflowExecutionEvents GET /v1/workflows/{workflowId}/executions/{executionId}/events Get an execution's timeline
WorkflowsApi ListWorkflowExecutions GET /v1/workflows/{workflowId}/executions List workflow runs
WorkflowsApi ListWorkflowVersions GET /v1/workflows/{workflowId}/versions List a workflow's version history
WorkflowsApi ListWorkflows GET /v1/workflows List workflows
WorkflowsApi PauseWorkflow POST /v1/workflows/{workflowId}/pause Pause workflow
WorkflowsApi RestoreWorkflowVersion POST /v1/workflows/{workflowId}/versions/{version}/restore Restore a workflow version
WorkflowsApi TriggerWorkflow POST /v1/workflows/{workflowId}/executions Manually start a workflow run
WorkflowsApi UpdateWorkflow PATCH /v1/workflows/{workflowId} Update workflow

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer Authentication

connectToken

  • Type: API key
  • API key parameter name: X-Connect-Token
  • Location: HTTP header

About

Zernio API - Official .NET SDK

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages