Integrations and Connections
Connect Opttab with your existing tools and workflows to streamline AI optimization, including third-party apps, webhooks, and API access for advanced users.
{
"event": "ai_visibility_change",
"timestamp": "2024-10-15T14:30:00Z",
"data": {
"domain": "example.com",
"visibility_score": 85,
"sentiment": "positive"
}
}
const webhookData = {
domain: 'example.com',
events: ['ai_visibility_change']
};
await fetch('https://api.example.com/v1/webhooks', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify(webhookData)
});
import requests
data = {'domain': 'example.com', 'events': ['ai_visibility_change']}
headers = {'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json'}
requests.post('https://api.example.com/v1/webhooks', json=data, headers=headers)
Overview
Opttab integrates seamlessly with your favorite marketing, analytics, and automation tools. Use pre-built connectors for quick setup or webhooks and API for custom workflows. This guide covers popular integrations, webhook configuration, API access, and agency best practices.
All integrations require an active Opttab account. Generate your {API_KEY} from the dashboard at https://dashboard.example.com/settings/api.
Popular Integrations
Discover ready-to-use connections with leading tools.
Zapier
Automate AI visibility alerts to Slack, email, or CRM in minutes.
HubSpot
Sync AI sentiment data directly into your CRM contacts.
Google Analytics
Track AI referral traffic alongside traditional web analytics.
Slack
Receive real-time notifications for visibility changes.
Segment
Pipe AI optimization events into your data warehouse.
Make.com
Build complex no-code workflows for content teams.
Configure Webhooks
Set up webhooks to receive real-time updates on AI visibility changes, content scans, or optimization events.
Create Webhook
Navigate to https://dashboard.example.com/settings/webhooks and click "New Webhook".
Add Endpoint
Enter your endpoint URL, e.g., https://your-webhook-url.com/opttab.
Select events like ai_visibility_change or content_optimized.
Verify and Test
Opttab sends a test payload. Respond with HTTP 200 OK to confirm.
Webhook Payload Example
API Integrations
For custom needs, use Opttab's REST API at https://api.example.com/v1.
Bearer {YOUR_API_KEY}.
Your website domain, e.g., example.com.
const response = await fetch('https://api.example.com/v1/visibility?domain=example.com', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data.visibility_score);
import requests
headers = {'Authorization': 'Bearer YOUR_API_KEY'}
response = requests.get('https://api.example.com/v1/visibility?domain=example.com', headers=headers)
data = response.json()
print(data['visibility_score'])
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.example.com/v1/visibility?domain=example.com"
Best Practices for Agencies
Manage multi-client workflows efficiently.
Create separate {API_KEY} per client in the dashboard. Use client subdomains for isolation.
API calls are limited to 1000/minute. Implement exponential backoff for retries.
Never expose keys in client-side code. Use server-side proxies for web apps.
For agencies, enable team accounts at https://dashboard.example.com/billing to track usage across clients.