Reference
Technical specifications, deterministic API schemas, protocol definitions, and platform limits for the Shaf edge redirection infrastructure.
Developer REST API v1
All REST endpoints accept and return JSON with standard HTTP status codes. Authenticate using Bearer tokens generated from the dashboard.
API Overview & Authentication
Base URLs, Bearer token headers, rate limit windows, cursor pagination, and response envelope shapes.
Links API Endpoints
Full CRUD specifications for short links, device-targeted smart routing, geofencing, password protection, and expiration.
Custom Domains API
Endpoints to register custom hostnames, poll Domain Control Validation (DCV) status, configure reverse proxy subpaths, and manage fallback routes.
Organizations API
Workspace metadata retrieval, quota utilization inspections, member invitation flows, and RBAC role assignments.
Edge AI & Utility Tools
Inference endpoints for AI slug recommendation, social OpenGraph card extraction, scannable QR code generation, and bulk CSV import/export.
Enterprise Protocols & Agent Systems
Shaf supports native identity federation protocols for IT administrators and standardized tool calling for autonomous AI agents.
SCIM 2.0 Directory Sync
RFC 7644 endpoints for Okta, Microsoft Entra ID, and JumpCloud automated employee onboarding, role mapping, and deprovisioning.
Model Context Protocol (MCP) Tools
Tool catalog, workspace resources, and prompt templates for Claude Code, Cursor, Windsurf, and custom AI agents.
Platform Specifications
Deterministic contract specifications, error response dictionaries, and operational capacity quotas.
Webhook Event Catalog
Real-time JSON event schemas (link.created, link.clicked, link.deleted, domain.verified) and HMAC-SHA256 signature verification.
Standard Error Codes
Exhaustive matrix of HTTP statuses, machine-readable error constants, and deterministic mitigation actions.
Plans & Resource Limits
Feature matrices, link limits, monthly click event quotas, and API burst rate limits across Starter, Pro, and Enterprise tiers.