31 lines
738 B
YAML
31 lines
738 B
YAML
id: api-intercom
|
|
|
|
info:
|
|
name: Intercom API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://developers.intercom.com/building-apps/docs/rest-api-reference
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,intercom
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.intercom.io/users"
|
|
|
|
headers:
|
|
Authorization: Bearer {{token}}
|
|
Accept: application/json
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "Access Token Invalid"
|
|
negative: true
|
|
|
|
# digest: 4b0a00483046022100961f1591bb9414b8304809c1253739861d2e47d3555bf7caaf47cb719aec2ad602210082a496a018342802274a471a3bfd500c4e82ac6eefe13a1efc643e102609fcbc:922c64590222798bb761d5b6d8e72950
|