Skip to main content

SnackBase API

Complete interactive reference for all SnackBase API endpoints. Explore endpoints, test requests, and view responses directly from your browser.
Use the API playground on the right to test requests. You can switch between development and production environments using the selector above.

Base URL

EnvironmentURL
Developmenthttp://localhost:8000
Productionhttps://api.snackbase.com

Authentication

Most endpoints require authentication using a Bearer token:
Authorization: Bearer <your_token>

Response Format

All responses return JSON:
{
  "data": {},
  "message": "Success"
}

Error Responses

Errors follow this format:
{
  "error": "Error type",
  "message": "Detailed error message"
}