Skip to content

Search dashboard navigation

API v2 is in public beta: endpoints and fields can change before general availability. See the changelog

GET/account/navigation

Costs 1 rate-limit point · Rate limits

Search STOQ dashboard pages, tabs, and settings sections to get exact in-app navigation paths and deep links.

Matches English and localized titles, setting labels, keywords, and areas from the compiled navigation map. Pass offer_id or offer_name to resolve offer-scoped paths (including offer editor sections and offer translations) for a specific preorder offer. Omit query to list top-level destinations.

Also searched aswhere is settingfind pagedashboard navigationdeep linkopen in stoqapp pathnavigation search

Query parameters

  • querystring

    Search phrase matching English or localized page titles, setting labels, keywords, or areas. Omit to list top-level destinations.

  • offer_idstring

    Optional preorder offer ID to scope results to that offer's editor sections and translations link.

  • offer_namestring

    Optional preorder offer name or internal name to scope results to that offer's deep links.

  • limitinteger

    Maximum number of matching destinations to return (1 to 50). Default 20.

    Default 20

Returns

  • resultsarray of objects
    Show 6 child attributesHide child attributes
    • pathstring
      Example: string
    • titlestring
      Example: string
    • descriptionstring
      Example: string
    • sectionstring
      Example: string
    • areastring
      Example: string
    • featurestring
      Example: string
  • totalinteger
    Example: 1
  • no_matchstring
    Example: string

Errors

422
invalid_params

One or more fields failed the action's schema.

422
validation_failed

The action refused the request for a reason that is not a single bad field.

Any request can also fail with auth_invalid (401) or rate_limited (429).

Every error has the same shape: see Errors and the list of error codes.

GET/account/navigation
curl "https://app.stoqapp.com/api/v2/external/account/navigation" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
{
  "results": [
    {
      "path": "string",
      "title": "string",
      "description": "string",
      "section": "string",
      "area": "string",
      "feature": "string"
    }
  ],
  "total": 1,
  "no_match": "string"
}