Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retrieve a contact by email #33

Open
shpsyte opened this issue May 6, 2024 · 0 comments
Open

retrieve a contact by email #33

shpsyte opened this issue May 6, 2024 · 0 comments

Comments

@shpsyte
Copy link

shpsyte commented May 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant