Skip to main content
GET
/
api
/
v1
/
blogs
/
:blog_id
/
articles
/
:id.json
Get Article
curl --request GET \
  --url https://api.launchmystore.io/api/v1/blogs/:blog_id/articles/:id.json \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "blog_id": "<string>",
    "title": "<string>",
    "handle": "<string>",
    "author": "<string>",
    "user_id": "<string>",
    "body_html": "<string>",
    "summary_html": "<string>",
    "published": true,
    "published_at": "<string>",
    "tags": "<string>",
    "template_suffix": "<string>",
    "image": {},
    "seo": {},
    "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 Article

Returns a single article by its ID.

Request

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

Path Parameters

blog_id
string
required
The unique blog ID
id
string
required
The unique article ID

Query Parameters

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

Response

success
boolean
Whether the request succeeded
data
object
Article object

Example Response

{
  "success": true,
  "data": {
    "id": "art_xyz789",
    "blog_id": "blog_abc123",
    "title": "Summer Product Launch Announcement",
    "handle": "summer-product-launch-announcement",
    "author": "Jane Smith",
    "user_id": "user_jsmith",
    "body_html": "<p>We're excited to announce our new summer collection featuring lightweight fabrics and vibrant colors.</p><p>Shop now and enjoy 20% off all new arrivals with code SUMMER20.</p>",
    "summary_html": "<p>Introducing our latest summer styles with 20% off.</p>",
    "published": true,
    "published_at": "2024-03-15T10:00:00Z",
    "tags": "summer, announcements, new-arrivals",
    "template_suffix": null,
    "image": {
      "id": "img_art123",
      "src": "https://cdn.launchmystore.io/images/summer-launch.jpg",
      "alt": "Summer Collection Launch",
      "width": 1200,
      "height": 630
    },
    "seo": {
      "title": "Summer Collection Launch | MyStore Blog",
      "description": "Discover our new summer collection with 20% off all new arrivals."
    },
    "created_at": "2024-03-14T09:00:00Z",
    "updated_at": "2024-03-15T10:00:00Z"
  }
}

Error Codes

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