Skip to main content

List Contact Renewal Reminders

GET 

https://secure.fleetio.com/api/contact_renewal_reminders

Returns a list of your ContactRenewalReminders.

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.

    contact_id object
    eqstringrequired
    contact_renewal_type_id object
    eqstringrequired
    active object
    eqstringrequired

    Possible values: [true, false]

    Default value: true
    contact_renewal_reminder_status object
    eqstringrequired

    Possible values: [ok, overdue, due_soon]

    due_soon_at object
    oneOf
    ltstringrequired
    last_sent_at object
    oneOf
    ltstringrequired
    next_due_at object
    oneOf
    ltstringrequired
    created_at object
    oneOf
    ltstringrequired
    updated_at object
    oneOf
    ltstringrequired
    sort object

    The fields and direction to sort the results by.

    idSortAscDescDefaultDesc (string)

    Possible values: [asc, desc]

    Default value: desc
    due_soon_atSortAscDesc (string)

    Possible values: [asc, desc]

    last_sent_atSortAscDesc (string)

    Possible values: [asc, desc]

    next_due_atSortAscDesc (string)

    Possible values: [asc, desc]

    created_atSortAscDesc (string)

    Possible values: [asc, desc]

    updated_atSortAscDesc (string)

    Possible values: [asc, 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
    contact_id object
    eqstringrequired
  • ]
  • sorted_by object[]

    The sorts applied to the returned record set.

  • Array [
  • anyOf
    due_soon_atSortAscDesc (string)

    Possible values: [asc, desc]

  • ]
  • records ContactRenewalReminder[]
  • Array [
  • idinteger
    activebooleanrequired

    Whether or not this Contact Renewal Reminder is active.

    contact_idintegerrequired

    The Id of the Contact associated with this Contact Renewal Reminder.

    contact_renewal_type_idintegerrequired

    The Id of the ContactRenewalType associated with this Contact Renewal Reminder.

    contact_renewal_reminder_statusstringrequired

    The status of this Contact Renewal Reminder.

    Possible values: [due_soon, overdue, ok]

    contact_archived_atdate-timenullable

    The date and time at which this Renewal Reminder's Contact was archived.

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

    The date and time at which this Contact Renewal Reminder is next due. This attribute will only appear in responses if there is a next due date.

    last_sent_atdate-timenullable

    The date and time at which this Contact Renewal Reminder was last sent.

    due_soon_atdate-timenullable

    The date and time at which this Contact Renewal Reminder is considered due soon.

    due_soon_at_threshold_intervalintegernullable

    Used in conjunction with due_soon_time_threshold_frequency. Together they form a full due soon parameter eg; "1 week", "5 months", "10 years"

    due_soon_time_threshold_frequencystringnullable

    Possible values: [day, week, month, year, days, weeks, months, years]

  • ]

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 -L 'https://secure.fleetio.com/api/contact_renewal_reminders' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— query
— query
— query
contact_ideq
contact_renewal_type_ideq
activeeq
contact_renewal_reminder_statuseq
due_soon_at
last_sent_at
next_due_at
created_at
updated_at
— query
id
due_soon_at
last_sent_at
next_due_at
created_at
updated_at
ResponseClear

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