- API reference
- Amazon SNS Notifications
- Get Amazon SNS channels for an application
GET
https://api.us.nylas.com/v3/channels/snsGet Amazon SNS channels for an application
Get the Amazon SNS notification channels for an application.
Works with an API key or an IAM API key with the sns_channels.read permission.
dataarray<object>nullableThe list of Amazon SNS channels. This is null when the application has no Amazon SNS channels.
Array items:
Example:
"UMWjAjMeWQ4D8gYF2moonK4486"Example:
"Production SNS channel for Email notifications"trigger_typesarray<string>The event that triggers the notification. See the notification schemas for details about each trigger type.
See the Grants, Calendar, Events, and Messages references for information on how to trigger each event type.
Example:
"arn:aws:sns:us-east-1:123456789012:my-topic"Example:
"arn:aws:iam::123456789012:role/nylas-sns-role"notification_email_addressesarray<string>The email addresses that Nylas notifies if delivery to the Amazon SNS channel fails.
Example:
["jane@example.com","joe@example.com"]compressed_deliverybooleanIf true, Nylas gzip-compresses and then base64-encodes notification payloads before delivering them.
Example:
falsestatus_updated_atintegerThe time the status field was last updated, represented as a Unix timestamp in seconds.
Example:
1234567890