API REFERENCE

Integrate with Viontra's powerful API to extend and customize your digital presence management

GETTING STARTED

The Viontra API allows you to programmatically access and manage your digital presence. You can integrate our API with your existing systems or build custom applications on top of our platform.

To get started, you'll need to generate an API key from your Viontra dashboard. Go to Settings > API > Generate API Key.

Base URL: https://api.viontra.com/v1

AVAILABLE ENDPOINTS

Website Management

Manage your website content, pages, and SEO settings programmatically.

GETPOSTPUTDELETE

Social Media

Schedule posts, retrieve analytics, and manage social media accounts.

GETPOSTPUTDELETE

Google Business Profile

Update your business information, manage reviews, and post updates.

GETPOSTPUT

Analytics

Retrieve performance data across all your digital channels.

GET

Marketing Automation

Create and manage marketing campaigns, workflows, and triggers.

GETPOSTPUTDELETE

User Management

Manage users, roles, and permissions for your organization.

GETPOSTPUTDELETE

CODE EXAMPLE

// Example: Retrieve website analytics
import { ViontraClient } from '@viontra/sdk';

// Initialize the client with your API key
const client = new ViontraClient({
  apiKey: process.env.VIONTRA_API_KEY,
});

// Get website analytics for the last 30 days
async function getWebsiteAnalytics() {
  try {
    const analytics = await client.analytics.website.get({
      startDate: '2025-02-15',
      endDate: '2025-03-15',
      metrics: ['pageviews', 'visitors', 'bounceRate'],
    });
    
    console.log('Website Analytics:', analytics);
    return analytics;
  } catch (error) {
    console.error('Error fetching analytics:', error);
  }
}

getWebsiteAnalytics();

This example demonstrates how to use our JavaScript SDK to retrieve website analytics data. We also provide SDKs for Python, PHP, Ruby, and Java.

API RESOURCES

AVAILABLE SDKs

Need Help?

Our developer support team is available to help with API integration questions.