24 lines
569 B
YAML
24 lines
569 B
YAML
id: api-iterable
|
|
|
|
info:
|
|
name: Iterable API Test
|
|
author: zzeitlin
|
|
reference: https://api.iterable.com/api/docs
|
|
severity: info
|
|
tags: token-spray,iterable
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "https://api.iterable.com/api/export/data.json?dataTypeName=emailSend&range=Today&onlyFields=List.empty"
|
|
headers:
|
|
Api_Key: "{{token}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
negative: true
|
|
words:
|
|
- 'BadApiKey'
|
|
- 'RateLimitExceeded' # Matchers needs to be replaced with valid +ve match instead of -ve
|