(Automatically) add forwarding email addresses in Google Workspace accounts


I’m trying to automatically get forwarding addresses setup in Google Workspace accounts… Didn’t get it to work with Gmail API, neither with HTML2 API connector.
https://gmail.googleapis.com/v1/users/{{1.EmailIDVariable}}/settings/forwardingAddresses with Google API Http gets me an unknown URL error.
/gmail/v1/users/{{37.CasaParentsEmail}}/settings/forwardingAddresses with Google Workspace Admin gets me an ‘authorization scope’ error.
Anyone here having more luck who can point me in the right direction?

Thanks! Niek.

@niekt You need to make sure you set the right scope when creating the oAuth2 connection for your API calls. This API call you are trying to do requires

1 Like