Skip to main content

Base URL

All API requests are made to:
urBackend moved to new domains. The previous bitbros.in hosts stay live until 30 October 2026. After that date they are deprecated. Update your apps to use the new hosts before then.
The official SDKs may still default to the previous API host. To target the new host, pass baseUrl: 'https://api.urbackend.in' when you create the client.

Authentication

Every request must include an x-api-key header. urBackend issues two keys per project with different trust levels:
Never expose your sk_live key in frontend or mobile code. Anyone who obtains it has unrestricted write access to your project data.

Common Headers

Response Format

Every endpoint returns the same envelope:
On error, success is false and data is omitted or empty. The message field describes what went wrong.

Endpoint Quick Reference

Status Codes

Write Access Matrix

Use this table to determine which key and token combination you need for write operations on non-users collections:
The users collection is managed exclusively through /api/userAuth/*. Direct access via /api/data/users* is blocked for all keys.