Skip to content

Retrieve a wordlist

GET/v1/wordlists/{id}Key scope read

Returns one wordlist by id, without its terms.

Needs a key with the read scope. Authentication

curl https://api.useinfrared.com/v1/wordlists/wl_5KcJIqikl2tXcuKJHvpzgO \
  -H "Authorization: Bearer $INFRARED_KEY"
200 OKResponse
{
  "object": "wordlist",
  "id": "wl_5KcJIqikl2tXcuKJHvpzgO",
  "project_id": "prj_0TBAgHGtdMketrbltGFHuk",
  "slug": "restricted-items",
  "policy": "wordlist/restricted-items",
  "name": "Restricted items",
  "description": null,
  "mode": "block",
  "match_preset": "similar",
  "language": null,
  "enabled": true,
  "entries_count": 3,
  "created_at": "2026-10-08T09:29:26.558Z",
  "updated_at": "2026-10-08T09:29:28.088Z"
}

Path parameters

idstringRequired

Id of the wordlist: wl_ plus 22 base62 characters.

Returns

The wordlist.

Errors

404
not_found

The key's project has no wordlist with this id, or the id is malformed.

Every endpoint can also answer the errors any request can meet: a missing key, a rate limit, a malformed body. Errors

Something missing or unclear on this page? Write to support@useinfrared.com.