The ticket API is for opening new tickets, not importing old ones.
You would probably better off writing your own import script, or talking to to the folks at osTicket to see if they have a way to bulk import tickets,
You can reach them here:
https://osticket.com/contact-us/