API Design · Junior · Question 57 of 75

Why might an API use a request ID header like X-Request-Id?

Explanation

Return the ID in responses (especially errors) and pass it on to downstream calls.

Further reading

Problem with a question

API Design · Junior · question 57

Test yourself

Take the API Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz