How to GET contact's details via API
CompletedHi. I'm trying to get a contact's details via API. The execution is successful but it's pulling the incorrect record.
My query param is the contact's email address. What's the right way to do this?
The correct contact's id should be 1380597
-
Official comment
Hi Ed,
Thanks for reaching out. You are pulling the incorrect URL. You need to put the contact id at the end - the correct way to do it would be: https://api.opensolar.com/api/62917/contacts/1380597/
In addition to the above, if you want to filter the list of contacts by email, first name, family name, or phone it is possible through the
search
parameter.
Example:api/orgs/1/contacts/?search=
my@email.com
Hope this helps. Otherwise, let us know.
Cheers,
Sam
Comment actions -
Hi Sam,
Thank you so much!
It worked the way I wanted to. This URL is what I'm looking for
api/orgs/1/contacts/?search=
my@email.com
I thought no one will answer because previous support said assisting in API integration is not possible. Thanks again!
Please sign in to leave a comment.
Comments
3 comments