https://api.tapkit.ai/v1.
Base URL
Authentication
All API endpoints require authentication via API key in theX-API-Key header:
Response Format
All responses are JSON. Successful responses return the requested data:Error Responses
Errors return a consistent format:Common Error Codes
| Code | HTTP Status | Description |
|---|---|---|
INVALID_API_KEY | 401 | API key is invalid or revoked |
AUTH_REQUIRED | 401 | No authentication provided |
PHONE_NOT_FOUND | 404 | Phone ID doesn’t exist |
MAC_APP_NOT_RUNNING | 400 | Mac companion app is offline |
TIMEOUT | 408 | Operation timed out |
Sync vs Async Mode
Most action endpoints support both synchronous and asynchronous execution:Synchronous (Default)
Request blocks until action completes:Asynchronous
Add?async=true to return immediately with job ID:
GET /v1/jobs/{job_id} to check status.