MasConsents API
- production
- staging
- Authentication
- Bearer · JWT
- Contact
- administrator · masdoc.squad@masmovil.com
About this API
This API provides the necessary functionality to be able to give E2E coverage to the entire life-cycle of user's commercial consents.
This API provides the necessary functionality to be able to securize custom information into a jwt token.
Resources 3
- Customer Consents 6 endpoints
Access to user consents
- GET Get user consents by CustomerId
/orgs /{org_id} /customers /{customer_id} /consents - POST Post user consents selections by customer_id
/orgs /{org_id} /customers /{customer_id} /consents - DELETE Delete user consents by sector
/orgs /{org_id} /customers /{customer_id} /consents - GET Get user consents metadata by Customer Id
/orgs /{org_id} /customers /{customer_id} - PATCH Reassociate customer identifier
/orgs /{org_id} /customers /{customer_id}
- GET Get user consents by CustomerId
- Configuration 9 endpoints
Access to consents configuration
- GET Get available definitions consents configured for tenant
/orgs /{org_id} /definitions - POST Create a new consent definition
/orgs /{org_id} /definitions - GET Get tenant consents by user type
/orgs /{org_id} /consents - PATCH Update an existing consent definition
/orgs /{org_id} /definitions /{definition_id} - GET Get consent configuration trees for a tenant
/orgs /{org_id} /consents /tree
- GET Get available definitions consents configured for tenant
- Securize 1 endpoint
Access to securize data
MasConsents API
- production
- staging
- Authentication
- Bearer · JWT
- Contact
- administrator · masdoc.squad@masmovil.com
About this API
This API provides the necessary functionality to be able to give E2E coverage to the entire life-cycle of user's commercial consents.
This API provides the necessary functionality to be able to securize custom information into a jwt token.
Resources 3
- Customer Consents 6 endpoints
Access to user consents
- GET Get user consents by CustomerId
/orgs /{org_id} /customers /{customer_id} /consents - POST Post user consents selections by customer_id
/orgs /{org_id} /customers /{customer_id} /consents - DELETE Delete user consents by sector
/orgs /{org_id} /customers /{customer_id} /consents - GET Get user consents metadata by Customer Id
/orgs /{org_id} /customers /{customer_id} - PATCH Reassociate customer identifier
/orgs /{org_id} /customers /{customer_id}
- GET Get user consents by CustomerId
- Configuration 9 endpoints
Access to consents configuration
- GET Get available definitions consents configured for tenant
/orgs /{org_id} /definitions - POST Create a new consent definition
/orgs /{org_id} /definitions - GET Get tenant consents by user type
/orgs /{org_id} /consents - PATCH Update an existing consent definition
/orgs /{org_id} /definitions /{definition_id} - GET Get consent configuration trees for a tenant
/orgs /{org_id} /consents /tree
- GET Get available definitions consents configured for tenant
- Securize 1 endpoint
Access to securize data
Customer Consents
Get user consents by CustomerId
/orgs /{org_id} /customers /{customer_id} /consents When the user queried is not present in the system, returns the mandatory statements consent tree. When the user is present, returns all the statements consent tree, and the current user consent metadata
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
customer_idstringRequiredThe customer identifier at CRM
Query parameters
viewstring[]Filters the subset of Consents that are going to be showed. They can be combined with each other. If two views containing shared consents are selected, the largest grouping will be displayed.
If not specified, all consents configured will be showed.
Allowed values are configured by the organization's administrator
display_formatstringOptional parameter indicating the length of the text of the requested consents.
Possible values are:
SHORT- Returns the shortened version of the consent text.NORMAL- Returns the default long text of the consent.- (not set) - Returns the normal consent text.
consent_idsstringFilter consents by specific IDs. Returns only the requested consents and their parent hierarchy for context.
Format: comma-separated list of consent IDs.
Interpretation rules:
-
If a parent ID is requested: Returns the full family (parent + all children) with
read_only: false -
If only child IDs are requested: Returns the children with
read_only: falseand auto-includes their parents withread_only: true(for context only) -
If both parent and child are requested: Treated as requesting the full family (all
read_only: false)
Can be combined with
viewfilter (intersection/AND logic) andchoicefilter.Requested IDs that do not exist in the current configuration tree are ignored without causing any error.
If none of the requested IDs exist, an empty array is returned in the consents response field.
-
choicestringFilter consents to be shown by existing choice. For example, if it is PENDING, only consents with choice in PENDING state will be showed. Can be combined together.
Allowed values: PENDING, REJECTED, ACCEPTED
Header parameters
Accept-LanguagestringLanguage and country in locale format (defined in RFC 5646, which rely on the ISO 639) used to
retrieve user consent texts. Not all values are available to all organizations.
If Locale text it is not defined, a default locale text will be provided.
Locale defined lists:
-
es-ES- Spanish language, country Spain -
eu-ES- Basque language, country Spain -
en-ES- English language, country Spain -
de-ES- German language, country Spain -
ca-ES- Catalan language, country Spain
-
x-sectorstringThe regulated sector where customer belongs to
x-segmentstringThe user's segment where the consent tree applies (replace x-sector deprecated header). Is mandatory sent at one of 'x-sector' or 'x-segment' headers.
Responses
Expected response for a non existing user consent
-
statementsobject[] RequiredTree structure for consents and default choices where keys are identifiers
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
choiceinteger RequiredConsent statement choice list:
0- Consent accepted1- Consent choice unknown2- Consent rejected
-
choice_typestring RequiredConsent statement choice type list:
OPT_IN- Text written in affirmative. May be in pending stateOPT_OUT_NEGATIVE- Text written in negative. It cannot be in pending state and must be represented with a checkboxOPT_OUT_POSITIVE- Text written in affirmative. It cannot be in pending state and must be represented with a checkbox
-
textstring RequiredFull text of the consent
-
descriptionstring RequiredDetailed description of the consent
-
expiration_datestring (date-time) | nullISO-8601 timestamp (UTC) indicating when this consent expires.
-
null: Consent is perpetual (never expires) OR user never captured it (PENDING) -
Future date: Consent valid until this timestamp
-
Past date: Consent has expired (functionally treated as PENDING for filtering)
-
-
read_onlyboolean RequiredIndicates whether the consent can be modified:
-
false: The consent is editable (user can change their decision) -
true: The consent is read-only (shown for context, not editable)
When using
consent_idsfilter:-
Explicitly requested consents have
read_only: false -
Auto-included parent consents (for context) have
read_only: true
Without filters, all consents have
read_only: false(default behavior). -
-
child_statementsobject[] RequiredNested user consent statements
object
-
-
localestring RequiredLocale. If text is not found, locale will be the organization default locale
Expected response when consent's user exists
-
statementsobject[] RequiredTree structure for consents and default choices where keys are identifiers
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
choiceinteger RequiredConsent statement choice list:
0- Consent accepted1- Consent choice unknown2- Consent rejected
-
choice_typestring RequiredConsent statement choice type list:
OPT_IN- Text written in affirmative. May be in pending stateOPT_OUT_NEGATIVE- Text written in negative. It cannot be in pending state and must be represented with a checkboxOPT_OUT_POSITIVE- Text written in affirmative. It cannot be in pending state and must be represented with a checkbox
-
textstring RequiredFull text of the consent
-
descriptionstring RequiredDetailed description of the consent
-
expiration_datestring (date-time) | nullISO-8601 timestamp (UTC) indicating when this consent expires.
-
null: Consent is perpetual (never expires) OR user never captured it (PENDING) -
Future date: Consent valid until this timestamp
-
Past date: Consent has expired (functionally treated as PENDING for filtering)
-
-
read_onlyboolean RequiredIndicates whether the consent can be modified:
-
false: The consent is editable (user can change their decision) -
true: The consent is read-only (shown for context, not editable)
When using
consent_idsfilter:-
Explicitly requested consents have
read_only: false -
Auto-included parent consents (for context) have
read_only: true
Without filters, all consents have
read_only: false(default behavior). -
-
child_statementsobject[] RequiredNested user consent statements
object
-
-
localestring RequiredLocale. If text is not found, locale will be the organization default locale
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
x-keystringAllow operation key, it must be passed in consequent modification requests. This key can not be manipulated and should be sent as is received.
Customer Consents
Post user consents selections by customer_id
/orgs /{org_id} /customers /{customer_id} /consents Creates or update a consent's user in the system with an array of selections and its metadata
Fields set automatically — NOT accepted in the request body:
- ip: extracted from the HTTP request
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
customer_idstringRequiredThe customer identifier at CRM
Header parameters
x-keystringRequiredAllow operation key
Accept-LanguagestringLanguage and country in locale format (defined in RFC 5646, which rely on the ISO 639) used to
retrieve user consent texts. Not all values are available to all organizations.
If Locale text it is not defined, a default locale text will be provided.
Locale defined lists:
-
es-ES- Spanish language, country Spain -
eu-ES- Basque language, country Spain -
en-ES- English language, country Spain -
de-ES- German language, country Spain -
ca-ES- Catalan language, country Spain
-
x-sectorstringThe regulated sector where customer belongs to
x-segmentstringThe user's segment where the consent tree applies (replace x-sector deprecated header). Is mandatory sent at one of 'x-sector' or 'x-segment' headers.
Request body application/json Required
Consent's user information and other metadata
-
actor_idstring RequiredInformation about what agent/system/user is setting consents
-
selectionsobject[] RequiredUser cosents choices, in array format, chosen by the user
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
choiceinteger RequiredConsent statement choice list:
0- Consent accepted1- Consent choice unknown2- Consent rejected
-
-
ipstringDeprecated and ignored. The client IP is extracted from the HTTP request
-
sell_channelstring RequiredStarting point of the user consent acquisition. Valid sell channels are defined by each tenant's configuration.
-
trace_idstring RequiredTrazability info
-
capture_datestring (date-time) RequiredDate and time in ISO format
Responses
user consents created/updated. Expected response for a valid request
-
idstring RequiredUser consents unique identifier at Mas Consents
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Customer Consents
Delete user consents by sector
/orgs /{org_id} /customers /{customer_id} /consents Delete user consents by sector
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
customer_idstringRequiredThe customer identifier at CRM
Header parameters
x-sectorstringThe regulated sector where customer belongs to
x-segmentstringThe user's segment where the consent tree applies (replace x-sector deprecated header). Is mandatory sent at one of 'x-sector' or 'x-segment' headers.
Responses
Consents deleted successfully
No body.
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
x-keystringAllow operation key
Customer Consents
Get user consents metadata by Customer Id
/orgs /{org_id} /customers /{customer_id} When the user queried is not present in the system, returns 404. When the user is present, returns user consent metadata
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
customer_idstringRequiredThe customer identifier at CRM
Header parameters
x-sectorstringThe regulated sector where customer belongs to
x-segmentstringThe user's segment where the consent tree applies (replace x-sector deprecated header). Is mandatory sent at one of 'x-sector' or 'x-segment' headers.
Responses
Expected response for a existing consent user
-
customer_idstring RequiredThe customer identifier at CRM
-
impactboolean RequiredDefine if user it is an impactable user. This is the field that will be taken into account for the launch of campaigns or popups for the capture of consents
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Customer Consents
Reassociate customer identifier
/orgs /{org_id} /customers /{customer_id} Replaces a customer's legacy CRM identifier with their new MasStack identifier (MCONS-34).
The customer's full entity is reloaded with the active published consent tree at execution
time, applying standard domain logic including possible parent-child recalculation if the
tree has changed since the last save. Emits a standard UPDATED event with the new customer
identifier and the immutable internal userId.
Fields set automatically — NOT accepted in the request body:
-
ip: extracted from the HTTP request
-
sell_channel: inherited from the existing customer record
-
trace_id: fixed to "update_customer_id"
-
capture_date: system timestamp at execution time
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
customer_idstringRequiredThe customer identifier at CRM
Header parameters
x-segmentstringRequiredThe user's segment where the consent tree applies
Request body application/json Required
-
new_customer_idstring RequiredNew MasStack customer identifier
-
actor_idstring RequiredInformation about what agent/system/user is setting consents
Responses
Customer identifier reassociated successfully
-
customer_idstring RequiredNew customer identifier associated with the consent user
-
selectionsobject[] Required-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
choicestring RequiredCurrent consent choice after customer identifier reassociation
-
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request could not be completed due to a conflict with the current state of the target resource
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Customer Consents
Import customer consents from other system
/orgs /{org_id} /customers /{customer_id} /consents /import Creates a consent record for a customer that does not yet exist in MasConsents (MCONS-36).
Intended for migration flows (e.g. RFM brand onboarding) where consents must be imported
from a other system without running the standard consent capture flow.
Key differences from the standard save endpoint:
-
No x-key header required.
-
Parent-child inheritance rules and selection propagation are NOT applied.
-
Consent IDs in selections that are not present in the active published tree are silently ignored (not rejected).
-
Selections with choice PENDING (1) are silently filtered out and not stored.
-
ip defaults to "0.0.0.0" if not provided.
-
capture_date defaults to the system timestamp if not provided.
Emits a standard CREATED event on success.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
customer_idstringRequiredThe customer identifier at CRM
Header parameters
x-segmentstringRequiredThe user's segment where the consent tree applies
Accept-LanguagestringLanguage and country in locale format (defined in RFC 5646, which rely on the ISO 639) used to
retrieve user consent texts. Not all values are available to all organizations.
If Locale text it is not defined, a default locale text will be provided.
Locale defined lists:
-
es-ES- Spanish language, country Spain -
eu-ES- Basque language, country Spain -
en-ES- English language, country Spain -
de-ES- German language, country Spain -
ca-ES- Catalan language, country Spain
-
Request body application/json Required
-
actor_idstring RequiredInformation about what agent/system/user is setting consents
-
selectionsobject[] RequiredUser consents choices imported from a legacy system
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
choiceinteger RequiredConsent statement choice list:
0- Consent accepted1- Consent choice unknown2- Consent rejected
-
-
ipstringIP address of the actor who modifies the user consents
When the actor is, directly, the client who modifies their consents, it is important that ip is client ip address and not any kind of middleware system ip
-
sell_channelstring RequiredStarting point of the user consent acquisition. Valid sell channels are defined by each tenant's configuration.
-
trace_idstring RequiredTrazability info
-
capture_datestring (date-time)Date and time in ISO format
Responses
Customer consents imported successfully
-
customer_idstring RequiredUser consents external identifier
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request could not be completed due to a conflict with the current state of the target resource
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Get available definitions consents configured for tenant
/orgs /{org_id} /definitions Retrieves a list of all available consents for a specific organization with pagination and filtering options.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
Query parameters
pageintegerPage number for pagination
page_sizeintegerNumber of items per page
choice_typestringFilter by consent choice type (OPT_IN or OPT_OUT_NEGATIVE or OPT_OUT_POSITIVE)
consent_idstringFilter by consent identifier
Responses
List of available consents definitions retrieved successfully
-
consentsobject[] Required-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
choice_typestring RequiredConsent statement choice type list:
OPT_IN- Text written in affirmative. May be in pending stateOPT_OUT_NEGATIVE- Text written in negative. It cannot be in pending state and must be represented with a checkboxOPT_OUT_POSITIVE- Text written in affirmative. It cannot be in pending state and must be represented with a checkbox
-
consentobject[] Required-
languagestring RequiredLanguage in locale in RFC 5646 format (defined in RFC 5646, which rely on the ISO 639). Ex: es, ca, eu, en, fr
-
textstring RequiredFull text of the consent
-
descriptionstring RequiredDetailed description of the consent
-
short_textstring RequiredShortened version of the consent text
-
-
subjectstringEmail or identifier of the user who created/updated the resource
-
creation_datestring (date-time) RequiredDate and time when the consent was created
-
expiration_policyobjectPolicy that defines the expiration behavior of a consent. Only applicable to OPT_IN consent types.
-
durationstring RequiredISO-8601 period duration (e.g., P90D for 90 days, P6M for 6 months, P1Y for 1 year). Maximum allowed is P1Y.
-
-
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Create a new consent definition
/orgs /{org_id} /definitions Creates a new consent definition for a specific organization.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
Request body application/json Required
Consent definition
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
typestring RequiredConsent statement choice type list:
OPT_IN- Text written in affirmative. May be in pending stateOPT_OUT_NEGATIVE- Text written in negative. It cannot be in pending state and must be represented with a checkboxOPT_OUT_POSITIVE- Text written in affirmative. It cannot be in pending state and must be represented with a checkbox
-
expiration_policyobjectPolicy that defines the expiration behavior of a consent. Only applicable to OPT_IN consent types.
-
durationstring RequiredISO-8601 period duration (e.g., P90D for 90 days, P6M for 6 months, P1Y for 1 year). Maximum allowed is P1Y.
-
-
consentobject[] RequiredArray of consent details for different locales
-
languagestring RequiredLanguage in locale in RFC 5646 format (defined in RFC 5646, which rely on the ISO 639). Ex: es, ca, eu, en, fr
-
textstring RequiredFull text of the consent
-
descriptionstring RequiredDetailed description of the consent
-
short_textstringShortened version of the consent text
-
Responses
Consent created successfully
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
languagesstring[] RequiredList of allowed languages to ask consent text for
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request could not be completed due to a conflict with the current state of the target resource
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Get tenant consents by user type
/orgs /{org_id} /consents Get the consents configured for the tenant for a user type (customers
or leads), as shown to a user who has not decided on any of them yet. Returns 404 if the tenant has no consents
tree for that user type.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
Query parameters
viewstring[]Filters the subset of Consents that are going to be showed. They can be combined with each other. If two views containing shared consents are selected, the largest grouping will be displayed.
If not specified, all consents configured will be showed.
Allowed values are configured by the organization's administrator
display_formatstringOptional parameter indicating the length of the text of the requested consents.
Possible values are:
SHORT- Returns the shortened version of the consent text.NORMAL- Returns the default long text of the consent.- (not set) - Returns the normal consent text.
users_typestringRequiredFilter by group of users where the consent tree applies to [ customers, leads ]
Header parameters
Accept-LanguagestringLanguage and country in locale format (defined in RFC 5646, which rely on the ISO 639) used to
retrieve user consent texts. Not all values are available to all organizations.
If Locale text it is not defined, a default locale text will be provided.
Locale defined lists:
-
es-ES- Spanish language, country Spain -
eu-ES- Basque language, country Spain -
en-ES- English language, country Spain -
de-ES- German language, country Spain -
ca-ES- Catalan language, country Spain
-
x-sectorstringThe regulated sector where customer belongs to
x-segmentstringThe user's segment where the consent tree applies (replace x-sector deprecated header). Is mandatory sent at one of 'x-sector' or 'x-segment' headers.
Responses
Consents configured for the tenant and user type, with no user
decision (choice 1)
-
statementsobject[] RequiredTree structure for consents and default choices where keys are identifiers
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
choiceinteger RequiredConsent statement choice list:
0- Consent accepted1- Consent choice unknown2- Consent rejected
-
choice_typestring RequiredConsent statement choice type list:
OPT_IN- Text written in affirmative. May be in pending stateOPT_OUT_NEGATIVE- Text written in negative. It cannot be in pending state and must be represented with a checkboxOPT_OUT_POSITIVE- Text written in affirmative. It cannot be in pending state and must be represented with a checkbox
-
textstring RequiredFull text of the consent
-
descriptionstring RequiredDetailed description of the consent
-
expiration_datestring (date-time) | nullISO-8601 timestamp (UTC) indicating when this consent expires.
-
null: Consent is perpetual (never expires) OR user never captured it (PENDING) -
Future date: Consent valid until this timestamp
-
Past date: Consent has expired (functionally treated as PENDING for filtering)
-
-
read_onlyboolean RequiredIndicates whether the consent can be modified:
-
false: The consent is editable (user can change their decision) -
true: The consent is read-only (shown for context, not editable)
When using
consent_idsfilter:-
Explicitly requested consents have
read_only: false -
Auto-included parent consents (for context) have
read_only: true
Without filters, all consents have
read_only: false(default behavior). -
-
child_statementsobject[] RequiredNested user consent statements
object
-
-
localestring RequiredLocale. If text is not found, locale will be the organization default locale
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Update an existing consent definition
/orgs /{org_id} /definitions /{definition_id} Updates an existing consent definition for a specific organization.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
definition_idstringRequiredThe unique identifier of the consent definition to be updated
Request body application/json Required
Consent definition update
-
consentobject[] Required-
languagestring RequiredLanguage in locale in RFC 5646 format (defined in RFC 5646, which rely on the ISO 639). Ex: es, ca, eu, en, fr
-
textstring RequiredFull text of the consent
-
descriptionstring RequiredDetailed description of the consent
-
short_textstringShortened version of the consent text
-
-
changes_descriptionstringOptional description of the changes made
Responses
Consent updated successfully
-
idstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
languagesstring[] RequiredList of allowed languages to ask consent text for
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Get consent configuration trees for a tenant
/orgs /{org_id} /consents /tree Retrieves all consent configuration trees for a specific tenant, filtered by segment and user type
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
Query parameters
users_typestringFilter by group of users where the consent tree applies to [ customers, leads ]
Header parameters
x-segmentstringThe user's segment where the consent tree applies (replace x-sector deprecated header). Is mandatory sent at one of 'x-sector' or 'x-segment' headers.
Responses
Consent configuration trees retrieved successfully
-
treesobject[] RequiredList of consent trees configurations
-
segmentstring RequiredRegulated sector where user belongs to. Allowed values: telco, energy
-
users_typestring RequiredType of users the consent tree applies to
-
descriptionstringDescription of the consent tree
-
default_localestring RequiredDefault language for the consent tree
-
allowed_localesstring[] RequiredList of allowed languages to ask consent text for
-
consents_orderstring[] RequiredOrder of consents in the tree when visualized by user
-
priority_consent_idsstring[]List of priority consent Ids
-
viewsobject[] RequiredDifferent views (group of consents) for the consent tree
-
viewstring RequiredName of the view
-
consentsstring[] RequiredConsents included in the view
-
-
dependenciesobject[](Optional) Dependencies between consents
-
fatherstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
childstring[] Requiredconsent_id of the child consents dependent on the father
-
-
channelsstring[] RequiredChannels where the consent tree is applicable to be captured
-
creation_subjectstring RequiredEmail or identifier of the user who created the consent tree
-
creation_datestring (date-time) RequiredDate and time when the consent tree was created
-
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
ETagstringComma-separated list of transaction ids necessary to modify any tree returned in this read operation
548d1e9f-159c-4223-a1fb-9c7d2a0da142,5c20565c-d16e-4b32-8ba7-519f909402b3Configuration
Create a new consent tree for a tenant in a specific user segment
/orgs /{org_id} /consents /tree Creates a new consent tree definition for a specific organization and user's segment.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
Header parameters
x-segmentstringRequiredThe user's segment where the consent tree applies
Request body application/json Required
Consent tree definition
-
descriptionstring RequiredDescription of the consent tree
-
default_languagestring RequiredDefault locale for the consent tree
-
allowed_languagesstring[] RequiredList of allowed languages to ask consent text for
-
consents_orderstring[] RequiredOrder of consents in the tree when visualized by user
-
priority_consent_idsstring[] RequiredList of priority consent Ids
-
viewsobject[] RequiredDifferent views (group of consents) for the consent tree
-
viewstring RequiredName of the view
-
consentsstring[] RequiredConsents included in the view
-
-
dependenciesobject[](Optional) Dependencies between consents
-
fatherstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
childstring[] Requiredconsent_id of the child consents dependent on the father
-
-
channelsstring[] RequiredChannels where the consent tree is applicable to be captured
-
users_typestring RequiredType of users the consent tree applies to
Responses
Consent tree created successfully (no content)
No body.
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Update an existing consent tree for a tenant and user segment
/orgs /{org_id} /consents /tree Updates an existing consent tree definition for a specific organization, user's segment, and user type. Requires ETag header for optimistic concurrency control.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
Header parameters
x-segmentstringRequiredThe user's segment where the consent tree applies
ETagstringRequiredTransaction ID from the configuration tree GET response, used for optimistic concurrency control
Request body application/json Required
Consent tree definition update
-
descriptionstring RequiredDescription of the consent tree
-
default_languagestring RequiredDefault locale for the consent tree
-
allowed_languagesstring[] RequiredList of allowed languages to ask consent text for
-
consents_orderstring[] RequiredOrder of consents in the tree when visualized by user
-
priority_consent_idsstring[] RequiredList of priority consent Ids
-
change_logstring RequiredDescription of the changes made in this update
-
viewsobject[] RequiredDifferent views (group of consents) for the consent tree
-
viewstring RequiredName of the view
-
consentsstring[] RequiredConsents included in the view
-
-
dependenciesobject[](Optional) Dependencies between consents
-
fatherstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
childstring[] Requiredconsent_id of the child consents dependent on the father
-
-
channelsstring[] RequiredChannels where the consent tree is applicable to be captured
-
users_typestring RequiredType of users the consent tree applies to
Responses
Consent tree updated successfully (no content)
No body.
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The specified resource was not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Get archived consent tree history for a tenant and segment
/orgs /{org_id} /consents /tree /history Retrieves the historical versions of consent tree configurations for a specific organization and segment, ordered chronologically in descending order
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
Query parameters
users_typestringFilter by group of users where the consent tree applies to [ customers, leads ]
pageintegerPage number for pagination
page_sizeintegerNumber of items per page
Header parameters
x-segmentstringRequiredThe user's segment where the consent tree applies
Responses
Consent tree history retrieved successfully
-
pageinteger RequiredCurrent page number
-
page_sizeinteger RequiredNumber of items per page
-
trees_historyobject[] RequiredArray of historical consent tree configurations ordered in descending chronological order
-
versionstring RequiredUnique identifier for this archived tree version
-
creation_datestring (date-time) RequiredDate and time in ISO format
-
audit_infoobject Required-
audiencestring RequiredThe intended recipient or system for this consent tree
-
subjectstring RequiredEmail or identifier of the user who created/updated the resource
-
change_logstring RequiredDescription of the changes made in this update
-
-
segmentstring RequiredRegulated sector where user belongs to. Allowed values: telco, energy
-
users_typestring RequiredType of users the consent tree applies to
-
descriptionstring RequiredDescription of the consent tree
-
default_languagestring RequiredDefault locale for the consent tree
-
allowed_languagesstring[] RequiredList of allowed languages to ask consent text for
-
consents_orderstring[] RequiredOrder of consents in the tree when visualized by user
-
priority_consent_idsstring[] RequiredList of priority consent Ids
-
viewsobject[] RequiredDifferent views (group of consents) for the consent tree
-
viewstring RequiredName of the view
-
consentsstring[] RequiredConsents included in the view
-
-
dependenciesobject[] Required(Optional) Dependencies between consents
-
fatherstring RequiredConsent definition unique identifier (normalized to uppercase without spaces and special characters)
-
childstring[] Requiredconsent_id of the child consents dependent on the father
-
-
captured_channelsstring[] RequiredChannels where the consent tree is applicable to be captured
-
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Configuration
Get available historical definitions consents configured for tenant
/orgs /{org_id} /definitions /{definition_id} /history Retrieves a list of all historical consents definitions for a specific organization.
Path parameters
org_idstringRequiredThe string id related with one of available tenants/organizations
definition_idstringRequiredThe unique identifier of the consent definition to be updated
Query parameters
pageintegerPage number for pagination
page_sizeintegerNumber of items per page
Responses
List of historical consents definitions retrieved successfully
-
pageinteger RequiredCurrent page number
-
page_sizeinteger RequiredNumber of items per page
-
consentsobject[] RequiredArray of historical consent definitions for the specified consent_id
-
versionstring RequiredUnique identifier for this archived consent definition version
-
audit_infoobject Required-
audiencestring RequiredThe intended recipient or system for this consent tree
-
subjectstring RequiredEmail or identifier of the user who created/updated the resource
-
change_logstring RequiredDescription of the changes made in this update
-
-
creation_datestring (date-time) RequiredDate and time in ISO format
-
choice_typestring RequiredConsent statement choice type list:
OPT_IN- Text written in affirmative. May be in pending stateOPT_OUT_NEGATIVE- Text written in negative. It cannot be in pending state and must be represented with a checkboxOPT_OUT_POSITIVE- Text written in affirmative. It cannot be in pending state and must be represented with a checkbox
-
expiration_policyobjectPolicy that defines the expiration behavior of a consent. Only applicable to OPT_IN consent types.
-
durationstring RequiredISO-8601 period duration (e.g., P90D for 90 days, P6M for 6 months, P1Y for 1 year). Maximum allowed is P1Y.
-
-
consentobject[] Required-
languagestring RequiredLanguage in locale in RFC 5646 format (defined in RFC 5646, which rely on the ISO 639). Ex: es, ca, eu, en, fr
-
textstring RequiredFull text of the consent
-
descriptionstring RequiredDetailed description of the consent
-
short_textstring RequiredShortened version of the consent text
-
-
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The user is not authorized
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
The request failed to be processed by the server
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MCONS-000- Internal server errorMCONS-001- Bad request. Parameter is required but it's missingMCONS-002- Bad request. Error during parsingMCONS-003- Bad request. Illegal or inappropriate argumentMCONS-004- Bad request. Model validationMCONS-005- UnauthorizedMCONS-006- Resource not foundMCONS-007- UnauthorizedMCONS-008- UnauthorizedMCONS-009- UnauthorizedMCONS-010- Conflict
-
titlestring RequiredError titles:
PARAMETER_ERROR- Bad request. Parameter is required but it's missingBODY_ERROR- Bad request. Error during parsingILLEGAL_ARGUMENT_ERROR- Bad request. Illegal or inappropriate argumentNOT_VALID_MODEL_ERROR- Bad request. Model validationINVALID_HEADER_ERROR- UnauthorizedRESOURCE_NOT_FOUND- Resource not foundINVALID_AUTHN_HEADER_ERROR- UnauthorizedNOT_VALID_AUTHN_TOKEN_ERROR- Unauthorized
-
refstring RequiredUrl of the error details in developer portal
-
detailsstring RequiredMessage and details of the error
-
Securize
Securize data info into an authn jwt
/orgs /{org_id} /securize Creates or update a consent's user in the system with an array of selections and its metadata
Path parameters
org_idstringRequiredThe string id related with one of Grupo Masmovil tenants/organizations
Request body application/json Required
Custom data to securize
-
customer_idstring Required -
actor_idstring Required -
document_numberstring
Responses
Success response
-
web_component_tokenstring Required