[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# May I ask how to obtain the request ID in the code?

201 views · 0 likes · 2 posts


aide (@androidide-team) · 2024-08-22

I want to include the request ID in my body when making a request


Pauline P. Narvas (@pawlean) · 2024-08-22

Hi, and welcome @androidide-team!

Could you us more information on your project? Are you using Next.js? Maybe these docs will help:
https://nextjs.org/docs/pages/building-your-application/routing/api-routes 


https://vercel.com/docs/concepts/functions/serverless-functions/using-serverless-functions#default-headers