Base URL
All API endpoints are versioned under/v1:
Authentication
Pikarc supports two authentication mechanisms:API Key (SDK endpoints)
Used by the SDK for machine-to-machine communication. Pass the key as a Bearer token:lg_<prefix>_<secret>
- The
prefixis used for fast database lookup - The
secretis verified against a SHA256 hash - Keys are generated on registration and can be regenerated in the dashboard
JWT Token (Dashboard endpoints)
Used by the web dashboard. Obtained via the login endpoint:Endpoint Auth Requirements
Error Responses
All errors return a JSON body with adetail field:
Status Codes
Plan-Gated 403 Errors
Some operations are restricted by plan tier. For example, enabling the kill switch on a Basic or Pro plan returns:Health Check
200 OK with the API status. No authentication required.