meta data for this page
API Cookbook
Practical recipes for common Collection API tasks. For full parameter reference, see Collection API Reference.
All examples use the endpoint: https://wherewelearn.com/api/apic.php
Contents
- Basic Recipes — first call, list records, read one, create, update
- Bulk Operations — bulk create from CSV, batch updates
- Webhook Patterns — receiving and verifying webhook deliveries
- Automation Examples — polling, Zapier/Make, Python client
The Golden Rule
Always call f=meta first when working with a collection you haven't used before. It returns the complete schema, all view IDs, all action IDs, and usage templates in one response. Everything you need to start working is in that single payload — no guessing column names.
curl -s -k -X POST "https://wherewelearn.com/api/apic.php" \ -d "u=APIUSER&k=APIKEY&r=COLLECTIONREF&g=VIEWID&f=meta"