Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.56 KB

search-subscriptions-request.md

File metadata and controls

44 lines (35 loc) · 1.56 KB

Search Subscriptions Request

Defines input parameters in a request to the SearchSubscriptions endpoint.

Structure

Search Subscriptions Request

Fields

Name Type Tags Description
cursor str Optional When the total number of resulting subscriptions exceeds the limit of a paged response,
specify the cursor returned from a preceding response here to fetch the next set of results.
If the cursor is unset, the response contains the last page of the results.

For more information, see Pagination.
limit int Optional The upper limit on the number of subscriptions to return
in a paged response.
Constraints: >= 1
query Search Subscriptions Query Optional Represents a query, consisting of specified query expressions, used to search for subscriptions.
include List[str] Optional An option to include related information in the response.

The supported values are:

- actions: to include scheduled actions on the targeted subscriptions.

Example (as JSON)

{
  "query": {
    "filter": {
      "customer_ids": [
        "CHFGVKYY8RSV93M5KCYTG4PN0G"
      ],
      "location_ids": [
        "S8GWD5R9QB376"
      ],
      "source_names": [
        "My App"
      ]
    }
  },
  "cursor": "cursor6",
  "limit": 230,
  "include": [
    "include8"
  ]
}