Shengtao Li
10/23/2025, 7:36 PMAuthorization, < Project ID >:< Management Key > as bearer
I did that and construct the curl request.
But i am not sure what management key is? is it in the descope console anywhere?
also doing POST https://api.descope.com/v1/mgmt/audit/search
with {
"from": "2025-10-22T00:00:00Z"
}
gives me 400, E011001 Request is malformedMeir Wahnon
10/23/2025, 7:40 PMShengtao Li
10/23/2025, 7:40 PMMeir Wahnon
10/23/2025, 7:41 PMShengtao Li
10/23/2025, 7:42 PMcurl --location --request POST 'https://api.descope.com/v1/mgmt/audit/search' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <omitted>' \
--data-raw '{
"from": "2025-10-22T00:00:00Z"
}'Meir Wahnon
10/23/2025, 9:16 PMShengtao Li
10/23/2025, 9:16 PM{
"errorCode": "E011001",
"errorDescription": "Request is malformed"
}
400Meir Wahnon
10/23/2025, 9:18 PMShengtao Li
10/23/2025, 9:18 PMMeir Wahnon
10/23/2025, 9:20 PMShengtao Li
10/23/2025, 9:20 PMShengtao Li
10/23/2025, 9:20 PMMeir Wahnon
10/23/2025, 9:24 PMShengtao Li
10/23/2025, 9:30 PM