You can forward cookies from the client to the api using the following snippet:
const cookieStore = await cookies(); headers: { Cookie: cookieStore.toString(), }