Skip to content

Account Details

Use this endpoint to fetch details about accounts that create service requests.

GET https://api.vectorcare.com/openapi/v1.0/accounts/{account_id}/

Note: URLs must include the trailing slash.

{
"company_name": "Cool Company",
"service_levels": [
"ALS",
"Ambulatory Van",
"BLS",
"CCT",
"FW",
"Homevisit",
"RW",
"SCT",
"Secure Car",
"Sedan",
"SV",
"WC"
],
"facilities": [
{
"name": "Helpful Hospital #1",
"address": "123 Corte Madera Avenue, CA, 94925, United States"
},
{
"name": "Helpful Hospital #0",
"address": "456 Main Street, CA, 94925, United States"
}
]
}
FieldNullableDescription
company_nameNoAccount company name
service_levelsNoList of service level types configured by the account
facilitiesNoList of facilities (may be empty array)
FieldDescription
nameFacility name
addressFacility address

The Request Detail endpoint includes an account object. Use this endpoint to:

  • Fetch updated account information by ID
  • Build a directory of accounts you’ve received requests from
  • Map account service levels to your internal values
  • Discover facility locations for an account

Accounts in VectorCare can:

  • Create service requests
  • Assign requests to themselves
  • Broadcast requests to other accounts

When you receive a request from an account you haven’t seen before, use this endpoint to fetch their configuration and create appropriate mappings.