Developer resources for integrating with oToK — public REST API reference, webhook contract, and integration guides.
oToK is a multichannel marketing communication platform (WhatsApp, email, web). Its REST API lets you sync contacts, run WhatsApp campaigns, send template messages and transactional email, manage deals, payments, and e-commerce orders, and drive bookings from your own systems.
- Hosted docs site → — browsable guides + API reference
- API Reference (Redoc) → — rendered from the OpenAPI spec
- OpenAPI 3.1 spec — machine-readable API description (
docs/openapi.yaml)
Quick links:
- Getting Started — API keys, authentication, base URL, errors, rate limits
- Contacts — upsert contacts, manage notes, list financial documents
- Campaigns & Templates — WhatsApp messaging
- Deals & Pipelines and Payments
- Products — the product catalog shared by deals and payments
- Payment Requests — hosted pay-links through your own provider
- Orders — e-commerce orders: line items, refunds, mark-paid/cancel
- Transactional Emails and Webhooks
- Consent & Suppressions — per-channel consent + the email suppression list
- Bookings & Meeting Types
curl "https://app.otok.io/api/v1/contacts?limit=5" \
-H "Authorization: Bearer otok_live_..."- Base URL:
https://app.otok.io/api/v1/ - Auth: workspace API keys (
otok_live_…), created in Settings → Developers - Interactive Swagger docs:
https://app.otok.io/api/v1/docs - Requires a plan with API access (Growth or higher)
oToK for WooCommerce — a self-contained WordPress plugin that connects a WooCommerce store to oToK: marketing consent at checkout, plus cart and order events delivered over signed webhooks with durable queuing and retries.
- Lives in
integrations/wordpress/ - Developer docs:
integrations/wordpress/README.md - CI: lint, PHPCS, and a wp-env runtime smoke test run on any change under
integrations/wordpress/
MIT — see LICENSE, with one exception: the integrations/wordpress/ subtree is GPL-2.0-or-later (it is a WordPress plugin and bundles Action Scheduler) — see its LICENSE.