GET
/partner-api/inspectionsQuery inspections
Explore the query inspections endpoint, including request parameters and response details.
Parameters
1 parameterqstringoptionalJSON query criteria encoded with encodeURIComponent. The fields below describe the decoded JSON object.
DECODED QUERY FIELDS
q.where.typestring[]Filter by inspection type.
q.where.brandIdnumber[]Filter by accessible brand IDs.
q.where.fromDatestringStart of the time range, in ISO 8601 format.
q.where.toDatestringEnd of the time range, in ISO 8601 format.
q.where.inspectionUrlobjectMatch the inspection URL, including fuzzy matching.
q.where.associationStatusstringFilter by associated or unassociated.
q.paginationobjectPagination: current page and pageSize; defaults are 1 and 20.
EXAMPLE BEFORE ENCODING
{
"where": {
"brandId": [
1
],
"associationStatus": "associated"
},
"pagination": {
"current": 1,
"pageSize": 10
}
}Encode this JSON with encodeURIComponent(JSON.stringify(q)) before sending it as the q parameter.
Responses
Successful responses200OK
responsepartnerInspectionResponseoptionaldatapartnerInspectionAudit[]optionalinspectionIdintegeroptionalexternalRefstringoptionaltypestringoptionalbrandIdintegeroptionalinspectionUrlstringnulloptionalinspectionUrlMD5stringnulloptionallastHistoryIdintegernulloptionalcreatedAtstringoptionalupdatedAtstringoptionalremarksstringnulloptionalstatusstringoptionaltagstag[]optionaltagIdintegeroptionalnamestringoptionalplatformstringoptionalplatformNamestringnulloptionalplatformIdstringnulloptionalplatformAccountNamestringnulloptionalmobileAppsmobileAppAttachment[]optionaluidstringoptionalnamestringoptionalurlstringoptionalsizeintegeroptionallocationstringoptionalexternalRefstringoptionalfileMd5stringoptionalfileSha1stringoptionalfileSha256stringoptionalcertOwnerstringoptionalcertIssuerstringoptionalcertMd5stringoptionalcertSha1stringoptionalcertSha256stringoptionalwhitelistedAppbooleanoptionalmanualScreenshotbooleanoptionallastInspectionTimestringnulloptionalriskScoreintegernulloptionalassociationsSummarypartnerInspectionAssociationSummaryoptionalredirectCountintegeroptionaldownloadCountintegeroptionaltotalAssociationCountintegeroptionalpaginationpaginationoptionaltotalintegeroptionalTotal number of records (unpaginated) based on the query criteria.
pageSizeintegeroptionalPage size. Default page size is applied if not specified. Maximum 100.
currentintegeroptionalCurrent page starting from 1.
NOTHINGPHISHY API REFERENCE
