Quick Start

Get started with Apptuner in less than 5 minutes using our HTTP API.

Prerequisites

1. Create a Project

  1. Log in to your Apptuner Console.
  2. Click New Project.
  3. Name your project (e.g., "My Super App").
  4. Copy your API Key.

2. API Integration

Since we do not currently have platform-specific SDKs, you can use our REST API to fetch configuration.

Fetch Configuration

Make a GET request to the following endpoint during your app initialization:

GET https://apptuner.dev/api/v1/config

Parameters:

  • platform (e.g., ios, android)
  • current_version (e.g., 1.0.0)

Headers:

  • x-api-key: YOUR_API_KEY

Example Implementation

const response = await fetch(
  "https://apptuner.dev/api/v1/config?platform=ios&current_version=1.0.0",
  {
    headers: {
      "x-api-key": "YOUR_API_KEY"
    }
  }
);

const config = await response.json();

if (config.maintenance_active) {
  // Show maintenance screen
} else if (config.force_upgrade) {
  // Show force update dialog
}

That's it! You now have remote control over your app.