Skip to main content

List Contacts

GET 

https://secure.fleetio.com/api/v2/contacts

Returns a list of contacts excluding archived.

Request

Query Parameters

    start_cursor string

    The start cursor for Keyset pagination.

    per_page integer

    Possible values: >= 2 and <= 100

    The number of records per page to return

    Default value: 50
    filter object

    The fields, operations, and values to filter the records by.

    email object
    oneOf
    likestringrequired
    last_name object
    oneOf
    likestringrequired
    group_id object
    eqstringrequired
    employee_number object
    eqstringrequired
    created_at object
    oneOf
    ltstringrequired
    updated_at object
    oneOf
    ltstringrequired
    sort object

    The fields and direction to sort the results by.

    group_idSortAscDesc (string)

    Possible values: [asc, desc]

    created_atSortAscDesc (string)

    Possible values: [asc, desc]

    updated_atSortAscDesc (string)

    Possible values: [asc, desc]

    idSortAscDescDefaultDesc (string)

    Possible values: [asc, desc]

    Default value: desc

Responses

OK

Schema
    start_cursorstringnullable

    The current start cursor of the records returned.

    next_cursorstringnullable

    The next cursor to retrieve the next page of records.

    per_pageinteger

    The maxumum number of records returned.

    estimated_remaining_countinteger

    The number of remaining records including the returned records, up to a maximum of 500.

    filtered_by object[]

    The filters applied to the returned record set.

  • Array [
  • anyOf
    email object
    oneOf
    likestringrequired
  • ]
  • sorted_by object[]

    The sorts applied to the returned record set.

  • Array [
  • anyOf
    group_idSortAscDesc (string)

    Possible values: [asc, desc]

  • ]
  • records object[]
  • Array [
  • idinteger

    Possible values: >= 1

    created_atdate-time

    The date and time at which this record was created.

    Example: 2023-03-14T13:46:27-06:00
    updated_atdate-time

    The date and time at which this record was most recently updated.

    Example: 2023-03-14T13:46:27-06:00
    emailstringnullable

    The Contact's email address.

    namestringnullablerequired

    The Contact's full name.

    first_namestringnullablerequired

    The Contact's first name.

    middle_namestringnullablerequired

    The Contact's middle name.

    last_namestringnullablerequired

    The Contact's last name.

    group_idintegernullablerequired

    If this Contact belongs to a Group, this will be the Fleetio ID of that Group.

    group_namestringnullablerequired

    If this Contact belongs to a Group, this will be the Group's name.

    group_hierarchystringnullable

    If this Contact belongs to a Group, this will be a pipe delimited string representing the Group hierarchy. Each Group in the list is the parent of the Groups which follow.

    Example: Group 1|Group 2|Group 3
    technicianbooleannullable

    Whether or not the Contact is a Technician.

    vehicle_operatorbooleannullable

    Whether or not the Contact is a Vehicle Operator.

    employeebooleannullable

    Whether or not the Contact is an Employee.

    birth_datedatenullable

    The Contact's birth date.

    Example: 2023-03-14
    street_addressstringnullable

    The Contact's street address.

    Example: 123 Main St
    street_address_line_2stringnullable

    The Contact's street address line 2.

    Example: Apt 1
    citystringnullable

    The Contact's city.

    regionstringnullable

    The Contact's region, state, or province.

    postal_codestringnullable

    The Contact's postal code, zip code, or equivalent.

    countrystringnullable

    The Contact's country.

    employee_numberstringnullable

    The Contact's employee number.

    job_titlestringnullable

    The Contact's job title.

    Possible values: <= 255 characters

    license_classstringnullable

    The Contact's driver's license class.

    license_numberstringnullable

    The Contact's driver's license number.

    license_statestringnullable

    The locality which issued the Contact's license.

    home_phone_numberstringnullable

    The Contact's home phone number.

    mobile_phone_numberstringnullable

    The Contact's mobile phone number.

    work_phone_numberstringnullable

    The Contact's work phone number.

    other_phone_numberstringnullable

    Any other phone number for this Contact.

    start_datedatenullable

    When the Contact started working for the company, if applicable.

    leave_datedatenullable

    When the Contact left or will leave the company, if applicable.

    hourly_labor_rate_centsintegernullable

    The Contact's hourly rate in cents.

    attachment_permissions objectnullable
    read_photosboolean

    Indicates whether the user has read permission for photos.

    manage_photosboolean

    Indicates whether the user has permission to manage (eg. upload, delete) photos.

    read_documentsboolean

    Indicates whether the user has read permission for documents.

    manage_documentsboolean

    Indicates whether the user has permission to manage (eg. upload, delete) documents.

    default_image_urlstringnullablerequired

    The URL of the Contact's default image/profile photo, if any.

    account_membership_idNullableId (integer)nullable

    Possible values: >= 1

    last_api_requestdate-timenullable

    The last date and time this Contact's associated User made an API request. Null if Contact is not assocated with a User.

    last_web_accessdate-timenullable

    The last date and time this Contact's associated User signed into the web application. Null if Contact is not assocated with a User.

    last_mobile_app_accessdate-timenullable

    The last date and time this Contact's associated User used the mobile app. Null if Contact is not assocated with a User.

    custom_fieldsobjectnullable

    *Full details on working with Custom Fields here.

    imagesobject[]

    A list of the images attached to this record.

    images_countintegerrequired

    The number of images attached to this record.

    Possible values: >= 0

  • ]

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)

Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— query
— query
— query
email
last_name
group_ideq
employee_numbereq
created_at
updated_at
— query
group_id
created_at
updated_at
id
ResponseClear

Click the Send API Request button above and see the response here!