Developers
Build on MASK.
A complete developer platform for building on MASK. REST API, real-time webhooks, scoped API keys, and usage analytics: everything you need to integrate MASK into your product or workflow.
Quick Start
Create a short link in one request.
Authenticate with your API key, send a POST, and get a trackable short link back. That's it.
Capabilities
Everything developers need.
REST API
Full REST API
Create, read, and manage short links programmatically. Paginated responses, consistent JSON schema, and proper error handling.
Webhooks
Real-Time Webhooks
Subscribe to events like link.created, click.recorded, and subscription.updated. HMAC-SHA256 signed payloads with automatic retries and delivery logs.
API Keys
Scoped API Keys
Create multiple API keys per workspace with fine-grained scopes. Rotate keys atomically, track last-used timestamps, and revoke instantly.
Analytics
Usage Analytics
Monitor API consumption per key and per endpoint. Track error rates, rate limit hits, and request volumes over configurable time windows.
Rate Limiting
Production Rate Limits
Redis-backed rate limiting with standard headers (X-RateLimit-Limit, Remaining, Reset). Graceful 429 responses with clear reset timing.
Security
Enterprise Security
SHA-256 hashed key storage, bearer token authentication, audit logging for every API action, and workspace-level access isolation.
Webhook Events
React to events in real time.
Subscribe to workspace events and receive signed HTTP callbacks. Failed deliveries are automatically retried and logged for replay.
link.createdWhen a new short link is createdlink.updatedWhen a link's destination or settings changelink.deletedWhen a link is removedclick.recordedWhen a short link receives a clickpage.publishedWhen a bio page is publishedsubscription.updatedWhen a billing plan changesAPI Key Scopes
Least-privilege access.
Assign only the permissions each integration needs. Create read-only keys for analytics or full-access keys for automation.
links:readRead link datalinks:writeCreate and modify linksanalytics:readAccess analytics datapages:readRead bio pagespages:writeManage bio pageswebhooks:readList webhook endpointswebhooks:writeManage webhooksteam:readView team membersStart building with MASK.
Generate an API key in your workspace settings and make your first request in under a minute.