> ## 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

> Retrieve a single article

# Get Article

Returns a single article by its ID.

## Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.launchmystore.io/api/v1/articles/art_xyz789.json" \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://api.launchmystore.io/api/v1/articles/art_xyz789.json', {
    headers: {
      'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
    }
  });
  ```
</CodeGroup>

Requires the `read_content` scope.

## Path Parameters

<ParamField path="id" type="string" required>
  The unique article ID
</ParamField>

## Response

The response uses the standard envelope. The article object is returned under `data.article`.

<ResponseField name="status" type="integer">
  HTTP status code (e.g. `200`)
</ResponseField>

<ResponseField name="state" type="string">
  Result state, e.g. `success`
</ResponseField>

<ResponseField name="data" type="object">
  Wrapper object containing the article

  <Expandable title="data.article">
    <ResponseField name="blogId" type="string">
      Unique article ID (UUID)
    </ResponseField>

    <ResponseField name="id" type="string">
      Short numeric article ID
    </ResponseField>

    <ResponseField name="blogsPageId" type="string">
      Parent blog ID
    </ResponseField>

    <ResponseField name="name" type="string">
      Article name
    </ResponseField>

    <ResponseField name="title" type="string">
      Article title
    </ResponseField>

    <ResponseField name="handle" type="string">
      URL-safe article handle
    </ResponseField>

    <ResponseField name="content" type="string">
      Article content (HTML)
    </ResponseField>

    <ResponseField name="image" type="string">
      Featured image URL
    </ResponseField>

    <ResponseField name="link" type="string">
      External link (if set)
    </ResponseField>

    <ResponseField name="tags" type="array">
      Tags array
    </ResponseField>

    <ResponseField name="templateSuffix" type="string">
      Custom template suffix
    </ResponseField>

    <ResponseField name="seoTitle" type="string">
      SEO title
    </ResponseField>

    <ResponseField name="seoDesc" type="string">
      SEO description
    </ResponseField>

    <ResponseField name="seoImage" type="string">
      SEO image URL
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      Creation timestamp (ISO 8601)
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      Last update timestamp (ISO 8601)
    </ResponseField>
  </Expandable>
</ResponseField>

## Example Response

```json theme={null}
{
  "status": 200,
  "state": "success",
  "message": null,
  "data": {
    "article": {
      "blogId": "art_xyz789",
      "id": "739204",
      "blogsPageId": "blog_abc123",
      "name": "Summer Product Launch Announcement",
      "title": "Summer Product Launch Announcement",
      "handle": "summer-product-launch-announcement",
      "content": "<p>We're excited to announce our new summer collection featuring lightweight fabrics and vibrant colors.</p>",
      "image": "https://cdn.launchmystore.io/images/summer-launch.jpg",
      "link": null,
      "tags": ["summer", "announcements", "new-arrivals"],
      "templateSuffix": null,
      "seoTitle": "Summer Collection Launch | MyStore Blog",
      "seoDesc": "Discover our new summer collection with 20% off all new arrivals.",
      "seoImage": null,
      "createdAt": "2024-03-14T09:00:00.000Z",
      "updatedAt": "2024-03-15T10:00:00.000Z"
    }
  }
}
```

## Error Codes

| Code           | Description                                  |
| -------------- | -------------------------------------------- |
| `UNAUTHORIZED` | Invalid or missing access token              |
| `FORBIDDEN`    | App doesn't have `read_content` scope        |
| `NOT_FOUND`    | Article with the specified ID does not exist |
