WEBHOOKS
View Webhooks
Changed onReturns information for configured webhooks.
post/webhook/view
Request
- Base URLhttps://api.smtp2go.com/v3
- Auth
- API key in header X-Smtp2go-Api-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Returned webhook information
Example response
{
"data": {
"url": "https://example.com/test-webhook"
},
"request_id": "4b661d88-6b2d-11eb-8bb3-f23c92bb31d2"
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info