Amazon SNS Notifications
Create an Amazon SNS channel
Changed onCreate an Amazon SNS notification channel in the specified application.
The topic must be a valid Amazon SNS topic ARN (starting with arn:aws:sns:).
post/v3/channels/sns
Request
- Base URLhttps://api.us.nylas.com
- AuthHTTP bearer
Request body
Example request
{
"description": "Production SNS channel for Events notifications",
"topic": "arn:aws:sns:us-east-1:123456789012:my-topic",
"role_arn": "arn:aws:iam::123456789012:role/nylas-sns-role",
"notification_email_addresses": [
"jane@example.com",
"joe@example.com"
],
"compressed_delivery": true
}Response
Amazon SNS channel created
Example response
{
"data": {
"id": "UMWjAjMeWQ4D8gYF2moonK4486",
"description": "Production SNS channel for Grant notifications",
"topic": "arn:aws:sns:us-east-1:123456789012:my-topic",
"role_arn": "arn:aws:iam::123456789012:role/nylas-sns-role",
"notification_email_addresses": [
"jane@example.com",
"joe@example.com"
]
}
}Changes
- warning
added the new
alert.triggeredenum value to the//response property for the response status - info
added the new
alert.triggeredenum value to the request property/
- warning