Get 401 while getting api .mp4 link

can you send me a request sample how i can get the token on api call please??