Query String Syntax

When adding a query string to a request, use the following syntax:

  • To filter on a single key-value pair, use ?<optional-filter-key>=<value>.
    For example: ?direction=inbound
  • To filter on multiple parameters in a single request, insert an ampersand (&) between the filters as follows: ?<optional-filter-key>=<value>&<optional-filter-key2>=<value2>.
    For example: ?direction=inbound&channel-type=voice
  • To filter on an array of values, enclose a comma-separated list of values in square brackets as follows: ?<optional-filter-key>=[value1, value2, value3]
    For example: ?direction=inbound&channel-type=[voice,email]