Unable to run API call in JSM VA Intent

Hi everyone,

My first post in this community, I hope someone can help.

I am trying to configure a Send Web Request step in a JSM Virtual Agent Intent that returns objects from Assets that meet a particular AQL query.

I can make the call in Postman and get the results I want but the call fails in the intent.

The POST call I am using is:
https://api.atlassian.com/jsm/assets/workspace/{workspace id}/v1/object/aql?startAt=0&maxResults=50&includeAttributes=true

In the body I have:

{
“qlQuery”: “"Application Group" = true”
}

I have a couple of web request steps that work fine, using the same authentication. The only difference being they are GET requests not POST.

Any ideas where it is going wrong?

Cheers.