---
title: "Get Blog By Slug"
method: GET
path: "/v1/blog/{slug}"
tags: ["blog"]
---

# Get Blog By Slug

`GET /v1/blog/{slug}`

## Path parameters

- `slug` string, required

## Response `200`

Successful Response

- BlogResponse
  - `id` integer, required
  - `title` string, required
  - `slug` string, required
  - `content` string, required
  - `excerpt` string, nullable, required
  - `author_id` integer, required
  - `author` AuthorInfo, required
    - `id` integer, required
    - `email` string, required
    - `first_name` string, nullable, required
    - `last_name` string, nullable, required
  - `status` 'DRAFT' | 'PUBLISHED' | 'ARCHIVED', required
  - `meta_title` string, nullable, required
  - `meta_description` string, nullable, required
  - `meta_keywords` string, nullable, required
  - `og_image` string, nullable, required
  - `card_desktop_image` string, nullable, required
  - `card_mobile_image` string, nullable, required
  - `cta_enabled` boolean
  - `cta_title` string, nullable
  - `cta_description` string, nullable
  - `cta_button_text` string, nullable
  - `cta_button_url` string, nullable
  - `cta_secondary_text` string, nullable
  - `cta_secondary_url` string, nullable
  - `cta_benefits` string, nullable
  - `faq` FaqItem[], nullable
    - `question` string, required
    - `answer` string, required
  - `related_posts` string[], nullable
  - `published_at` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `comment_count` integer

## Other responses

- `422` — Validation Error

---

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