1Password Interview Question

Design an API with two endpoints