How to POST JSON array to Elastic Search

Hi ,
I am also facing the similar challenge.

The data I have looks similar to this -

{"totalName":2,"names":[{"name":"name1"},{"name":"name2"}]}

I understand the approach you proposed works, but is it efficient to make separate REST call for each document when we have an array of more than 10k documents ?

Note - I understand that there is one way ; use Bulk API but I could not find a way to post the Array of JSON Documents via that where each document in array will be treated as a different document.

Thanks in advance .