Skip to main content

OneTablet Orders API Documentation

Welcome to the OneTablet Orders API documentation. This API allows you to integrate with OneTablet's order management system to retrieve order information and receive real-time notifications.

Quick Start

  1. Get your API key from OneTablet technical support
  2. Make your first request to test the connection
  3. Set up webhooks to receive real-time order updates

Example: Get Orders

curl -X GET "https://public-api.onetablet.co/api/v1/orders" \
-H "x-api-key: your-api-key"

API Overview

Orders API

  • Get Orders List - Retrieve orders with filtering and pagination
  • Get Order by ID - Get detailed information about a specific order

Webhooks API

  • Setup Webhook - Configure webhook endpoints for real-time notifications
  • Get Webhooks - List all webhook configurations

Authentication

All API requests require authentication using an API key provided by OneTablet technical support. Include your API key in the x-api-key header with every request.

curl -H "x-api-key: your-api-key" https://public-api.onetablet.co/api/v1/orders

Base URL

https://public-api.onetablet.co/api/v1

Error Handling

The API uses standard HTTP status codes:

  • 200 - Success
  • 400 - Bad Request (validation error)
  • 401 - Unauthorized (invalid API key)
  • 404 - Not Found
  • 429 - Too Many Requests (rate limit exceeded)
  • 500 - Internal Server Error

Error responses include a message describing the issue:

{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}

Support

If you need help integrating with the API:

  • Documentation: Browse the sections below
  • Support: Contact OneTablet technical support

Getting Started

Ready to integrate? Start with our Authentication Guide or explore the API Reference to learn about specific endpoints.