How to create content in draft mode through Rest APIs

As of 7th February, the field is written publishedAt and not published_at as said before. So you would do like this:

const body = {
 name: 'x',
 description: 'y',
 publishedAt: null
}
request("/endpoint", { method: “POST”, body })
1 Like