---
title: "POST /api/v1/admin/blogs/featured-image"
method: POST
path: "/api/v1/admin/blogs/featured-image"
tags: ["platformAdmin"]
---

# POST /api/v1/admin/blogs/featured-image

`POST /api/v1/admin/blogs/featured-image`

## Request

- Base URL: `https://api.clerkchat.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clerkchat.co/api/v1/admin/blogs/featured-image`
- Auth: none required

## Request body

- object
  - `fileName` string, required
  - `contentType` string, required
  - `fileSizeBytes` union, required
    - number
    - 'Infinity' | '-Infinity' | 'NaN'
  - `fileBase64` string, required
  - `alt` string, required

## Response `200`

AdminBlogFeaturedImage

- AdminBlogFeaturedImageEncoded
  - `mediaId` union, required
    - number
    - 'Infinity' | '-Infinity' | 'NaN'

## Other responses

- `400`: BadRequest
- `401`: Unauthorized
- `403`: Forbidden
- `503`: PersistenceUnavailable

---

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