Skip to content

zernio-dev/zernio-php

Repository files navigation

Late

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

For more information, please visit https://zernio.com.

Installation

Requirements

PHP 8.1 and later.

Composer

composer require zernio-dev/zernio-php

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');



// Configure Bearer (JWT) authorization: bearerAuth
$config = Late\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Late\Api\APIKeysApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$create_api_key_request = {"name":"Analytics Read-Only Key","scope":"profiles","profileIds":["6507a1b2c3d4e5f6a7b8c9d0"],"permission":"read"}; // \Late\Model\CreateApiKeyRequest

try {
    $result = $apiInstance->createApiKey($create_api_key_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling APIKeysApi->createApiKey: ', $e->getMessage(), PHP_EOL;
}

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 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 getAdTree GET /v1/ads/tree Get campaign tree
AdCampaignsApi listAdCampaigns GET /v1/ads/campaigns List campaigns
AdCampaignsApi updateAdCampaignStatus PUT /v1/ads/campaigns/{campaignId}/status Pause or resume a campaign
AdsApi boostPost POST /v1/ads/boost Boost post as ad
AdsApi createStandaloneAd POST /v1/ads/create Create standalone ad
AdsApi deleteAd DELETE /v1/ads/{adId} Cancel an ad
AdsApi getAd GET /v1/ads/{adId} Get ad details
AdsApi getAdAnalytics GET /v1/ads/{adId}/analytics Get ad analytics
AdsApi listAdAccounts GET /v1/ads/accounts List ad accounts
AdsApi listAds GET /v1/ads List ads
AdsApi listConversionDestinations GET /v1/accounts/{accountId}/conversion-destinations List destinations for the Conversions API
AdsApi searchAdInterests GET /v1/ads/interests Search targeting interests
AdsApi sendConversions POST /v1/ads/conversions Send conversion events to an ad platform
AdsApi updateAd PUT /v1/ads/{adId} Update ad
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 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 getLinkedInAggregateAnalytics GET /v1/accounts/{accountId}/linkedin-aggregate-analytics Get LinkedIn aggregate stats
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 getYouTubeDailyViews GET /v1/analytics/youtube/daily-views Get YouTube daily views
AnalyticsApi getYouTubeDemographics GET /v1/analytics/youtube/demographics Get YouTube demographics
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 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 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 getDiscordChannels GET /v1/accounts/{accountId}/discord-channels List Discord guild channels
DiscordApi getDiscordSettings GET /v1/accounts/{accountId}/discord-settings Get Discord account settings
DiscordApi updateDiscordSettings PATCH /v1/accounts/{accountId}/discord-settings Update Discord settings
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 getGoogleBusinessReviews GET /v1/accounts/{accountId}/gmb-reviews Get reviews
GMBServicesApi getGoogleBusinessServices GET /v1/accounts/{accountId}/gmb-services Get services
GMBServicesApi updateGoogleBusinessServices PUT /v1/accounts/{accountId}/gmb-services Replace services
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
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 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
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
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 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 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 getWhatsAppBusinessProfile GET /v1/whatsapp/business-profile Get business profile
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 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 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
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 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 getWhatsAppPhoneNumber GET /v1/whatsapp/phone-numbers/{phoneNumberId} Get phone number
WhatsAppPhoneNumbersApi getWhatsAppPhoneNumbers GET /v1/whatsapp/phone-numbers List phone numbers
WhatsAppPhoneNumbersApi purchaseWhatsAppPhoneNumber POST /v1/whatsapp/phone-numbers/purchase Purchase phone number
WhatsAppPhoneNumbersApi releaseWhatsAppPhoneNumber DELETE /v1/whatsapp/phone-numbers/{phoneNumberId} Release phone number

Models

Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication (JWT)

connectToken

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

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

support@zernio.com

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.1
    • Generator version: 7.19.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

About

Zernio API - Official PHP SDK

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages