Skip to main content
GET
/
api
/
v1
/
articles
/
{id}
Get a single article by ID or slug
curl --request GET \
  --url https://www.suprsonic.com/api/v1/articles/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "customer_avatar_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "category": "opinion_piece",
    "title": "<string>",
    "slug": "<string>",
    "content": "<string>",
    "meta_description": "<string>",
    "hero_image_url": "<string>",
    "tags": [
      "<string>"
    ],
    "status": "draft",
    "publish_date": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "customer_avatars": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "cta_headline": "<string>",
      "cta_subheadline": "<string>",
      "cta_button": "<string>",
      "cta_url": "<string>"
    },
    "_links": {
      "self": "<string>",
      "account": "<string>",
      "related": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Admin API key for managing accounts and creating content

Path Parameters

id
string
required

Article UUID or slug

Response

Article retrieved successfully

success
boolean
Example:

true

data
object