---
title: "Initial letters of the alphabetical index"
method: GET
path: "/{vocid}/index/"
tags: ["Vocabulary-specific methods"]
---

# Initial letters of the alphabetical index

`GET /{vocid}/index/`

Returns a list of the initial letters of labels (skos:prefLabel, skos:altLabel) in the given language, or the default language of the vocabulary. The special value "0-9" indicates the presence of labels starting with a number and the value "!*" indicates labels starting with a special character.

## Path parameters

- `vocid` string, required

## Query parameters

- `lang` string

## Response `200`

initial letters of the alphabetical index

## Other responses

- `304` — the resource was not modified, so there is no need to retransmit the requested resources
- `404` — no vocabulary could be found with the requested id

## Changes

- **2020-05-14** `e2a83efe04db` — 1 info
  - endpoint added
- **2020-05-14** `4415daa2b2fa` — 1 breaking
  - api path removed without deprecation
- **2020-05-07** `1f76fb9558eb` — 1 info
  - added the non-success response with the status `304`
- **2020-05-05** `f9fe4114f733` — 1 info
  - endpoint added
- **2016-05-12** `edc7f0ce1476` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/natlibfi/apis/skosmos-api/changes/:vocid/index/get.md)

---

[API](https://skmtc.dev/natlibfi/apis/skosmos-api.md) · [All operations](https://skmtc.dev/natlibfi/apis/skosmos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/natlibfi/skosmos-api/revisions/1ad5811c7a3e/schema)
