How to GET contact's details via API

Completed

Comments

3 comments

  • Official comment
    OpenSolar Support

    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 Permalink
  • edbed920

    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!

    0
    Comment actions Permalink
  • OpenSolar Support

    Hi Ed,

    Glad to hear that this is what you wanted.

    We don't offer API connecting services but we still provide support in clarification or simple guidance.

    Hope this clarifies the confusion.

    Cheers,

    Sam

    0
    Comment actions Permalink

Please sign in to leave a comment.