Search contacts and accounts

Contacts and accounts by name, email or company.

GET https://cotlet.dev/api/v1/tripleseat/contacts/search

read

Searches your contacts, the people, and your accounts, the companies or families they belong to. Each hit returns the IDs that create_event needs and the owner. Use it before create_lead to see whether the guest is already known.

Parameters

Parameters: search_contacts
NameTypeDescription
query string required string Name, email or company.
type string string contact or account. Default: both.
cursor string string Next page cursor from the previous call.

Request

cURL
curl "https://cotlet.dev/api/v1/tripleseat/contacts/search?query=query" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("tripleseat", "search_contacts", {"query":"query"})
Node.js
const result = await cotlet.call('tripleseat', 'search_contacts', {"query":"query"});
CLI
cotlet call tripleseat search_contacts --data '{"query":"query"}'

Example response

JSON

{
  "results": [
    {
      "type": "contact",
      "contact_id": 66120,
      "name": "Marisol Delgado",
      "email_address": "marisol@example.com",
      "account": "Delgado family",
      "account_id": 4410
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.