List all specialties

Returns all specialties in the authenticated organization.

Request

  • HTTP Verb: GET
  • URI: /specialty

Searchable Fields

name Example:

(name[lk]:ology)

Find all specialties whose:

  • name contains ology
See Advanced queries for details on how to use Searchable Fields.

Request example

$result = $API->getSpecialty();

Output Example

array(
  [0] => array(
     "id" => 1234,
     "name" => "Anesthesiology",
     "sub_specialties" => 1
  ),
  [1] => array(
     "id" => 1235,
     "name" => "Pain Medicine",
     "sub_specialties" => 0
  ),
  [2] => array(
     "id" => 1236,
     "name" => "Sleep Medicine",
     "sub_specialties" => 3
  )
  ...
)