cURL
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>" } } }
Retrieve a single article by its UUID or slug. The article access is determined by the authentication:
Authenticated Access:
Public Access (from valid domains):
Admin API key for managing accounts and creating content
Article UUID or slug
Article retrieved successfully
true
Show child attributes
Was this page helpful?