add receiver info to api.js