List Accounts
GEThttps://secure.fleetio.com/api/v1/accounts
Allows you to see information about the corresponding account(s) related to a given API key, such as the company name and address.
This endpoint does not require you to pass in the Account-Token
header. It does still require the API key to be passed in via the
Authorization header though, as this API key is what is used to lookup the
associated accounts.
Request
Responses
- 200
- 401
- 500
OK
Response Headers
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
Possible values: >= 1
The date and time at which this record was created.
2023-03-14T13:46:27-06:00
The date and time at which this record was most recently updated.
2023-03-14T13:46:27-06:00
Possible values: >= 1
The name of the Account.
The membership type of the current User
.
Possible values: [admin
, owner
, regular
, guest
]
The URL token used to identify the Account.
Whether or not this Account uses 24 hour time format.
false
The default currency symbols used by the Account.
$
The city the Account belongs to.
The region the Account belongs to.
The postal code or ZIP code the Account belongs to.
The street address of the Account.
Street address line 2 of the Account.
The country of the Account.
Whether or not the Account can view Vehicles.
Whether or not the Account can manage Vehicles.
Whether or not the Account can create Vehicles.
Whether or not the Account can view Fuel Entries.
Whether or not the Account can manage Fuel Entries.
Whether or not the Account can view Service Entries.
Whether or not the Account can manage Service Entries.
Whether or not the Account can view Issues.
Whether or not the Account can manage Issues.
Whether or not the Account can view Work Orders.
Whether or not the Account can manage Work Orders.
Whether or not the Account can view Service Reminders.
Whether or not the Account can manage Service Reminders.
Whether or not the Account can view Vehicle Renewal Reminders.
Whether or not the Account can manage Vehicle Renewal Reminders.
Whether or not the Account can view Comments.
Whether or not the Account can manage Comments.
Whether or not the Account can view Meter Entries.
Whether or not the Account can manage Meter Entries.
Whether or not the Account can view Groups.
Whether or not the Account can view Contacts.
Whether or not the Account is subscribed to a Fleetio plan.
Whether or not the Account has inspections enabled.
Whether or not the Account can update Parts.
Whether or not the Account can update inventory.
The Part Locations allowed to be updated.
Whether or not the Account can create new inventory.
The name of the Account's currently active Subscription Plan.
The state of the Account's Subscription.
Possible values: [trialing
, assessing
, active
, past_due
, soft_failure
]
The default meter volume unit used by the Account.
The default fuel volume unit used by the Account.
The default system of measurement used by the Account.
Possible values: [imperial
, metric
]
tax_settings objectrequired
What the next Work Order
's number will be in the sequence.
Whether or not the Account can perform offline inspections.
Whether or not the Account is a paying customer.
Whether or not the Account is in demo mode.
Whether or not Contacts
/Users
must be assigned to a Group
.
Whether or not a Meter Entry
is required when submitting a Service Entry
or completed Work Order
.
Whether or not the Account is subscribed to Repair Order
notifications.
Whether or not a Part
line item on a Work Order
must have a location.
Whether or not forecasted dates are used for Service Reminders
.
Whether or not a repair priority class is required when submitting a Service Entry
or completed Work Order
.
Whether or not the Vehicle Maintenance Reporting Standards system is enabled.
Whether or not the VMRS assembly element identification is enabled.
Whether or not the VMRS component identification is enabled.
Whether or not the reason for repair can be edited.
Whether or not the VMRS assembly or component information can be edited.
The date when the VMRS reason for repair is required on service line items.
If null
, the VMRS reason for repair is not required.
The date when the VMRS system group is required on service line items. If
null
, the VMRS system group is not required.
[
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"account_membership_id": 0,
"name": "string",
"user_type": "admin",
"token": "string",
"time_24_format": false,
"currency_symbol": "$",
"city": "string",
"region": "string",
"postal_code": "string",
"street_address": "string",
"street_address_line_2": "string",
"country": "string",
"read_vehicles": true,
"manage_vehicles": true,
"create_vehicles": true,
"read_fuel_entries": true,
"manage_fuel_entries": true,
"read_service_entries": true,
"manage_service_entries": true,
"read_issues": true,
"manage_issues": true,
"read_work_orders": true,
"manage_work_orders": true,
"read_service_reminders": true,
"manage_service_reminders": true,
"read_vehicle_renewal_reminders": true,
"manage_vehicle_renewal_reminders": true,
"read_comments": true,
"manage_comments": true,
"read_meter_entries": true,
"manage_meter_entries": true,
"read_groups": true,
"read_contacts": true,
"fleetio_manage": true,
"inspections": true,
"update_parts": true,
"update_inventory": true,
"allowed_part_location_ids": [
0
],
"new_inventory_permissions": true,
"plan": "string",
"state": "trialing",
"default_meter_unit": "string",
"default_fuel_volume_unit": "string",
"default_system_of_measurement": "imperial",
"tax_settings": {
"tax_free_labor": false,
"tax_2": true,
"default_tax_1": "string",
"default_tax_2": "string",
"default_tax_type": "fixed"
},
"next_work_order_number": 0,
"offline_inspections": true,
"paying_customer": true,
"is_demo": true,
"require_group": true,
"require_a_meter_entry_on_service_entry_or_completed_work_order": true,
"has_ro_notification_subscription": true,
"require_an_inventory_location_on_wo_part_line_items": true,
"use_forecasted_dates_for_service_reminders": true,
"require_a_rpc_on_service_entry_or_completed_work_order": true,
"vmrs_system_enabled": true,
"vmrs_assembly_enabled": true,
"vmrs_component_enabled": true,
"disable_reason_for_repair_editing": true,
"disable_system_assembly_component_editing": true,
"require_vmrs_reason_for_repair_on_service_line_items_as_of": "string",
"require_vmrs_system_group_on_service_line_items_as_of": "string"
}
]
Request could not be authenticated
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Something unexpected happened
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64". You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
- curl
- ruby
- python
- csharp
- go
- java
- nodejs
- php
- CURL
curl -L 'https://secure.fleetio.com/api/v1/accounts' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>'