I have an API with a 2 step sign-up flow:
- user requests a new account (
POST
with some account information in the body) - user confirms the account (
POST
with a verification code received via text or email)
I'm thinking the response status codes for these steps should be:
- 202 Accepted
- 201 Created
Is this an appropriate use of 202 Accepted
?