Skip to content

What's the right scope for authorising listEmails()? #482

Closed Answered by valmoz
maxi1187 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @maxi1187
yes, unfortunately, the emails:r scope is missing in our OpenAPI spec and also in our SDKs, we'll add it in the next SDKs releases.
In the meantime, I suggest you use this approach:

  • First, try with our API Reference to check if everything is working as expected
  • Then, you can add the scope as a custom string in the OAuth 2.0 call. The scopes listed in our SDKs are just a way to make your job easier, but they are just strings you can avoid using if you want.

At this moment, I confirm there's no such parameter. you can though check if the Webhooks functionality can help you with that, since the email_sent events are listed: Notification Types.

The e-invoice and the email ar…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@maxi1187
Comment options

@valmoz
Comment options

@maxi1187
Comment options

Answer selected by maxi1187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants