added config to api for todoist