Create a new post Discourse API doesn't directly support the automatic title and body filling from a link

When a new topic is created and the links is pasted into the title field the body and title is filled automatically. how can i create a new topic through the discourse API to use this feature ?