On API v3 Nylas allows you to specify fields for the following webhook notifications to receive additional fields apart from the default:
- message.created
- message.updated
- event.created
- event.updated
When you specify fields for these trigger types, Nylas sends notifications with the .transformed suffix (for example, message.updated.transformed).
You can add these fields from your Nylas Dashboard, on the Customizations tab.
These are the currently available values you can add:
Message Webhook fields:
Attachments | From | Subject |
Bcc | Headers | Thread Id |
Body | Metadata | To |
Cc | Reply To | Unread |
Date | Snippet | |
Folders | Starred |
Event Webhook fields:
Busy | Ical Uid | Reminders |
Capacity | Location | Resources |
Color Id | Metadata | Sequence |
Conferencing | Organizer | Status |
Created At | Original Start Time | Title |
Creator | Participants | Updated At |
Description | Provider Args | Visibility |
Hide Participants | Read Only | When |
Html Link | Recurrence |
Important notes:
- You don't need to subscribe to webhook triggers with the .transformed suffix separately.
- You don't need to create logic in your project to handle the new notification type.
- The availability of information to populate these fields will depend on the email provider and what data they store.
Updated
Comments
0 comments
Please sign in to leave a comment.