1Password interview question

Design an API with two endpoints