I am using gmail api to modify some label for a certain message below
POST https://www.googleapis.com/gmail/v1/users/userId/messages/id/modify
but the google developer in https://developers.google.com/gmail/api/v1/reference/users/messages/modify did not state the need to pass in the access token, how do I pass the access token to the api to modify the label for the messsage?
Rgds
Vincent
You could either put it in a query parameter:
Or in the Authorization header: