Skip to Content
Wapitick developers

SDKs, CLI and Postman

Official libraries for Node, Python and PHP (Laravel), the wapitick CLI, and the Postman collection.

InstallSource
Node / TypeScriptnpm i @wapitick/nodesdks/node
Pythonpip install wapiticksdks/python
PHP / Laravelcomposer require wapitick/wapitick-phpsdks/php
CLInpx wapiticksdks/cli
Postmanimport wapitick.postman_collection.jsondocs/api

All three libraries: helpers for the common jobs (send text and templates, upsert contacts, webhook endpoints, test mode), any other operation by its operationId, automatic Idempotency-Key on writes, retries on 429 and 5xx with backoff, typed errors carrying the problem code, and verifyWebhook() for both signature styles. They are generated from the OpenAPI document (operation tables and Node types) with a hand-written layer on top.

import { Wapitick } from "@wapitick/node";
const wapitick = new Wapitick(); // reads WAPITICK_API_KEY
await wapitick.request("GET", "/v1/contacts", { query: { limit: 10 } });

CLI:

npx wapitick login --key wk_test_...
npx wapitick listen --forward-to http://localhost:3000/webhooks
npx wapitick trigger message.received
npx wapitick logs tail --errors
npx wapitick send --to +15550100001 --text "Hello"

OAuth for partners

Apps that act for many businesses use OAuth 2.1 (/oauth/authorize, /oauth/token, PKCE). Server-to-server partners with a confidential app can use grant_type=client_credentials: the token acts as the member who created the app, limited to the app's scopes and that member's role, and stops working if the member leaves.

This page as Markdown

On this page