I have tried the API again today but failed. It gives me the following error:
{
“message”: “Invalid scope(s) provided.”
}
I tried the following request:
curl --request GET \
--get "https://app.startinfinity.com/api/v2/workspaces" \
--header "Authorization: Bearer $infinitytoken" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
Is there an error in my code or the API specs haven’t been updated on how to use the “Scope”?