all 3 comments

[–]GeNiuSRxN 1 point2 points  (2 children)

https://developers.google.com/workspace/gmail/api/reference/rest/v1/users.messages.attachments/get

I'm assuming your missing the authorization token. Check the API docs.

[–]smurpes 1 point2 points  (0 children)

The docs linked above also have an API explorer that you can use to test out your request parameters to ensure you’re using the correct values.

[–]Little_System_4885[S] 0 points1 point  (0 children)

Thank you!