Forum Discussion
MattV
6 years agoKhoros Staff
ian You can build more complex LiQL calls with this object: https://developer.khoros.com/khoroscommunitydevdocs/reference/restbuilder
Inactive User
6 years agoWould this be correct, then?
<#assign messagePostCall = restBuilder()
   .method("POST")
   .path("/subscriptions")
   .body({
            "type": "message",
            "board": {
             
                "id": "board-test"
            },
            "target": { 
                "type":"label",
                "id": "Jupiter"
                     }
        })
   .admin(true) />
<#assign resp = messagePostCall.call() />