Get latest published consent template version
GET
/v1/consent-templates/{template_code}/latest
Get the latest published consent template version
Authorizations
or
SystemApiKey
Type
API Key (header: x-system-api-key)
Parameters
Path Parameters
template_code*
template code
Type
Requiredstring
Responses
data
application/json
{
}
Get latest pending consent template version for customer
GET
/v1/customers/{customer_id}/consents/templates/{template_code}/pending
Get the latest pending consent template version for a specific customer and template code
Authorizations
or
SystemApiKey
Type
API Key (header: x-system-api-key)
Parameters
Path Parameters
customer_id*
customer id (example: 123e4567-e89b-12d3-a456-426614174030)
Type
Requiredstring
template_code*
template code (example: demo_mobile_kyc)
Type
Requiredstring
Responses
data
application/json
{
}
Submit consent decision
POST
/v1/customers/{customer_id}/consents/decisions
Submit a consent decision for a specific customer and consent version id
Authorizations
or
SystemApiKey
Type
API Key (header: x-system-api-key)
Parameters
Path Parameters
customer_id*
customer id (example: 123e4567-e89b-12d3-a456-426614174030)
Type
Requiredstring
Request Body
application/json
{
}
Responses
data
application/json
{
}