36 lines
920 B
YAML
36 lines
920 B
YAML
id: api-hubspot
|
|
|
|
info:
|
|
name: HubSpot API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://legacydocs.hubspot.com/docs/methods/owners/get_owners
|
|
metadata:
|
|
max-request: 2
|
|
tags: token-spray,hubspot
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.hubapi.com/owners/v2/owners?hapikey={{token}}"
|
|
- "https://api.hubapi.com/contacts/v1/lists/static?count=3&hapikey={{token}}"
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"portalId":'
|
|
- '"ownerId":'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"metaData":'
|
|
- '"portalId":'
|
|
condition: and
|
|
# digest: 490a0046304402202d9d252f0d8b0085a26265fbc5fa552f807d095394b41127971494d3382c2b6b022061acc2a5a6142ef4ee85fc60d8c3b097a1a6f9ed82bbbaf31b2da23da50b313f:922c64590222798bb761d5b6d8e72950 |