---
title: "Get an article"
method: GET
path: "/api/articles/{idOrSlug}"
tags: ["Articles"]
---

# Get an article

`GET /api/articles/{idOrSlug}`

## Request

- Base URL: `https://www.polyblog.io`
- URL: `https://www.polyblog.io/api/articles/{idOrSlug}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Returns a single article by id or slug. Requires the `articles:read` scope. An article belonging to another organization responds 404 so ids cannot be probed. Anonymous callers can only read a published article; a draft responds 404 unless the caller is an API key or operator token of the owning organization.

## Path parameters

- `idOrSlug` string, required

## Response `200`

The article

## Other responses

- `404`: Not found (or owned by another organization / unpublished)

---

[API](https://skmtc.dev/polyblog/apis/polyblog-api.md) · [All operations](https://skmtc.dev/polyblog/apis/polyblog-api/llms.txt) · [OpenAPI document](https://skmtc.dev/polyblog/apis/polyblog-api/revisions/b0d2db9337ab?raw)
