Comments
Query comments
POST
/
comment
/
query
Query comments
curl --request POST \
--url https://{instance}/api/v2/comment/query \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"filter": "<string>",
"page": 123,
"pageSize": 123,
"orderBy": "<string>",
"select": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filter: '<string>',
page: 123,
pageSize: 123,
orderBy: '<string>',
select: ['<string>']
})
};
fetch('https://{instance}/api/v2/comment/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{instance}/api/v2/comment/query"
payload = {
"filter": "<string>",
"page": 123,
"pageSize": 123,
"orderBy": "<string>",
"select": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)⌘I
Query comments
curl --request POST \
--url https://{instance}/api/v2/comment/query \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"filter": "<string>",
"page": 123,
"pageSize": 123,
"orderBy": "<string>",
"select": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filter: '<string>',
page: 123,
pageSize: 123,
orderBy: '<string>',
select: ['<string>']
})
};
fetch('https://{instance}/api/v2/comment/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{instance}/api/v2/comment/query"
payload = {
"filter": "<string>",
"page": 123,
"pageSize": 123,
"orderBy": "<string>",
"select": ["<string>"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)