Introduction

Analog’s API enables businesses to integrate their Point of Sale (POS) systems with our platform to receive and process orders from their own digital ordering applications. Whether you’re building:

  • A custom mobile ordering app
  • A web-based ordering system
  • A self-service kiosk application
  • A table ordering solution

Our API provides a unified way to:

  • Process incoming orders from your digital ordering applications
  • Manage menu and inventory in real-time
  • Track order status and fulfillment

How It Works

  1. Order Placement: When a customer places an order through your digital ordering application
  2. Instant Notification: Our system immediately sends the order details to your webhook endpoint
  3. POS Integration: Your system processes the order in your POS system
  4. Payment Processing:
    • If using Analog’s payment system: All payments are handled securely through our platform
    • If using your own Payment Service Provider (PSP): You’ll need to handle payment processing and update payment status through our API

Integration Benefits

  • Seamless POS Integration: Keep using your existing POS system while adding digital ordering capabilities
  • Real-time Operations: Process orders instantly with automated notifications
  • Flexible Architecture: Build any type of digital ordering experience on top of our infrastructure
  • Automated Reconciliation: Simplified accounting with detailed reporting and tracking

Setup Guide

1

Sign Up

Create your developer account using our portal and complete all necessary steps to fully onboard.

2

Authentication

We use M2M (Machine-to-Machine) OAuth 2.0 for authentication. You’ll need to first obtain a token using your client credentials. Replace CLIENT_ID and CLIENT_SECRET with your actual credentials:

$curl --request POST \
> --url https://auth.getanalog.ai/oauth/token \
> --header 'content-type: application/x-www-form-urlencoded' \
> --data grant_type=client_credentials \
> --data client_id=CLIENT_ID \
> --data client_secret=CLIENT_SECRET \
> --data audience=https://api.getanalog.ai/

This request returns a JSON response containing an access_token. Use this token for all subsequent API requests. Include it in the Authorization header as follows:

$Authorization: Bearer {your_token_here}
3

Webhook Configuration

Set up your webhook URL to receive order notifications from our server.