---
updatedAt: 2025-09-18T22:00:52.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# List Priorities

This API call returns a list of all the priorities in the network, along with a list of priorities that belong to the "Channel ID."

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "management-api-2",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.kevel.co"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Adzerk-ApiKey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/priority": {
      "get": {
        "summary": "List Priorities",
        "description": "This API call returns a list of all the priorities in the network, along with a list of priorities that belong to the \"Channel ID.\"",
        "operationId": "list-priorities-1",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"page\": 1,\n    \"items\": [\n        {\n            \"id\": 98765,\n            \"name\": \"High Priority\",\n            \"channelId\": 12345,\n            \"weight\": 1,\n            \"isDeleted\": false\n        },\n        .....\n\t\t]\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X GET -H \"X-Adzerk-ApiKey:$ADZERK_API_KEY\" \"https://api.kevel.co/v1/priority\""
            },
            {
              "language": "javascript",
              "code": "const Adzerk = require('@adzerk/management-sdk');\nconst apiKey = process.env.ADZERK_API_KEY;\n\nasync function listPriorities() {\n  let specifications = await Adzerk.fetchSpecifications();\n  let client = await Adzerk.buildClient({apiKey, specifications});\n\n  let priorities = await client.run(\"priority\", \"list\");\n  console.log(priorities);\n\n  let names = priorities.items.map(a => a.name)\n  console.log(names);\n}\n\nlistPriorities();"
            },
            {
              "language": "ruby",
              "code": "require \"adzerk\"\n\ndef list_priorities()\n    client = Adzerk::Client.new(ENV[\"ADZERK_API_KEY\"])\n    pp client.priorities.list()\nend\nlist_priorities()"
            }
          ],
          "samples-languages": [
            "curl",
            "javascript",
            "ruby"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "X-Adzerk-Sdk-Version",
        "value": "Readme.io:ManagementAPI2"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```