Skip to main content
GET
Retrieve a consent

Authorizations

Authorization
string
header
required

Authorization: Bearer rbk_live_...

Redbark-Version
string
header
required

The API release your integration is built against, e.g. 2026-10-01.wattle. Required on every request.

Path Parameters

id
string
required

The id of the object.

Example:

"cons_7Hq2Kp9dLm3nRt5vWx8yZa"

Response

The consent

id
string
required
Example:

"cons_7Hq2Kp9dLm3nRt5vWx8yZa"

object
enum<string>
required
Available options:
consent
connection
string | null
required
status
enum<string>
required
Available options:
active,
expiring,
expired,
withdrawn
purpose
string
required
data_types
string[]
required
expires_at
string<date-time> | null
required
Example:

"2026-08-21T09:30:00.000Z"

withdrawn_at
string<date-time> | null
required
Example:

"2026-08-21T09:30:00.000Z"

termination_reason
string | null
required
livemode
boolean
required
created
string<date-time>
required
Example:

"2026-08-21T09:30:00.000Z"

updated
string<date-time>
required
Example:

"2026-08-21T09:30:00.000Z"