resend/resend-nextjs-app-router-example

retrieve a contact by email

shpsyte opened this issue · 0 comments

Either change/add a endpoint to retrieve a contact by their email

resend.contacts.get({
meail: email,
audienceId: '78261eea-8f8b-4381-83c6-79fa7120f1cf',
});

or
update the response of create a new contact by adding a prop saying if it was new or not

data: { object: 'contact', id: 'd609e3c4-4bcc-4bcc-9ccb-0b074a91442c' , new: true/false},

my workaround is saving the ID in my database, but it would be grate having this feature

Thanks