---
title: "/codes"
method: GET
path: "/codes"
---

# /codes

`GET /codes`

## Request

- Base URL: `https://api.securevan.com/v4`
- URL: `https://api.securevan.com/v4/codes`
- Auth: HTTP basic

Use this endpoint to find Codes available in the current context using a number of filter options.

By default, this endpoint returns 50 records per request. A maximum of 200 records per request is allowed via the `$top` parameter.

The only valid expansion property is: `supportedEntities`.

The only valid `orderby` property is: `dateModified`.

## Query parameters

- `supportedEntities` string
- `name` string
- `parentCodeId` integer
- `codeType` string
- `$expand` string
- `$orderby` string

## Response `200`

200

- object
  - `items` object[]
    - `codeId` integer
    - `parentCodeId` integer
    - `name` string
    - `codeType` string
    - `dateCreated` string
    - `dateModified` string
    - `supportedEntities` object[]
      - `name` string
      - `isSearchable` boolean
      - `isApplicable` boolean
  - `nextPageLink` string
  - `count` integer

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `4f2049fba5af`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ngpvan/apis/van-crm/changes/codes/get.md)

---

[API](https://skmtc.dev/ngpvan/apis/van-crm.md) - [All operations](https://skmtc.dev/ngpvan/apis/van-crm/llms.txt) - [OpenAPI document](https://skmtc.dev/ngpvan/apis/van-crm/revisions/4f2049fba5af?raw)
