Adlyft
  1. Default module
Adlyft
  • Default module
    • Introduction
    • Getting Started
    • Auth Mangment
      • Get User Token
      • Refresh User Token
    • Workspace Mangment
      • Create Workspace
      • Get single workspace
      • Update Workspace
      • Delete Worksapace
      • Change Workspace Admin
    • Team Mangment
      • Create Team
      • Get Workspace Teams
      • Assign member
      • Get team members
      • Get Team By ID
      • Update Team Name
      • Delete Team
      • Delete Team Member
    • Connection
      • Create Connection
      • Get connections by teamId
      • Disconnect
    • Ads Account Mangment
      • Assign ad account
      • Revoke ad account
      • Change ad account
    • Meta
      • Campaigns
        • Get Campaigns
        • Update Campaign Status
        • Create Lead Campaign
        • Create Traffic Campaign
        • Create Sales Campaign
        • Create Awareness Campaign
        • Create Engagement Campaign
      • Lead Form
        • Get Page Lead forms
        • Create Page Lead form
      • Pixels
        • Get Pixels details
        • Get Pixels stats
        • Get Pixels
        • Create Pixel
      • Audience
        • Get Custom Audience
        • Create Lookalike custom audience
        • Get Estimated Audience
      • Import
      • Targeting Search
      • Facebook pages
      • Get Ads
      • Get AdSet
      • Get AdCreative
      • Get Insights
      • Get Ads Account Details
      • Get Single Ad Account Details
      • Get All Bussinesses
      • Get single bussiness
      • Get Owned ad accounts
      • Get product-catalogs
      • Get Ad creative Preview
    • Google
      • list accessible customers
      • import
      • insights
      • Assets
  • new module
    • Default module
  1. Default module

Getting Started

with Otomatika Gateway#

Get up and running with Otomatika Gateway in just a few simple steps. Our platform is designed to get you connected to your marketing platforms quickly and securely.

Quick Start Guide#

Step 1: Create Your Account#

Sign up for an Otomatika account at our portal: https://portal.otomatikaservices.com/signup
During registration, you'll create your organization profile and become the Tenant Owner with full access to manage your account.
What you'll need:
Valid email address
Organization/company name
Password (minimum 8 characters)
What happens next:
Your tenant (organization) is automatically created
You become the Tenant Owner with full administrative privileges
You can immediately start setting up platform integrations and API access

Step 2: Get Your API Key#

Once logged in, you'll need to generate your API key for programmatic access:
1.
Navigate to Settings → API Keys in your dashboard
2.
Click "Generate API Key"
3.
Copy and securely store your API key - you'll need this for all API requests
4.
⚠️ Important: Keep your API key secure and never share it publicly
Your API key is used to:
Authenticate all API requests to Otomitka Gateway
Create and manage members (end users)
Access workspace and platform integration endpoints
Ensure all operations are isolated to your tenant
Security Best Practices:
Store your API key in environment variables
Never commit API keys to version control
Rotate keys periodically
Use different keys for development and production environments

Step 3: Connect Your Marketing Platforms#

Before you can use our API endpoints, you need to connect the marketing platforms you want to integrate:
1.
Go to Platform Integrations in your dashboard
2.
Click "Add Platform"
3.
Select your platform (Meta, Google, TikTok, X, LinkedIn, or Shopify)
4.
Enter your platform credentials:
App ID: Your platform's application ID
App Secret: Your platform's secret key
Config ID: Platform-specific configuration ID (if required)
5.
Click "Connect" - we'll automatically generate your redirect URL

Supported Platforms:#

PlatformDescriptionRequired Credentials
MetaFacebook & Instagram AdsApp ID, App Secret
TikTokTikTok AdsApp ID, App Secret
GoogleGoogle AdsClient ID, Client Secret
XTwitter AdsAPI Key, API Secret
LinkedInLinkedIn AdsClient ID, Client Secret
ShopifyE-commerce IntegrationAPI Key, API Secret
Where to find platform credentials:
Meta: Meta for Developers → Your Apps
TikTok: TikTok for Business → App Management
Google: Google Cloud Console → APIs & Services
X: X Developer Portal → Apps
LinkedIn: LinkedIn Developers → My Apps
Shopify: Your Shopify Admin → Apps → Develop apps

Step 4: Start Making API Calls#

You're all set! Now you can start using our API endpoints. All requests must include your API key in the header.

Base URL#

https://gateway.otomatika.com/api/v1

Authentication Header#

All API requests require your API key:

Common Integration Patterns#

Pattern 1: Backend Integration (Recommended)#

Keep your API key secure by calling Otomitka from your backend:

Pattern 2: User Sign-In Flow#

Authenticate members and manage JWT tokens:

Pattern 3: Workspace Operations#

Access and manage workspaces using member JWT tokens:

Interactive API Documentation#

Explore all available endpoints using our Swagger documentation:
URL: https://gateway.otomatika.com/api
Features:
Browse all API endpoints
Test requests directly from your browser
View request/response schemas
Copy code examples in multiple languages

Next Steps#

Now that you're set up, explore these guides to build your integration:

Core Concepts#

Member Management - Onboard and authenticate users
Workspace Management - Create collaborative project spaces

Advanced Topics#

Platform Integration APIs (Coming Soon) - Connect ad accounts and manage campaigns
Webhooks & Events (Coming Soon) - Real-time notifications
Rate Limiting & Best Practices (Coming Soon) - Optimize your integration

Troubleshooting#

Common Issues#

Issue: 403 Forbidden Error
Cause: Invalid or missing API key
Solution: Verify your API key is correctly set in the x-api-key header
Issue: 401 Unauthorized Error
Cause: Invalid or expired JWT token
Solution: JWT tokens expire after 24 hours. Have the member sign in again to get a new token
Issue: 400 Bad Request - Member Already Exists
Cause: A member with that email already exists in your tenant
Solution: Check if the member already exists before creating, or use sign-in instead
Issue: Platform Integration Not Working
Cause: Incorrect platform credentials or missing redirect URL
Solution: Double-check your App ID and App Secret in the dashboard. Ensure your platform app settings include the Otomitka redirect URL

Getting Help#

If you need assistance:
1.
Check our API Documentation
2.
Review error messages carefully - they often include specific guidance
3.
Contact support at support@otomatika.com
4.
Include your request ID and error details for faster resolution

Security Checklist#

Before going to production, ensure:
✅ API keys are stored in environment variables, not code
✅ API keys are never committed to version control
✅ HTTPS is used for all API requests
✅ JWT tokens are stored securely (httpOnly cookies or server sessions)
✅ Token expiry is handled gracefully in your application
✅ Rate limiting is implemented on your authentication endpoints
✅ User input is validated before sending to Otomitka
✅ Error messages don't expose sensitive information to end users

Support & Resources#

Portal: https://portal.otomatikaservices.com
API Documentation: https://docs.otomatika.com
Interactive API: https://gateway.otomatika.com/api
Support Email: support@otomatika.com
Status Page: https://status.otomatika.com

Questions? Reach out to our support team at support@otomatika.com
Modified at 2025-10-08 14:39:40
Previous
Introduction
Next
Auth Mangment
Built with