Overview
The Inbox API uses bracket notation for encoding complex data types (objects and arrays) in query parameters. This guide covers the encoding rules and common patterns.Objects
Objects are encoded using bracket notation with property names. Object value:Cursor Example
Arrays
Arrays can be encoded in three ways. All are supported by the API. Array value:Option 1: Repeated Parameters (Simplest)
Option 2: Empty Bracket Notation
Explicitly denotes an array. Useful when there’s only one value:Option 3: Indexed Bracket Notation
Most explicit. Allows reordering and sparse arrays:Filter Example
Common Filter Parameters
The threads endpoint supports various filter combinations:By Tags
By Status
By Assignee
Combined Filters
Multiple filters combine with AND logic:URL Encoding Special Characters
Values containing special characters must be URL-encoded:| Character | Encoded |
|---|---|
| Space | %20 or + |
+ | %2B |
& | %26 |
= | %3D |
[ | %5B |
] | %5D |
: | %3A |