Hi - the GUI for launch is a bit limiting when it comes to searching for items, or listing out large numbers of items. This is particularly bad when trying to search through the audit logs.
As such, I figured I'd use the API to get the full list of audit logs - this one: Launch Documentation
I've set up the IO integration, and generated all the necessary tokens.
I've filled out all the fields in the example request:
curl https://mc-api-activation-reactor-integration.adobe.io/audit_events \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Bearer [TOKEN]" \
-H "X-Api-Key: [KEY]" \
-X GET
However, when I send the request I get the following:
{
"errors": [
{
"status": "403",
"code": "oauth-token-required",
"title": "Oauth token is missing",
"meta": {
"request_id": "**********n4MYwbXONMB2**********"
}
}
]
}
I'm not very experienced with APIs, and I'm sure it's something obvious I'm missing, but I don't know how to generate the OAuth token or how tto reference it once I do. And it's not mentioned in the documentation.
Thanks
Matt