cURL
curl --request GET \ --url https://api.crevio.co/v1/blog_posts/{prefix_id} \ --header 'Authorization: <api-key>'
{ "id": 123, "title": "<string>", "slug": "<string>", "content": "<string>", "status": "draft", "indexable": true, "excerpt": "<string>", "url": "<string>", "publishedAt": "2023-11-07T05:31:56Z", "scheduledAt": "2023-11-07T05:31:56Z", "prefixId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "category": { "id": 123, "name": "<string>", "slug": "<string>", "description": "<string>", "blogPostsCount": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }, "seo": { "title": "<string>", "description": "<string>", "keywords": "<string>" }, "featuredImage": { "id": 123, "sourceType": "<string>", "url": "<string>", "provider": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "file": { "filename": "<string>", "contentType": "<string>", "byteSize": 123, "createdAt": "2023-11-07T05:31:56Z", "signedId": "<string>", "src": "<string>", "srcSet": "<string>" }, "contentType": "<string>", "embedHtml": "<string>" }, "socialMediaImage": { "id": 123, "sourceType": "<string>", "url": "<string>", "provider": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "file": { "filename": "<string>", "contentType": "<string>", "byteSize": 123, "createdAt": "2023-11-07T05:31:56Z", "signedId": "<string>", "src": "<string>", "srcSet": "<string>" }, "contentType": "<string>", "embedHtml": "<string>" } }
Returns a specific published blog post
API key in the format: Bearer {api_token}
The resource prefix ID
Blog post details
draft
published
scheduled
Show child attributes
Featured image for the blog post
Social media sharing image for the blog post
Was this page helpful?