22 lines
489 B
YAML
22 lines
489 B
YAML
id: api-hubspot
|
|
|
|
info:
|
|
name: HubSpot API Test
|
|
author: zzeitlin
|
|
reference: https://legacydocs.hubspot.com/docs/methods/owners/get_owners
|
|
severity: info
|
|
tags: token-spray,hubspot
|
|
|
|
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}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'error'
|
|
negative: true
|