Search the docs

Pages and API endpoints

Developer dashboard
Docs/Guides/Quick Start

Quick Start Guide

Go from zero to your first API call in 5 minutes. This guide walks you through setup, authentication, and making requests.

Prerequisites

  • A SyncBooks account with an active subscription
  • Access to Settings → API Keys (admin role required)
  • A tool to make HTTP requests (curl, Postman, or your app)

Step 1: Generate API Key

Go to Settings → API Keys in your SyncBooks dashboard and click Generate Key. Choose the scopes you need.

⚠️ Copy your key immediately — it's only shown once!

Step 2: Test Your Connection

bash
curl https://api.syncbooksapp.com/api/v1/invoices?limit=1 \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY"

If successful, you'll get a JSON response with your invoices (or an empty array).

Step 3: Create Something

Create a Customer
curl -X POST https://api.syncbooksapp.com/api/v1/customers \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Test Customer",
    "email": "test@example.com",
    "phone": "+233201234567"
  }'

Step 4: Verify in Dashboard

Go to Sales → Customers in your dashboard. You should see "Test Customer" listed there.

✅ You're Ready!

  • API key working
  • Can read data (GET)
  • Can write data (POST)
  • Changes visible in dashboard

Next Steps