# Api

You can manipulate the widget through our api.

# Init widget

changelogfy.init({
  selector: ".changelogfy-widget",
  app_id: "API TOKEN",
});

# Open widget

changelogfy.open();

# Close widget

changelogfy.close();

# Destroy widget

changelogfy.destroy();

# Logout

changelogfy.logout(); // clear all data created from changelogfy