v3 API//
- Search for target items (audits or web journeys) for custom header assignment
Get all custom header groups
Create a custom header group
Get a custom header group by ID
Update a custom header group
Delete a custom header group by ID
Search for target items (...
POST /v3/custom-headers/target-items/{itemType}/search
Security
API_Key
non-empty array of labels present on an item, works as "item has all specified labels" filter
POST
curl -i -X POST \
'https://api.observepoint.com/v3/custom-headers/target-items/{itemType}/search?sortBy=IS_ASSIGNED&sortDesc=false&pageSize=100&page=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"customHeaderGroupId": 0,
"assignedToCustomHeaderGroup": true,
"itemName": "string",
"itemLabels": [
223
],
"folders": {
"folders": [
{
"folderId": 123,
"domains": [
123
]
}
]
}
}'Response
{ "metadata": { "totalCount": 0, "totalPageCount": 0, "pageSize": 0, "currentPageSize": 0, "currentPageNumber": 0 }, "items": [ { … } ] }