Skip to content

Get office consent status

GET
/offices/{officeId}/consents/{code}

Get office’s consent status by office ID and consent code

officeId
required
string

Office ID

code
required
string

Consent Code

OK

object
data
object
body
string
code
string
consented_requirements
Array<object>
object
expired_at

Consented requirement

string
key
string
required
boolean
url

Not consented requirement

string
value
string
header
string
is_consented
boolean
not_consented_requirements
Array<object>
object
expired_at

Consented requirement

string
key
string
required
boolean
url

Not consented requirement

string
value
string
office_id
string

Bad Request

object
error
string

Unauthorized

object
error
string

Forbidden

object
error
string

Not Found

object
error
string

Internal Server Error

object
error
string