Loops icon

Loops

Consume the Loops API

Actions12

Contact → Find

AI-generated

Summary

Find a contact in the Loops system by specifying either the contact's Email address or User ID (but not both).

Inputs

  • Email — The email address of the contact to find. Provide this or the User ID, not both.
  • User ID — The user ID of the contact to find. Provide this or the Email address, not both.

Output shape

a single JSON object representing the found contact's details

Either Email or User ID must be provided, but not both. If both are provided, the operation will throw an error. Returns the contact data as a JSON object.

Examples

Example 1: Find contact by email

Set the Email parameter to the desired contact's email address and leave User ID empty.

Example 2: Find contact by user ID

Set the User ID parameter to the desired contact's user ID and leave Email empty.

Links

Discussion