Service Catalog API - GET /sn_sc/servicecatalog/catalogs

This method retrieves a list of catalogs to which the user has access.

URL format

Versioned URL: /api/sn_sc/v1/servicecatalog/catalogs

Default URL: /api/sn_sc/servicecatalog/catalogs

Supported request parameters

Table 1. Parameters
Parameter Description
sysparm_limit Specify the number of entities in the response. This value applies to categories and items.
sysparm_text Specify query text for search support. (Required)
sysparm_view Specify the device to display the item (desktop, mobile, or both).


The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.

Table 2. Request headers
Header Description
Table 3. Response headers
Header Description

Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST response codes .

Table 4. Status codes
Status code Description
200 Indicates that the request completed successfully. If a valid query returned no results, the response body contains only an empty result array.

Sample cURL request

curl "" \
--request GET \
--header "Accept:application/json" \
--user 'admin':'admin'
  "result": [
      "title": "Technical Catalog",
      "sys_id": "742ce428d7211100f2d224837e61036d",
      "has_categories": true,
      "has_items": true,
      "description": "Products and services for the IT department",
      "desktop_image": "7a7c8271475211002ee987e8dee4906d.iix"
      "title": "Service Catalog",
      "sys_id": "e0d08b13c3330100c8b837659bba8fb4",
      "has_categories": true,
      "has_items": true,
      "description": "Service Catalog - IT Now",
      "desktop_image": "adbcc271475211002ee987e8dee49001.iix"

Sample Python request

#Need to install requests package for python
#easy_install requests
import requests

# Set the request parameters
url = ''

# Eg. User name="admin", Password="admin" for this code sample.
user = 'admin'
pwd = 'admin'

# Set proper headers
headers = {"Content-Type":"application/json","Accept":"application/json"}

# Do the HTTP request
response = requests.get(url, auth=(user, pwd), headers=headers )

# Check for HTTP codes other than 200
if response.status_code != 200:
    print('Status:', response.status_code, 'Headers:', response.headers, 'Error Response:',response.json())

# Decode the JSON response into a dictionary and use the data
data = response.json()