Skip to main content
Question

Is it possible to get teh idof a draft article via API?

  • April 15, 2025
  • 1 reply
  • 15 views

Alistair FIeld
Forum|alt.badge.img+4

As per the title… 

 

Am I able to use the API to obtain the ID of draft articles?

We want to get the ID to externally keep as a reference with the content management system.

1 reply

Kenneth R
Forum|alt.badge.img+5
  • Expert ⭐️⭐️
  • April 15, 2025

Hi ​@Alistair FIeld ! I honestly haven’t tried it, but I believe that this ‘list articles’ endpoint (or the list unified topics endpoint) will get you what you need.  It returns ‘status’, so you can sort drafts from published articles, and it includes both of the IDs (public and private).