Add Intercom API test

patch-1
Dwi Siswanto 2021-10-24 12:35:48 +07:00
parent 84a58b2d95
commit 843a0c399f
1 changed files with 24 additions and 0 deletions

24
token-spray/intercom.yaml Normal file
View File

@ -0,0 +1,24 @@
id: api-intercom
info:
name: Intercom API Test
author: dwisiswant0
reference: https://developers.intercom.com/building-apps/docs/rest-api-reference
severity: info
tags: token-spray,intercom
self-contained: true
requests:
- method: GET
path:
- "https://api.intercom.io/users"
headers:
Authorization: Bearer {{token}}
Accept: application/json
matchers:
- type: word
part: body
words:
- "error"
negative: true