Skip to main content
GET
/
api
/
2.0
/
contacts
/
search
/
Search Contacts
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/contacts/search/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "name": "<string>",
      "accepting_insurance": true,
      "accepting_new_patients": true,
      "address_line": "<string>",
      "city": "<string>",
      "contact_type": "<string>",
      "direct_address": "<string>",
      "fax": "<string>",
      "id": 123,
      "is_elation_confirmed": true,
      "is_verified": true,
      "npi": "<string>",
      "phone": "<string>",
      "specialties": [
        "<unknown>"
      ],
      "specialty_categories": [
        "<unknown>"
      ],
      "state": "<string>"
    }
  ],
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

city
string

The city to search for contacts.

limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

q
string

Contact name or fax number to look for.

specialties
string

Comma separated specialties to look for contacts. Examples: "psychology,dental care" or "pharmacy".

state
string

The state to search for contacts.

Response

200 - application/json
results
object[]
required
count
integer
Example:

123

next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"