Skip to main content
GET
Retrieve consent history

Authorizations

Authorization
string
header
required

Authenticate with the bearer_token obtained from the authentication endpoint.

Path Parameters

device_id
string
required

Flatpeak Device ID.

Response

Consent history response.

Every consent grant and revocation the customer has made to you for the device, with timestamps and scopes: TELEMETRY, CONTROL, LOCATION, SETTINGS. Consent changes only through Connect or customer 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"

oem_id
string
required

Flatpeak OEM ID: the OEM that connects the device.

Pattern: ^oem_[A-Za-z0-9]+$
Example:

"oem_6a3a8dada72cd0a249ff9528"

data
object[]
required

Consent records, most recent first.