Cross-Device Synchronization & Collaboration

Shareable Sandbox URLs & QR Code Sync

Share your isolated mock database state across devices, mobile emulators, teammates, and automated CI pipelines with 1-click shareable URLs (?_sandbox=<uuid>) and camera QR code scanning.

Your Live Session Share Hub
Active Identity
Loading QR...
Scan with Phone Camera

Instant Cross-Device Synchronization

Scanning this QR code on iOS or Android automatically connects your mobile device to this desktop session. Any resource you create, modify, or delete in the API Studio or Try-It tester will immediately be visible on mobile!

1. Query Parameter Identity Override

By passing ?_sandbox=<uuid> on any REST or GraphQL request, the backend automatically attaches all read and write mutations to that designated sandbox identity space.

  • Works with Any Endpoint: Supports GET lists, single-item lookups, POST creates, PUT/PATCH updates, and DELETE purges.
  • Zero Cookies Required: Perfect for Safari cross-origin limitations, Incognito windows, and mobile webviews.
  • Accepts Signed Tokens & Raw UUIDs: Both full signed tokens (<uuid>.<signature>) and plain UUIDs (<uuid>) are fully supported.

2. Mobile App & Device Testing Workflow

When developing React Native, Flutter, Swift iOS, or Android Kotlin apps:

  1. Open the documentation portal on your desktop and create your test scenarios (e.g. 5 custom posts and 2 edited users).
  2. Scan the session QR code or copy the sandbox UUID into your mobile app configuration.
  3. Your mobile app will immediately interact with the exact state created on your desktop.

3. Pull Request & Bug Reproduction Links

Include a shareable sandbox URL directly in GitHub PR descriptions, Jira tickets, or Slack messages:

https://playground.nileslabs.com/docs/posts?_sandbox=e4c85be8-71e1-4560-a292-aa2e38c7f766

When your reviewer clicks the link, their browser automatically locks into your sandbox overlay without disturbing their own local tests.

Integration Code Examples

cURL CLI Examples
1
# Read posts from specific sandbox
2
curl -X GET "/api/v1/posts?_sandbox=YOUR_SANDBOX_UUID"
3
4
# Create a new post in the shared sandbox
5
curl -X POST "/api/v1/posts?_sandbox=YOUR_SANDBOX_UUID" \
6
-H "Content-Type: application/json" \
7
-d '{"title": "Team Shared Post", "body": "Visible to anyone with this sandbox ID", "userId": 1}'
JavaScript / TypeScript Fetch Examples
1
// Connect any frontend or mobile app to a shared sandbox
2
const SANDBOX_ID = "YOUR_SANDBOX_UUID";
3
4
// Option A: Via Query Parameter (Works across all endpoints)
5
const res = await fetch(https://playground.nileslabs.com/api/v1/posts?_sandbox=${SANDBOX_ID}`);
6
const { data: posts } = await res.json();
7
8
// Option B: Via Header (Ideal for React Native / Axios / Fetch wrappers)
9
const headerRes = await fetch('https://playground.nileslabs.com/api/v1/posts', {
10
headers: {
11
'X-Playground-Identity': SANDBOX_ID
12
}
13
});