Skip to main content
API keys enable secure, programmatic access to Toppie’s unified retail media platform. Whether you’re automating campaign management, building custom dashboards, or integrating Toppie data into existing workflows, API keys provide the foundation for scaling retail media operations beyond the UI.
Toppie API keys provide secure, token-based authentication for programmatic access to all Toppie endpoints. This enables automation of campaign management, data integration, and custom reporting workflows.

Key Benefits

Automate Campaign Operations

Build workflows that create, manage, and optimize campaigns across multiple retailers without manual intervention

Custom Integrations

Connect Toppie data to BI tools, reporting dashboards, or internal systems for unified retail media analytics

Secure Access Control

Each key is scoped to one account, so it can only access that account’s data, and you can delete it at any time

Creating API Keys

1

Navigate to Settings

Access Settings in your Toppie dashboard navigation
2

Select API Integration

Choose API Integration from the left-hand navigation menu
3

Create New Key

Click the ”+ New API Key” button to generate a new key
4

Save Immediately

Copy and save your API key immediately—it will only be displayed once for security reasons
5

Secure Storage

Store your API key in a secure location such as a password manager or secrets management system
Toppie API Integration interface showing the New API Key button

Using API Keys

Include your API key in request headers for authentication when making calls to the Toppie API.

Authentication Header

Available API Endpoints

Access comprehensive functionality through the Toppie API:
  • Product Catalog - List the products available to your account (read only)
  • Campaign Lifecycle Operations - Create, update, and delete Sponsored Listings campaigns, and read and delete banner campaigns
  • Analytics and Reporting - Access performance data for the account, campaigns, and products
  • Budgets and Account Activity - Set campaign budgets and read daily ad spend and top-ups
Toppie API keys start with TAS_. Keys created here include every API permission and work only on the Toppie API, not on other Topsort APIs.

API Documentation

Start with the Toppie API overview. It covers:

Security Best Practices

Security Guidelines
  • Never share API keys in code repositories or public channels
  • Rotate keys regularly for enhanced security
  • Use environment variables or secure vaults to store keys
  • Monitor API usage for any unusual activity
  • Implement proper access controls in your applications

Key Management

  • Regeneration - Rotate API keys periodically or when team members leave
  • Monitoring - Track API usage patterns and set up alerts for unusual activity
  • Access Control - Limit API key access to necessary team members only
  • Backup Storage - Store keys in multiple secure locations with proper access controls

Common Use Cases

Campaign Automation

Automate campaign creation, budget adjustments, and performance optimization based on predefined rules and triggers.

Reporting Integration

Pull Toppie performance data into existing business intelligence tools or custom dashboards for unified reporting.

Budget Optimization

Implement custom budget allocation algorithms based on performance metrics and business objectives.

For assistance with API integration or to discuss advanced programmatic campaign management use cases, contact your Toppie account manager.