- API reference
- Webhook Notifications
- Get destinations for an application
GET
https://api.us.nylas.com/v3/webhooksGet destinations for an application
Get a list of all webhook destinations for an application id.
Works with an API key or an IAM API key with the webhook_destinations.read permission.
dataarray<object>nullableThe list of webhook destinations. This is null when the application has no webhook destinations.
Array items:
Example:
"Production webhook destination"webhook
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.
notification_email_addressesarray<string>The email addresses that Nylas notifies when a webhook is down for a while. See Failing and failed webhooks for details.
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:
1234567890