Skip to content

zernio-dev/zernio-rust

Repository files navigation

Rust API client for zernio

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

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

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

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

Installation

Add the crate to your project:

cargo add zernio

Or add it manually to your Cargo.toml:

[dependencies]
zernio = "*"

Documentation for API Endpoints

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

Class Method HTTP request Description
ApiKeysApi create_api_key POST /v1/api-keys Create key
ApiKeysApi delete_api_key DELETE /v1/api-keys/{keyId} Delete key
ApiKeysApi list_api_keys GET /v1/api-keys List keys
AccountGroupsApi create_account_group POST /v1/account-groups Create group
AccountGroupsApi delete_account_group DELETE /v1/account-groups/{groupId} Delete group
AccountGroupsApi list_account_groups GET /v1/account-groups List groups
AccountGroupsApi update_account_group PUT /v1/account-groups/{groupId} Update group
AccountSettingsApi delete_instagram_ice_breakers DELETE /v1/accounts/{accountId}/instagram-ice-breakers Delete IG ice breakers
AccountSettingsApi delete_messenger_menu DELETE /v1/accounts/{accountId}/messenger-menu Delete FB persistent menu
AccountSettingsApi delete_telegram_commands DELETE /v1/accounts/{accountId}/telegram-commands Delete TG bot commands
AccountSettingsApi get_instagram_ice_breakers GET /v1/accounts/{accountId}/instagram-ice-breakers Get IG ice breakers
AccountSettingsApi get_messenger_menu GET /v1/accounts/{accountId}/messenger-menu Get FB persistent menu
AccountSettingsApi get_telegram_commands GET /v1/accounts/{accountId}/telegram-commands Get TG bot commands
AccountSettingsApi set_instagram_ice_breakers PUT /v1/accounts/{accountId}/instagram-ice-breakers Set IG ice breakers
AccountSettingsApi set_messenger_menu PUT /v1/accounts/{accountId}/messenger-menu Set FB persistent menu
AccountSettingsApi set_telegram_commands PUT /v1/accounts/{accountId}/telegram-commands Set TG bot commands
AccountsApi delete_account DELETE /v1/accounts/{accountId} Disconnect account
AccountsApi get_account_health GET /v1/accounts/{accountId}/health Check account health
AccountsApi get_all_accounts_health GET /v1/accounts/health Check accounts health
AccountsApi get_follower_stats GET /v1/accounts/follower-stats Get follower stats
AccountsApi get_tik_tok_creator_info GET /v1/accounts/{accountId}/tiktok/creator-info Get TikTok creator info
AccountsApi list_accounts GET /v1/accounts List accounts
AccountsApi update_account PUT /v1/accounts/{accountId} Update account
AnalyticsApi get_analytics GET /v1/analytics Get post analytics
AnalyticsApi get_best_time_to_post GET /v1/analytics/best-time Get best times to post
AnalyticsApi get_content_decay GET /v1/analytics/content-decay Get content performance decay
AnalyticsApi get_daily_metrics GET /v1/analytics/daily-metrics Get daily aggregated metrics
AnalyticsApi get_follower_stats GET /v1/accounts/follower-stats Get follower stats
AnalyticsApi get_instagram_account_insights GET /v1/analytics/instagram/account-insights Get Instagram account-level insights
AnalyticsApi get_instagram_demographics GET /v1/analytics/instagram/demographics Get Instagram audience demographics
AnalyticsApi get_linked_in_aggregate_analytics GET /v1/accounts/{accountId}/linkedin-aggregate-analytics Get LinkedIn aggregate stats
AnalyticsApi get_linked_in_post_analytics GET /v1/accounts/{accountId}/linkedin-post-analytics Get LinkedIn post stats
AnalyticsApi get_linked_in_post_reactions GET /v1/accounts/{accountId}/linkedin-post-reactions Get LinkedIn post reactions
AnalyticsApi get_post_timeline GET /v1/analytics/post-timeline Get post analytics timeline
AnalyticsApi get_posting_frequency GET /v1/analytics/posting-frequency Get posting frequency vs engagement
AnalyticsApi get_you_tube_daily_views GET /v1/analytics/youtube/daily-views Get YouTube daily views
BroadcastsApi add_broadcast_recipients POST /v1/broadcasts/{broadcastId}/recipients Add recipients to a broadcast
BroadcastsApi cancel_broadcast POST /v1/broadcasts/{broadcastId}/cancel Cancel a broadcast
BroadcastsApi create_broadcast POST /v1/broadcasts Create a broadcast draft
BroadcastsApi delete_broadcast DELETE /v1/broadcasts/{broadcastId} Delete a broadcast (draft only)
BroadcastsApi get_broadcast GET /v1/broadcasts/{broadcastId} Get broadcast details
BroadcastsApi list_broadcast_recipients GET /v1/broadcasts/{broadcastId}/recipients List broadcast recipients
BroadcastsApi list_broadcasts GET /v1/broadcasts List broadcasts
BroadcastsApi schedule_broadcast POST /v1/broadcasts/{broadcastId}/schedule Schedule broadcast for later
BroadcastsApi send_broadcast POST /v1/broadcasts/{broadcastId}/send Trigger immediate send
BroadcastsApi update_broadcast PATCH /v1/broadcasts/{broadcastId} Update a broadcast
CommentAutomationsApi create_comment_automation POST /v1/comment-automations Create a comment-to-DM automation
CommentAutomationsApi delete_comment_automation DELETE /v1/comment-automations/{automationId} Delete automation and all logs
CommentAutomationsApi get_comment_automation GET /v1/comment-automations/{automationId} Get automation details with recent logs
CommentAutomationsApi list_comment_automation_logs GET /v1/comment-automations/{automationId}/logs List trigger logs for an automation
CommentAutomationsApi list_comment_automations GET /v1/comment-automations List comment-to-DM automations
CommentAutomationsApi update_comment_automation PATCH /v1/comment-automations/{automationId} Update automation settings
CommentsApi delete_inbox_comment DELETE /v1/inbox/comments/{postId} Delete comment
CommentsApi get_inbox_post_comments GET /v1/inbox/comments/{postId} Get post comments
CommentsApi hide_inbox_comment POST /v1/inbox/comments/{postId}/{commentId}/hide Hide comment
CommentsApi like_inbox_comment POST /v1/inbox/comments/{postId}/{commentId}/like Like comment
CommentsApi list_inbox_comments GET /v1/inbox/comments List commented posts
CommentsApi reply_to_inbox_post POST /v1/inbox/comments/{postId} Reply to comment
CommentsApi send_private_reply_to_comment POST /v1/inbox/comments/{postId}/{commentId}/private-reply Send private reply
CommentsApi unhide_inbox_comment DELETE /v1/inbox/comments/{postId}/{commentId}/hide Unhide comment
CommentsApi unlike_inbox_comment DELETE /v1/inbox/comments/{postId}/{commentId}/like Unlike comment
ConnectApi complete_telegram_connect PATCH /v1/connect/telegram Check Telegram status
ConnectApi connect_bluesky_credentials POST /v1/connect/bluesky/credentials Connect Bluesky account
ConnectApi connect_whats_app_credentials POST /v1/connect/whatsapp/credentials Connect WhatsApp via credentials
ConnectApi get_connect_url GET /v1/connect/{platform} Get OAuth connect URL
ConnectApi get_facebook_pages GET /v1/accounts/{accountId}/facebook-page List Facebook pages
ConnectApi get_gmb_locations GET /v1/accounts/{accountId}/gmb-locations List GBP locations
ConnectApi get_linked_in_organizations GET /v1/accounts/{accountId}/linkedin-organizations List LinkedIn orgs
ConnectApi get_pending_o_auth_data GET /v1/connect/pending-data Get pending OAuth data
ConnectApi get_pinterest_boards GET /v1/accounts/{accountId}/pinterest-boards List Pinterest boards
ConnectApi get_reddit_flairs GET /v1/accounts/{accountId}/reddit-flairs List subreddit flairs
ConnectApi get_reddit_subreddits GET /v1/accounts/{accountId}/reddit-subreddits List Reddit subreddits
ConnectApi get_telegram_connect_status GET /v1/connect/telegram Generate Telegram code
ConnectApi handle_o_auth_callback POST /v1/connect/{platform} Complete OAuth callback
ConnectApi initiate_telegram_connect POST /v1/connect/telegram Connect Telegram directly
ConnectApi list_facebook_pages GET /v1/connect/facebook/select-page List Facebook pages
ConnectApi list_google_business_locations GET /v1/connect/googlebusiness/locations List GBP locations
ConnectApi list_linked_in_organizations GET /v1/connect/linkedin/organizations List LinkedIn orgs
ConnectApi list_pinterest_boards_for_selection GET /v1/connect/pinterest/select-board List Pinterest boards
ConnectApi list_snapchat_profiles GET /v1/connect/snapchat/select-profile List Snapchat profiles
ConnectApi select_facebook_page POST /v1/connect/facebook/select-page Select Facebook page
ConnectApi select_google_business_location POST /v1/connect/googlebusiness/select-location Select GBP location
ConnectApi select_linked_in_organization POST /v1/connect/linkedin/select-organization Select LinkedIn org
ConnectApi select_pinterest_board POST /v1/connect/pinterest/select-board Select Pinterest board
ConnectApi select_snapchat_profile POST /v1/connect/snapchat/select-profile Select Snapchat profile
ConnectApi update_facebook_page PUT /v1/accounts/{accountId}/facebook-page Update Facebook page
ConnectApi update_gmb_location PUT /v1/accounts/{accountId}/gmb-locations Update GBP location
ConnectApi update_linked_in_organization PUT /v1/accounts/{accountId}/linkedin-organization Switch LinkedIn account type
ConnectApi update_pinterest_boards PUT /v1/accounts/{accountId}/pinterest-boards Set default Pinterest board
ConnectApi update_reddit_subreddits PUT /v1/accounts/{accountId}/reddit-subreddits Set default subreddit
ContactsApi bulk_create_contacts POST /v1/contacts/bulk Bulk create contacts
ContactsApi create_contact POST /v1/contacts Create a contact
ContactsApi delete_contact DELETE /v1/contacts/{contactId} Delete a contact
ContactsApi get_contact GET /v1/contacts/{contactId} Get contact with channels
ContactsApi get_contact_channels GET /v1/contacts/{contactId}/channels List channels for a contact
ContactsApi list_contacts GET /v1/contacts List contacts
ContactsApi update_contact PATCH /v1/contacts/{contactId} Update a contact
CustomFieldsApi clear_contact_field_value DELETE /v1/contacts/{contactId}/fields/{slug} Clear a custom field value
CustomFieldsApi create_custom_field POST /v1/custom-fields Create a custom field definition
CustomFieldsApi delete_custom_field DELETE /v1/custom-fields/{fieldId} Delete a custom field definition
CustomFieldsApi list_custom_fields GET /v1/custom-fields List custom field definitions
CustomFieldsApi set_contact_field_value PUT /v1/contacts/{contactId}/fields/{slug} Set a custom field value
CustomFieldsApi update_custom_field PATCH /v1/custom-fields/{fieldId} Update a custom field definition
GmbAttributesApi get_google_business_attributes GET /v1/accounts/{accountId}/gmb-attributes Get attributes
GmbAttributesApi update_google_business_attributes PUT /v1/accounts/{accountId}/gmb-attributes Update attributes
GmbFoodMenusApi get_google_business_food_menus GET /v1/accounts/{accountId}/gmb-food-menus Get food menus
GmbFoodMenusApi update_google_business_food_menus PUT /v1/accounts/{accountId}/gmb-food-menus Update food menus
GmbLocationDetailsApi get_google_business_location_details GET /v1/accounts/{accountId}/gmb-location-details Get location details
GmbLocationDetailsApi update_google_business_location_details PUT /v1/accounts/{accountId}/gmb-location-details Update location details
GmbMediaApi create_google_business_media POST /v1/accounts/{accountId}/gmb-media Upload photo
GmbMediaApi delete_google_business_media DELETE /v1/accounts/{accountId}/gmb-media Delete photo
GmbMediaApi list_google_business_media GET /v1/accounts/{accountId}/gmb-media List media
GmbPlaceActionsApi create_google_business_place_action POST /v1/accounts/{accountId}/gmb-place-actions Create action link
GmbPlaceActionsApi delete_google_business_place_action DELETE /v1/accounts/{accountId}/gmb-place-actions Delete action link
GmbPlaceActionsApi list_google_business_place_actions GET /v1/accounts/{accountId}/gmb-place-actions List action links
GmbReviewsApi get_google_business_reviews GET /v1/accounts/{accountId}/gmb-reviews Get reviews
InvitesApi create_invite_token POST /v1/invite/tokens Create invite token
LinkedInMentionsApi get_linked_in_mentions GET /v1/accounts/{accountId}/linkedin-mentions Resolve LinkedIn mention
LogsApi get_post_logs GET /v1/posts/{postId}/logs Get post logs
LogsApi list_connection_logs GET /v1/connections/logs List connection logs
LogsApi list_posts_logs GET /v1/posts/logs List publishing logs
MediaApi get_media_presigned_url POST /v1/media/presign Get presigned upload URL
MessagesApi edit_inbox_message PATCH /v1/inbox/conversations/{conversationId}/messages/{messageId} Edit message
MessagesApi get_inbox_conversation GET /v1/inbox/conversations/{conversationId} Get conversation
MessagesApi get_inbox_conversation_messages GET /v1/inbox/conversations/{conversationId}/messages List messages
MessagesApi list_inbox_conversations GET /v1/inbox/conversations List conversations
MessagesApi send_inbox_message POST /v1/inbox/conversations/{conversationId}/messages Send message
MessagesApi update_inbox_conversation PUT /v1/inbox/conversations/{conversationId} Update conversation status
PostsApi bulk_upload_posts POST /v1/posts/bulk-upload Bulk upload from CSV
PostsApi create_post POST /v1/posts Create post
PostsApi delete_post DELETE /v1/posts/{postId} Delete post
PostsApi get_post GET /v1/posts/{postId} Get post
PostsApi list_posts GET /v1/posts List posts
PostsApi retry_post POST /v1/posts/{postId}/retry Retry failed post
PostsApi unpublish_post POST /v1/posts/{postId}/unpublish Unpublish post
PostsApi update_post PUT /v1/posts/{postId} Update post
ProfilesApi create_profile POST /v1/profiles Create profile
ProfilesApi delete_profile DELETE /v1/profiles/{profileId} Delete profile
ProfilesApi get_profile GET /v1/profiles/{profileId} Get profile
ProfilesApi list_profiles GET /v1/profiles List profiles
ProfilesApi update_profile PUT /v1/profiles/{profileId} Update profile
QueueApi create_queue_slot POST /v1/queue/slots Create schedule
QueueApi delete_queue_slot DELETE /v1/queue/slots Delete schedule
QueueApi get_next_queue_slot GET /v1/queue/next-slot Get next available slot
QueueApi list_queue_slots GET /v1/queue/slots List schedules
QueueApi preview_queue GET /v1/queue/preview Preview upcoming slots
QueueApi update_queue_slot PUT /v1/queue/slots Update schedule
RedditSearchApi get_reddit_feed GET /v1/reddit/feed Get subreddit feed
RedditSearchApi search_reddit GET /v1/reddit/search Search posts
ReviewsApi delete_inbox_review_reply DELETE /v1/inbox/reviews/{reviewId}/reply Delete review reply
ReviewsApi list_inbox_reviews GET /v1/inbox/reviews List reviews
ReviewsApi reply_to_inbox_review POST /v1/inbox/reviews/{reviewId}/reply Reply to review
SequencesApi activate_sequence POST /v1/sequences/{sequenceId}/activate Activate a sequence
SequencesApi create_sequence POST /v1/sequences Create a sequence
SequencesApi delete_sequence DELETE /v1/sequences/{sequenceId} Delete a sequence
SequencesApi enroll_contacts POST /v1/sequences/{sequenceId}/enroll Enroll contacts in a sequence
SequencesApi get_sequence GET /v1/sequences/{sequenceId} Get sequence with steps
SequencesApi list_sequence_enrollments GET /v1/sequences/{sequenceId}/enrollments List enrollments for a sequence
SequencesApi list_sequences GET /v1/sequences List sequences
SequencesApi pause_sequence POST /v1/sequences/{sequenceId}/pause Pause a sequence
SequencesApi unenroll_contact DELETE /v1/sequences/{sequenceId}/enroll/{contactId} Unenroll a contact from a sequence
SequencesApi update_sequence PATCH /v1/sequences/{sequenceId} Update a sequence
ToolsApi check_instagram_hashtags POST /v1/tools/instagram/hashtag-checker Check IG hashtag bans
ToolsApi download_bluesky_media GET /v1/tools/bluesky/download Download Bluesky media
ToolsApi download_facebook_video GET /v1/tools/facebook/download Download Facebook video
ToolsApi download_instagram_media GET /v1/tools/instagram/download Download Instagram media
ToolsApi download_linked_in_video GET /v1/tools/linkedin/download Download LinkedIn video
ToolsApi download_tik_tok_video GET /v1/tools/tiktok/download Download TikTok video
ToolsApi download_twitter_media GET /v1/tools/twitter/download Download Twitter/X media
ToolsApi download_you_tube_video GET /v1/tools/youtube/download Download YouTube video
ToolsApi get_you_tube_transcript GET /v1/tools/youtube/transcript Get YouTube transcript
TwitterEngagementApi bookmark_post POST /v1/twitter/bookmark Bookmark a tweet
TwitterEngagementApi follow_user POST /v1/twitter/follow Follow a user
TwitterEngagementApi remove_bookmark DELETE /v1/twitter/bookmark Remove bookmark
TwitterEngagementApi retweet_post POST /v1/twitter/retweet Retweet a post
TwitterEngagementApi undo_retweet DELETE /v1/twitter/retweet Undo retweet
TwitterEngagementApi unfollow_user DELETE /v1/twitter/follow Unfollow a user
UsageApi get_usage_stats GET /v1/usage-stats Get plan and usage stats
UsersApi get_user GET /v1/users/{userId} Get user
UsersApi list_users GET /v1/users List users
ValidateApi validate_media POST /v1/tools/validate/media Validate media URL
ValidateApi validate_post POST /v1/tools/validate/post Validate post content
ValidateApi validate_post_length POST /v1/tools/validate/post-length Validate post character count
ValidateApi validate_subreddit GET /v1/tools/validate/subreddit Check subreddit existence
WebhooksApi create_webhook_settings POST /v1/webhooks/settings Create webhook
WebhooksApi delete_webhook_settings DELETE /v1/webhooks/settings Delete webhook
WebhooksApi get_webhook_logs GET /v1/webhooks/logs Get delivery logs
WebhooksApi get_webhook_settings GET /v1/webhooks/settings List webhooks
WebhooksApi test_webhook POST /v1/webhooks/test Send test webhook
WebhooksApi update_webhook_settings PUT /v1/webhooks/settings Update webhook
WhatsAppApi add_whats_app_broadcast_recipients PATCH /v1/whatsapp/broadcasts/{broadcastId}/recipients Add recipients
WhatsAppApi bulk_delete_whats_app_contacts DELETE /v1/whatsapp/contacts/bulk Bulk delete contacts
WhatsAppApi bulk_update_whats_app_contacts POST /v1/whatsapp/contacts/bulk Bulk update contacts
WhatsAppApi cancel_whats_app_broadcast_schedule DELETE /v1/whatsapp/broadcasts/{broadcastId}/schedule Cancel scheduled broadcast
WhatsAppApi create_whats_app_broadcast POST /v1/whatsapp/broadcasts Create broadcast
WhatsAppApi create_whats_app_contact POST /v1/whatsapp/contacts Create contact
WhatsAppApi create_whats_app_template POST /v1/whatsapp/templates Create template
WhatsAppApi delete_whats_app_broadcast DELETE /v1/whatsapp/broadcasts/{broadcastId} Delete broadcast
WhatsAppApi delete_whats_app_contact DELETE /v1/whatsapp/contacts/{contactId} Delete contact
WhatsAppApi delete_whats_app_group DELETE /v1/whatsapp/groups Delete group
WhatsAppApi delete_whats_app_template DELETE /v1/whatsapp/templates/{templateName} Delete template
WhatsAppApi get_whats_app_broadcast GET /v1/whatsapp/broadcasts/{broadcastId} Get broadcast
WhatsAppApi get_whats_app_broadcast_recipients GET /v1/whatsapp/broadcasts/{broadcastId}/recipients List recipients
WhatsAppApi get_whats_app_broadcasts GET /v1/whatsapp/broadcasts List broadcasts
WhatsAppApi get_whats_app_business_profile GET /v1/whatsapp/business-profile Get business profile
WhatsAppApi get_whats_app_contact GET /v1/whatsapp/contacts/{contactId} Get contact
WhatsAppApi get_whats_app_contacts GET /v1/whatsapp/contacts List contacts
WhatsAppApi get_whats_app_display_name GET /v1/whatsapp/business-profile/display-name Get display name and review status
WhatsAppApi get_whats_app_groups GET /v1/whatsapp/groups List contact groups
WhatsAppApi get_whats_app_template GET /v1/whatsapp/templates/{templateName} Get template
WhatsAppApi get_whats_app_templates GET /v1/whatsapp/templates List templates
WhatsAppApi import_whats_app_contacts POST /v1/whatsapp/contacts/import Bulk import contacts
WhatsAppApi remove_whats_app_broadcast_recipients DELETE /v1/whatsapp/broadcasts/{broadcastId}/recipients Remove recipients
WhatsAppApi rename_whats_app_group POST /v1/whatsapp/groups Rename group
WhatsAppApi schedule_whats_app_broadcast POST /v1/whatsapp/broadcasts/{broadcastId}/schedule Schedule broadcast
WhatsAppApi send_whats_app_broadcast POST /v1/whatsapp/broadcasts/{broadcastId}/send Send broadcast
WhatsAppApi send_whats_app_bulk POST /v1/whatsapp/bulk Bulk send template messages
WhatsAppApi update_whats_app_business_profile POST /v1/whatsapp/business-profile Update business profile
WhatsAppApi update_whats_app_contact PUT /v1/whatsapp/contacts/{contactId} Update contact
WhatsAppApi update_whats_app_display_name POST /v1/whatsapp/business-profile/display-name Request display name change
WhatsAppApi update_whats_app_template PATCH /v1/whatsapp/templates/{templateName} Update template
WhatsAppApi upload_whats_app_profile_photo POST /v1/whatsapp/business-profile/photo Upload profile picture
WhatsAppPhoneNumbersApi get_whats_app_phone_number GET /v1/whatsapp/phone-numbers/{phoneNumberId} Get phone number
WhatsAppPhoneNumbersApi get_whats_app_phone_numbers GET /v1/whatsapp/phone-numbers List phone numbers
WhatsAppPhoneNumbersApi purchase_whats_app_phone_number POST /v1/whatsapp/phone-numbers/purchase Purchase phone number
WhatsAppPhoneNumbersApi release_whats_app_phone_number DELETE /v1/whatsapp/phone-numbers/{phoneNumberId} Release phone number

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

support@zernio.com

About

Zernio API - Official Rust SDK

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors