feat(configs): api call to save configuration