analytics-2.0-apis
analytics-2.0-apis copied to clipboard
Report suites API header values
Issue in /src/pages/guides/endpoints/vrs/index.md
tldr; How should I make the request to get the report suite id's available for a given company?
I am looking at the docs for the Report suites API. I can see what the url needs to be to make this request, but I do not know what the headers should be. Some of the other guides are more specific about the x-api-key value. What should the headers be to make this request?
There are only two required headers:
- The
x-api-key
is the client ID in the Adobe developer console. - The
Authorization
header is the access token you generate, or you can snag the one generated using the API Reference 'Try it out' feature.
See the getting started guide for more information: https://github.com/AdobeDocs/analytics-2.0-apis/blob/main/src/pages/guides/index.md
Thank you for this. I am not clear on “the access token you generate” means. Is this the access token that is returned when I send the JWT? Or is it the JWT that I generate? Or is it an oauth token?
On Mon, Nov 14, 2022 at 6:04 PM Russ Whitchurch @.***> wrote:
There are only two required headers:
- The x-api-key is the client ID in the Adobe developer console.
- The Authorization header is the access token you generate, or you can snag the one generated using the API Reference 'Try it out' feature.
See the getting started guide for more information: https://github.com/AdobeDocs/analytics-2.0-apis/blob/main/src/pages/guides/index.md
— Reply to this email directly, view it on GitHub https://github.com/AdobeDocs/analytics-2.0-apis/issues/334#issuecomment-1314521110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2SLRVFTIRLLLNAOFVE4FTWILARHANCNFSM6AAAAAAR44SO2M . You are receiving this because you authored the thread.Message ID: @.***>
JWT and OAuth are separate authentication methods. Regardless of which authentication method you choose, they both require an Authentication
header.
See the docs on OAuth authentication or JWT authentication, depending on which authentication method meets your organization's use case.
We recently released a new OAuth server to server type which is much simpler to use than JWT. Docs can be found here: https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication/#oauth-server-to-server-credential