Skip to Main Content
Status Backlog
Categories Core API
Created by Guest
Created on May 17, 2023

search contacts in the API using the email

add a parameter in the contact list request to search with the emails

  • Attach files
  • Guest
    Reply
    |
    Jun 14, 2023

    Don't limit it to email but also 'name' property or any other identifier for a contact search mechanism.

  • Guest
    Reply
    |
    Jun 10, 2023

    While a proper Contact Search endpoint in the API is in our backlog, it is possible to search a contact by email using the email address as a resource alias.

    Sending the request GET https://api.frontapp.com/contacts/alt:email:bob@example.com will try to fetch a contact with the email address bob@example.com. If no contacts exist, the API will respond with a 404 error.

    Note that you can use the same logic with other types of handles too.