Advanced·
20 mins
Integrating SyncGraph REST API with Notion & Dashboards
Use SyncGraph's REST endpoints to query your live commit logs, heatmap history, and streak metrics directly inside external dashboards and personal Notion wikis.
🎥 Watch Video Guide • Live Setup WalkthroughFull HD
Step 1 of 3API & Integrations
Step 1: Fetch Commit History
Call `GET /api/v1/bot/history?limit=30` with your session cookie or token to retrieve structured JSON of all recent commits, timestamps, and commit SHAs.
Example Snippet
// GET /api/v1/bot/heatmap
curl -X GET https://api.syncgraph.omniide.com/api/v1/bot/heatmap \
-H "Cookie: session_token=YOUR_SESSION_TOKEN"