Search contacts

Contacts of your directory found by name, number or company.

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

read

Searches the Ringover contact directory by name, phone number or company and returns each match with its numbers. An empty list means no contact matches, which is normal for a first-time caller. Use the number as to_number in send_sms.

Parameters

Parameters: search_contacts
NameTypeDescription
query string required string A name, a phone number or a company.
limit integer integer How many contacts to return.

Request

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

Example response

JSON

{
  "contacts": [
    {
      "contact_id": "ct_5528",
      "name": "Dana Whitfield",
      "company": "Northline Dental",
      "numbers": [
        "+15550100142"
      ]
    }
  ]
}

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.