Add images to API posts

How to add pictures or file to an upcoming topic?