nuclei-templates/http/token-spray/api-sendgrid.yaml

42 lines
1.0 KiB
YAML
Raw Normal View History

2021-10-01 14:33:51 +00:00
id: api-sendgrid
info:
name: Sendgrid API Test
2024-10-03 17:52:28 +00:00
author: zzeitlin,0xpugal
2021-10-01 14:33:51 +00:00
severity: info
2024-10-03 17:52:28 +00:00
description: |
A REST-like interface that enables you to send email at scale, ensuring your application can handle high-volume email with ease.
reference:
2024-10-03 14:30:51 +00:00
- https://www.twilio.com/docs/sendgrid/api-reference/how-to-use-the-sendgrid-v3-api
metadata:
2024-10-03 14:30:51 +00:00
verified: true
max-request: 1
2024-10-03 14:30:51 +00:00
tags: token-spray,sendgrid
2021-10-01 14:33:51 +00:00
2021-10-20 08:46:18 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
2024-10-03 14:30:51 +00:00
http:
- method: GET
path:
- "https://api.sendgrid.com/v3/scopes"
headers:
Authorization: Bearer {{token}}
Content-Type: application/json
matchers-condition: and
2021-10-01 14:33:51 +00:00
matchers:
- type: word
2024-10-03 14:30:51 +00:00
part: body
words:
2024-10-05 09:36:23 +00:00
- '"scopes":['
2024-10-03 14:30:51 +00:00
- type: word
part: header
2021-10-01 14:33:51 +00:00
words:
2024-10-03 14:30:51 +00:00
- 'application/json'
- type: status
status:
- 200
2024-10-05 09:47:51 +00:00
# digest: 4b0a00483046022100bfec8ef43250a5deeaddf82e4b5479d31149745b1b236041b9e9e707154dc562022100e8b38dec5cd4a3de4997df78b3278ebac2a8e954727b5ffc1f186634b3956e6a:922c64590222798bb761d5b6d8e72950