Sandbox Setup

This section describes how to quickly learn, explore and test your Advertiser APIs with a sandbox environment.

The sandbox environment provides a safe testing ground that mirrors production configuration while being isolated from live data. The setup process is identical to production for both REST API and SFTP access.

Environment Overview

  • REST API Base URL: https://api-sandbox.cardlytics.com
  • SFTP Host: sftp-ads.cardlytics.com (same as production)
  • Purpose: API testing, development, and file transfer testing
  • Configuration: Identical to production environment
  • Data: Test data only - no live customer information

REST API Integration

1. Obtain Sandbox Credentials

Contact your Cardlytics representative to get sandbox API credentials:

  • client_id for sandbox environment
  • client_secret for sandbox environment

2. Authentication and API Endpoints

Authentication and all API endpoints use the same paths as production, just with the sandbox base URL

📘

Interactive API Testing

Ready to test the API?
👉 Visit our Interactive API Reference to try out endpoints with real requests.

SFTP Integration

1. Obtain SFTP Credentials

Contact your Cardlytics representative to get sandbox SFTP access:

  • SFTP username for sandbox
  • SSH private key for sandbox authentication

2. Connection Details

  • Host: sftp-ads.cardlytics.com (identical to production)
  • Port: 22 (standard SFTP)
  • Authentication: SSH key-based (sandbox-specific key pair)
  • Directory Structure: Mirrors production layout

What’s Next