Version: 1.0.0
Pinboard API
Pinboard API
Backend API for the Pinboard collaborative workspace application.
Authentication
All endpoints (except /health and /docs) require JWT authentication.
Include the token in the Authorization header:
Authorization: Bearer <your-jwt-token>
Getting Started
- Login via SSO in the frontend (Google, Microsoft, or GitHub)
- Exchange session token using
POST /api/v1/auth/token/exchange - Use the JWT in the Authorization header for all API calls
- Refresh tokens automatically using
POST /api/v1/auth/token/refresh
Rate Limiting
- Standard endpoints: 100 requests per minute
- AI/chat endpoints: 10 requests per minute
Error Responses
All errors follow a consistent format:
{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable message",
"details": {...}
}
}
Common error codes:
UNAUTHORIZED(401): Authentication required or token invalidFORBIDDEN(403): Permission deniedNOT_FOUND(404): Resource not foundBAD_REQUEST(400): Invalid request formatVALIDATION_ERROR(422): Request validation failed
Authentication
- HTTP: Bearer Auth
Enter your JWT access token obtained from /api/v1/auth/token/exchange
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |
Bearer format: | JWT |
Contact
Pinboard Team: