Skip to main content
GET
/
blog_posts
/
{slug}
Get blog details
curl --request GET \
  --url https://{your-workspace}.neetopublish.com/api/external/v1/blog_posts/{slug} \
  --header 'X-Api-Key: <x-api-key>'
{
  "blog_post": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "state": "<string>",
    "slug": "<string>",
    "title": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "content": "<string>",
    "published_at": "2023-11-07T05:31:56Z",
    "archived": true,
    "publication_date": "2023-11-07T05:31:56Z",
    "page_title": "<string>",
    "meta_description": "<string>",
    "keywords": "<string>",
    "published_blog_post_updated_at": "2023-11-07T05:31:56Z",
    "blog_post_slug": "<string>",
    "cover_image_url": "<string>",
    "published_by": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "profile_image_url": "<string>"
    },
    "author": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "email": "<string>",
      "profile_image_url": "<string>"
    }
  }
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

slug
string
required

URL-friendly version of the blog's title. It usually contains only lowercase letters, numbers, and hyphens. For example, if your blog title is My First Blog Post, the slug could be my-first-blog-post.

Response

200 - application/json

OK - Request succeeded

blog_post
object