Skip to main content
GET
/
api
/
v1
/
blogs
/
:id.json
Get Blog
curl --request GET \
  --url https://api.launchmystore.io/api/v1/blogs/:id.json \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "title": "<string>",
    "handle": "<string>",
    "commentable": "<string>",
    "articles_count": 123,
    "feedburner": "<string>",
    "feedburner_location": "<string>",
    "template_suffix": "<string>",
    "tags": [
      {}
    ],
    "metafields": [
      {}
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt

Use this file to discover all available pages before exploring further.

Get Blog

Returns a single blog by its ID.

Request

curl -X GET "https://api.launchmystore.io/api/v1/blogs/blog_abc123.json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Path Parameters

id
string
required
The unique blog ID

Query Parameters

include_metafields
boolean
default:"false"
Include blog metafields in response

Response

success
boolean
Whether the request succeeded
data
object
Blog object

Example Response

{
  "success": true,
  "data": {
    "id": "blog_abc123",
    "title": "News",
    "handle": "news",
    "commentable": "moderate",
    "articles_count": 24,
    "feedburner": null,
    "feedburner_location": null,
    "template_suffix": null,
    "tags": ["announcements", "product-updates", "tutorials", "company-news"],
    "created_at": "2024-01-01T10:00:00Z",
    "updated_at": "2024-03-15T14:30:00Z"
  }
}

Error Codes

CodeDescription
UNAUTHORIZEDInvalid or missing access token
FORBIDDENApp doesn’t have read_content scope
NOT_FOUNDBlog with the specified ID does not exist