[docs:API] Add details about how to use promise in API Object