insert already existing ticket thread

insert already existing ticket thread

How to insert already existing ticket thread data through API with passing XML data...
Is there any API available ?
can you help me..?