Zinstruct API
Read your school's contacts, products, offers, enrollments and engagement data from your own tools, and get events pushed to you with webhooks.
API access needs the Core, Advanced or Professional plan. Keys can't be created on other plans, and keys made earlier stop working if the workspace moves off them. Compare plans.
Base URL
Every request goes to:
https://app.zinstruct.comThe endpoints sit in 2 families:
/api/public/v1— 11 endpoints/api/reporting/v1— 9 endpoints
Get an API key
- Sign in at app.zinstruct.com as the workspace owner.
- Open Settings → API Keys and AI Models, name the key after the tool it's for, and click Create key.
- Copy the key straight away — it is shown once. A key is read only, or read and write if you chose that, and reaches only your own school.
Read your school's data from your own tools, and (with a Read and write key) add contacts and manage their access.
Authenticating
Every request carries an API key as a bearer token:
Authorization: Bearer YOUR_API_KEYCreate a key at Settings → API Keys and AI Models. The full key is shown once, when you create it. A key is Read only or Read and write, reaches only your own school, and stops working the moment you revoke it. Replace key gives you a new key with the same name and access; the old one keeps working for 24 hours so you can switch over.
Start with GET /api/reporting/v1/health — it proves the key and the header are right before you touch any data.
Conventions
- Field names are
snake_case; timestamps are ISO-8601 in UTC; money is always integer cents, never a decimal. - List endpoints return
{ data, total, page, page_size }.totalcounts every matching row, not just the page. - Paginate with
?page=and?page_size=.page_sizeis clamped to 1–100, and defaults to 50. - Errors return
{ "error": { "code", "message" } }with a matching HTTP status. Branch oncode— it is stable;messagemay be reworded.
Writing data
With a Read and write key you can create contacts, give a contact an offer, and remove a contact's access. Send JSON with Content-Type: application/json. Add an Idempotency-Key header (any unique string, 8–200 characters) to every write: if your request times out, send it again with the same key and you get the first response back instead of the work being done twice.
Rate limits
Requests are limited per key: 600 requests per 60 seconds, of which at most 60 may be writes. Over the limit you get 429 with code rate_limited. Give each integration its own key so one busy tool cannot exhaust another's budget.
Error codes
Branch on error.code. These are every code the API returns:
unauthorizedforbiddennot_foundbad_requestrate_limitedconflictlimit_reachedoffer_not_publishedbilling_activeread_onlyplan_requiredworkspace_unavailableinternal_error
Versioning
The version is part of every path (/api/public/v1, /api/reporting/v1), so a request names the version it was written against. Webhook payloads carry their own api_version, currently 2026-05-24.
Next
- API reference — every endpoint, with code samples in six languages.
- Webhooks — every event and what it carries.
- Downloads — the OpenAPI file and a PDF of the reference.