Add prompts to api.js