List Device Providers

Get all device providers

Returns a list of all device providers.

/devices/list_device_providers

POSThttps://connect.getseam.com/devices/list_device_providers
Authorization
Body
provider_categoryenum
stableconsumer_smartlocksthermostatsnoise_sensorsaccess_control_systems
Response

OK

Body
device_providers*array of device_provider (object)
ok*boolean
Request
const response = await fetch('https://connect.getseam.com/devices/list_device_providers', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer Client Session Token",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "device_providers": [
    {
      "device_provider_name": "akuvox",
      "display_name": "text",
      "image_url": "text",
      "provider_categories": [
        "stable"
      ],
      "can_remotely_unlock": false,
      "can_remotely_lock": false,
      "can_program_offline_access_codes": false,
      "can_program_online_access_codes": false,
      "can_hvac_heat": false,
      "can_hvac_cool": false,
      "can_hvac_heat_cool": false,
      "can_turn_off_hvac": false,
      "can_simulate_removal": false,
      "can_simulate_connection": false,
      "can_simulate_disconnection": false
    }
  ],
  "ok": false
}

Request

To filter the list of returned device providers by a specific device provider category, include the provider_category in the request body.

Request Body Parameters

ParameterTypeDescription

provider_category

String Optional

Provider category by which to filter device providers.

Supported categories:

  • stable

  • consumer_smartlocks

  • thermostats

  • noise_sensors

Sample Request

seam.devices.list_device_providers(
  provider_category="stable"
)

Response

Returns an device_providers array, in which each returned device_provider contains the following properties:

PropertyDescription

device_provider_name

Name of the device provider.

display_name

Display name that corresponds to the device provider type.

image_url

Image URL for the device provider.

provider_categories

List of provider categories for the device provider.

can_remotely_unlock

Indicates whether at least one supported device from the provider can perform a remote unlock operation. See Capability Flags.

can_remotely_lock

Indicates whether at least one supported device from the provider can perform a remote lock operation. See Capability Flags.

can_program_online_access_codes

Indicates whether at least one supported device from the provider can program online access codes. See Capability Flags.

can_program_offline_access_codes

Indicates whether at least one supported device from the provider can program offline access codes. See Capability Flags.

Sample Response

[
  DeviceProvider(    
    device_provider_name='august',
    display_name='August',
    image_url=/https://connect.getseam.com/_next/image?url=https://connect.getseam.com/assets/images/logos/august_logo_square.png&q=75&w=128',
    provider_categories=[
      'stable',
      'consumer_smartlocks'
    ],
    can_remotely_lock=True,
    can_remotely_unlock=True,
    can_program_online_access_codes=True
  ),
  ...
]

Last updated

Logo

© Seam Labs, Inc. All rights reserved.