Fetch a post by its legacy or relative URL path
cURL
curl --request GET \ --url https://cds.thepublive.com/publisher/{publisher_id}/post/ \ --header 'Authorization: Basic <encoded-value>'
{ "status": "ok", "data": { "id": 12345, "title": "Union Budget 2026 Highlights", "slug": "union-budget-2026-highlights", "type": "Article", "primary_category": { "id": 100, "name": "Business", "slug": "business" }, "content_html": "<p>The Union Budget 2026 was presented today...</p>", "absolute_url": "/business/union-budget-2026-highlights-12345" }, "message": "" }
/news/my-article-12345
curl -X GET \ 'https://cds.thepublive.com/publisher/123/post/?legacy_url=/business/union-budget-2026-highlights-12345' \ -H 'Authorization: Basic <BASE64_AUTH_TOKEN>'
Was this page helpful?