Skip to main content
GET
Retrieve consent history

Authorizations

Authorization
string
header
required

Bearer token obtained from POST /auth/tokens.

Path Parameters

device_id
string
required

Flatpeak Device ID.

Response

Consent history response.

Every consent grant and revocation for the device, across the VPP operators it has consented to, with timestamps and scopes: TELEMETRY, CONTROL, LOCATION, SETTINGS. Consent changes only through Connect or user action, and does not expire.

object
enum<string>
required

Object type, consent_history.

Available options:
consent_history
Example:

"consent_history"

device_id
string
required

Flatpeak Device ID.

Example:

"dev_63a6087272941ef077a8fd3e"

account_id
string
required

Flatpeak Account ID.

Pattern: ^[a-z]{2,4}_[A-Za-z0-9]+$
Example:

"acc_661677911f2197045e6cf1b1"

data
object[]
required

Consent records, most recent first.