Skip to content
Inkbox

Inkbox

BlogContactDocs
GuidesAPI Reference

Ctrl K

GuidesAPI Reference

Jump to

TypeScript SDK Skill

This skill teaches your coding agent how to use the @inkbox/sdk TypeScript package. Once installed, the agent automatically knows the correct imports, initialization patterns, and method signatures for the entire SDK surface — identities, email, phone, SMS/MMS, vault, contacts, notes, contact rules, TOTP, tunnels, whoami, and webhooks.

View the source →

What your agent learns

FeatureOperations
IdentitiesCreate, get, list, update (rename / pause / activate), refresh, delete
Channel managementProvision phone numbers (toll-free or local), assign and unlink mailboxes and phone numbers
Agent self-signupStatic Inkbox.signup / verifySignup / resendSignupVerification / getSignupStatus — claim flow and restrictions
Email — sendText, HTML, CC/BCC, base64 attachments, threaded replies via inReplyToMessageId
Email — readPaginated iterEmails / iterUnreadEmails, filter by direction, fetch full threads oldest-first, mark read
Email — threadsThread folders (inbox / spam / archive / blocked), per-thread folder updates, folder listing
Phone callsPlace outbound calls with client WebSocket audio, list history, transcript segments per party
Text messages (SMS/MMS)Send (identity.sendText), list and filter, single message with MMS media, conversation summaries, per-conversation messages, mark read, admin search / update / delete
Vault — secretsInitialize (Argon2id + AES-256-GCM), unlock, CRUD all payload types (login, api_key, key_pair, ssh_key, other), metadata-only listing without unlock
Vault — identity-scopedidentity.getCredentials() with typed per-type accessors (getLogin, getApiKey, getSshKey, getKeyPair), filtered by access rules
TOTPStore inside LoginPayload.totp, parse otpauth:// URIs, generate codes client-side, set / remove on existing logins
Mailboxes (admin)List, get, update display name / webhook URL / filter mode, search, delete, filter-mode change notices
Phone numbers (admin)Provision toll-free or local (with state), update incoming-call action (webhook / auto_accept / auto_reject), transcript search, release
Contact rulesMail (exact email / domain) and phone (exact E.164), whitelist vs blacklist modes, status toggle, duplicate-rule handling
ContactsCRUD with emails / phones / addresses, reverse-lookup variants, per-identity or wildcard access grants, bulk vCard import (≤5 MiB, ≤1000 cards), vCard 4.0 export
NotesCRUD free-form notes, list and filter, per-identity access grants (no wildcard)
WhoamiInspect caller's auth type (api_key vs jwt), organization ID, API-key subtype constants for admin vs agent-scoped branching
WebhooksRotate signing keys, verify incoming requests via HMAC-SHA256 over {requestId}.{timestamp}.{body}
Error handlingInkboxAPIError with status code and structured detail; narrower DuplicateContactRuleError and RedundantContactAccessGrantError subclasses
Tunnelsconnect(inkbox, { name, forwardTo | handler, wsHandler? }) from @inkbox/sdk/tunnels/connect for a public {name}.inkboxwire.com URL; URL forwarding or Fetch-API + WebSocket handlers; edge vs passthrough TLS; CRUD plus 24h delete grace + restore; secret rotation. Node ≥ 22, POSIX-only data plane.

Install

bashbash

Prerequisites

  • Node.js ≥ 22 (declared in @inkbox/sdk engines.node)
  • @inkbox/sdk installed in your project (npm install @inkbox/sdk)
  • An Inkbox API key from the Console

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

TypeScript SDK