Interview practice question
Adding a required field to an API
Backend Engineering · API Design · Beginner
Product wants to make a new field, "phone_number", required when creating customers. Existing clients don't send it. What do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Making it required breaks existing clients.
- Add as optional first.
- New clients send it; encourage adoption.
- Require in new API version.
- Communicate timeline.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.