Skip to main content

Base URL

All API requests are made to:

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.