API Testing Interview Preparation
API testing questions appear in almost every QA automation interview. They check whether you understand HTTP, status codes and what a meaningful API assertion looks like.
practice-questions
question 01 / 260/0 correct so far
What is the difference between HTTP status 401 and 403?
coding-challenges
1
Design the test list for an endpoint
You are given POST /api/contacts (creates a contact; requires auth; name and email are mandatory). Write down the 5 tests you would automate first, with the expected status code for each.
2
Write the happy-path test
Write a Playwright API test for POST /api/contacts: send valid data, assert status 201 and that the response contains the sent name and a generated id.
other-tracks
practise it out loud
Try a free mock interview
Answer questions from an interviewer who follows up on what you say. Then write a test in the editor. We run it against a copy of the app with a bug planted on purpose.
See how the mock interview works