Add Intercom API test
parent
84a58b2d95
commit
843a0c399f
|
@ -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
|
Loading…
Reference in New Issue