Skip to main content

Base URL

https://api.boop.network

Authentication

All API requests require authentication using your vendor API key:
curl -X POST https://dev.app.boop.it/api/v1/auth \
  -H "X-API-Key: your-api-key-here" \
  -H "Content-Type: application/json"
Keep your API key secure. Never expose it in client-side code or public repositories.

Interactive API Playground

Each API endpoint below includes an interactive playground where you can:
  • Test API calls directly from the documentation
  • See request/response examples
  • Generate code snippets in multiple languages
The playground is configured to work with the development environment at https://dev.app.boop.it.

Available Endpoints

Health & Status

  • GET /health - Check service health
  • GET /api/v1/status - Get system status

Authentication

  • POST /api/v1/auth/create - Create authentication context
  • GET /api/v1/auth//status - Check authentication status
  • POST /api/v1/auth//cancel - Cancel authentication

User Management

  • POST /api/v1/mpc/users/create - Register new user
  • POST /api/v1/mpc/users/update - Update user attributes
  • POST /api/v1/mpc/users/read - Read user data
  • POST /api/v1/mpc/users/delete - Delete user

WebSocket Connections

  • WS /ws/vendor - Vendor WebSocket connection
  • WS /ws/pvs - PVS WebSocket connection

Rate Limiting

API endpoints are rate-limited to ensure fair usage:
Endpoint TypeRate LimitWindow
Authentication100 requests1 minute
User Operations50 requests1 minute
Health Check1000 requests1 minute
Rate limit headers are included in responses:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1640995200

Response Format

Success Response

{
  "success": true,
  "data": {
    // Response data
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2024-01-15T10:00:00Z"
  }
}

Error Response

{
  "success": false,
  "error": {
    "code": "INVALID_REQUEST",
    "message": "Invalid request parameters",
    "details": {
      "field": "amount",
      "reason": "Must be a positive integer"
    }
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2024-01-15T10:00:00Z"
  }
}

Error Codes

CodeDescriptionHTTP Status
INVALID_REQUESTRequest format or parameters invalid400
UNAUTHORIZEDInvalid or missing API key401
FORBIDDENInsufficient permissions403
NOT_FOUNDResource not found404
RATE_LIMITEDToo many requests429
INTERNAL_ERRORServer error500

SDK Support

Official SDKs are available for popular languages:
npm install @boop/vendor-sdk

Testing

Use the sandbox environment for testing:
const boop = new BoopClient({
  apiKey: 'sk_test_...',
  baseUrl: 'https://sandbox.boop.network'
});

Support