- API reference
- Pub/Sub Notifications
- Get a specific Pub/Sub channel
GET
https://api.us.nylas.com/v3/channels/pubsub/{id}Get a specific Pub/Sub channel
Get a specific Pub/Sub channel from a specific Nylas application.
Works with an API key or an IAM API key with the pubsub_channels.read permission.
Example:
"Production Pub/Sub for Event updates"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:
"projects/your-project-id/topics/your-topic-id"notification_email_addressesarray<string>The email addresses that Nylas notifies if delivery to the Pub/Sub channel fails.
Example:
["jane@example.com","joe@example.com"]compressed_deliverybooleanIf true, Nylas compresses notification payloads using gzip before delivering them.
Example:
falsestatus_updated_atintegerThe time the status field was last updated, represented as a Unix timestamp in seconds.
Example:
1234567890Bad Request. Nylas returns this response when no destination in the application matches the ID.