# Get a blog article

Fetches a blog article. Works with Shopify, WordPress, Wix and Webflow accounts.

```http
GET https://api.pozy.ai/v1/accounts/{accountId}/blogs/{blogId}/articles/{articleId}
```

- Area: Publishing / Blogs
- Auth: Authorization: Bearer pz_live_...

## Path parameters

- `accountId` (string, required)
- `blogId` (string, required)
- `articleId` (string, required)

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/blogs/652782a6c235ab5a16404097/articles/6c3628848bcba815158b0948" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/blogs/652782a6c235ab5a16404097/articles/6c3628848bcba815158b0948", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/blogs/652782a6c235ab5a16404097/articles/6c3628848bcba815158b0948",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `platform`, string: One of `shopify`, `wordpress`, `wix`, `webflow`
- `article`, object
  - `id`, string
  - `blogId`, string
  - `platform`, string: One of `shopify`, `wordpress`, `wix`, `webflow`
  - `title`, string
  - `bodyHtml`, string: Can be null
  - `handle`, string
  - `url`, string: Can be null
  - `tags`, array of string
  - `author`, string: Can be null
  - `excerpt`, string: Can be null
  - `image`, object: Can be null
    - `url`, string
    - `altText`, string: Can be null
  - `isPublished`, boolean
  - `publishedAt`, string (date-time): Can be null
  - `status`, string: One of `publish`, `future`, `draft`, `pending`, `private`
  - `publishDate`, string (date-time): Can be null
  - `createdAt`, string (date-time): Can be null
  - `updatedAt`, string (date-time): Can be null

```json
{
  "platform": "shopify",
  "article": {
    "id": "6bfebd43ddc270f6d2c56fc5",
    "blogId": "652782a6c235ab5a16404097",
    "platform": "shopify",
    "title": "Launch day",
    "bodyHtml": "string",
    "handle": "acme",
    "url": "https://pozy.ai/media/example-1.jpg",
    "tags": [
      "string"
    ],
    "author": "string",
    "excerpt": "string",
    "image": {
      "url": "https://pozy.ai/media/example-1.jpg",
      "altText": "Hello from Pozy"
    },
    "isPublished": true,
    "publishedAt": "2026-10-02T09:00:00.000Z",
    "status": "publish",
    "publishDate": "2026-10-02T09:00:00.000Z",
    "createdAt": "2026-10-02T09:00:00.000Z",
    "updatedAt": "2026-10-02T09:00:00.000Z"
  }
}
```
