Skip to content

API Reference ​

Welcome to The Sandbox REST API documentation. Here you’ll find all the information you need to authenticate, interact with our endpoints, and integrate your application with The Sandbox ecosystem.

Introduction ​

This serves as a comprehensive understanding of The Sandbox Developers API.

Conventions ​

The base URL for all API requests is: https://developers.sandbox.game/api/

  • HTTPS is required for all requests.
  • This API follows RESTful conventions using GET, POST, PATCH, and DELETE.
  • Request and response bodies are encoded in JSON.

JSON Conventions

  • Top-level resources use a UUIDv4 "id" property.
  • All property names use snake_case.
  • Dates and timestamps follow ISO 8601:
    • Datetime: 2020-08-12T02:12:33.231Z
    • Date: 2020-08-12

Request Limits ​

To ensure consistent performance, the API enforces rate and size limits.

Rate Limits ​

Rate-limited requests return a rate_limited error with HTTP status 429.

⏱ Default limit: Average of 3 requests/second per integration. Short bursts are allowed.

WARNING

Rate limits may change in the future. Special rate limits may be introduced for select partners.

Status Codes ​

We use standard HTTP response codes for success and error responses.

Success ​

HTTP StatusDescription
200Successfully processed request

Errors ​

HTTP StatusCodeMessage
400invalid_jsonThe request body could not be decoded
invalid_request_urlThe request URL is invalid
invalid_requestThis request is not supported
401unauthenticatedInvalid or missing bearer token
403unauthorizedInsufficient permissions

Additional Security Considerations ​

  • Always use HTTPS
  • Securely store access tokens
  • Handle expiration and use refresh tokens
  • Scope tokens properly to limit access

Next Steps ​