How to tell auth0 im authenticated in Rest client file

So I want to make a post request to my nextJS backend and the route i am making the req to a protected route so in my Rest client file ( I need to tell auth0 im authenticated but i do not know how to do that.

POST http://localhost:3000/api/video
Content-Type: application/json
Authorization: Bearer cookie

    "title": "Video",
    "description": "Video description"

import { withApiAuthRequired, getSession } from “@auth0/nextjs-auth0”;
import Video from “…/…/database/models/Video”;

export default withApiAuthRequired(async function handler(req, res) {
if (req.method === “POST”) {
try {
const { user } = getSession(req, res);

  const newVideo = new Video({
    title: req.body.title,
    description: req.body.description,
    ownerId: user.sub,


} catch (error) {
  res.status(500).json({ error: error.message });