2021-10-01 14:33:51 +00:00
|
|
|
id: api-hubspot
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: HubSpot API Test
|
|
|
|
author: zzeitlin
|
|
|
|
reference: https://legacydocs.hubspot.com/docs/methods/owners/get_owners
|
|
|
|
severity: info
|
2021-10-04 21:02:57 +00:00
|
|
|
tags: token-spray,hubspot
|
2021-10-01 14:33:51 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "https://api.hubapi.com/owners/v2/owners?hapikey={{token}}"
|
|
|
|
- "https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey={{token}}"
|
2021-10-01 20:46:16 +00:00
|
|
|
|
2021-10-01 14:33:51 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'error'
|
|
|
|
negative: true
|