Request Headers
Headers sent by mobile clients:| Header | Description | Example |
|---|---|---|
X-Device-ID | Unique device identifier | 550e8400-e29b-41d4-a716-446655440000 |
X-App-Version | Client app version | 2.1.0 |
X-App-Build | Build number | 2024.01.15 |
X-Device-Model | Device model | iPhone15,2 |
X-Platform | Operating system | ios, android |
X-OS-Version | OS version | 17.0, 14 |
X-Timezone | IANA timezone | America/New_York |
X-Locale | Device locale | en-US, ja-JP |
X-Push-Token | Push notification token | abc123... |
X-API-Version | API version | v2, v2.1 |
X-Sync-Token | Last sync token | YWJjMTIz... |
X-Idempotency-Key | Request idempotency | req-abc-123 |
X-Request-ID | Request trace ID | trace-123 |
Response Headers
Headers sent by the server:| Header | Description | Example |
|---|---|---|
X-API-Version | API version used | v2 |
X-API-Deprecated | Deprecation warning | true |
X-Min-App-Version | Minimum required version | 1.5.0 |
X-Sync-Token | New sync token | ZGVmNDU2... |
X-Request-ID | Request trace ID | trace-123 |
Header Details
X-Device-ID
A unique identifier for the device. Should persist across app reinstalls if possible. iOS:X-App-Version
Semantic version of the client application.X-Platform
Operating system identifier. Used for platform detection when User-Agent parsing is disabled. Valid values:iosandroidwindowsmacosweb
X-API-Version
API version requested by the client. Supports formats:v2v2.122.1
X-Sync-Token
Opaque token for delta synchronization. Clients store and send back on subsequent sync requests.X-API-Deprecated
Response header indicating the requested API version is deprecated. Clients should plan to upgrade.X-Min-App-Version
Response header indicating the minimum required app version. Clients below this version should prompt for update.Client Implementation
iOS (Swift)
Android (Kotlin)
Flutter (Dart)
Next Steps
Device Detection
How headers are parsed
API Reference
Complete API documentation