MasDocuments API
Management, storage and distribution of documents for MasStack.
- production
- staging
- Authentication
- Bearer · JWT , Bearer · JWT
- Contact
- administrator · masdoc.squad@masmovil.com
About this API
I am Mas Documents API. My goal is to provide a way of storing and retrieving documents.
Resources 21
- Documents 19 endpoints
Binary documents business logic
- POST Upload a document
/orgs /{org_id} /documents - GET Download a document
/orgs /{org_id} /documents /{documentId} - DELETE Delete a document
/orgs /{org_id} /documents /{documentId} - DELETE Delete a document physically
/orgs /{org_id} /documents /{documentId} /physical - GET Gets metadata associated to a document
/orgs /{org_id} /documents /{documentId} /metadata
- POST Upload a document
- Forms 6 endpoints
Binary documents with field's map to fill
- GET Get uploaded forms metadata by tenant
/orgs /{org_id} /templates /forms - POST Upload a form
/orgs /{org_id} /templates /forms - POST Fill a form
/orgs /{org_id} /templates /forms /{formReference} /fill - GET Get uploaded form metadata.
/orgs /{org_id} /templates /forms /{formReference} /metadata - GET Get form binary file.
/orgs /{org_id} /templates /forms /{formReference}
- GET Get uploaded forms metadata by tenant
- Sections 4 endpoints
Grouping of forms by language
- GET Get all sections metadata by tenant
/orgs /{org_id} /templates /sections - POST Create a section
/orgs /{org_id} /templates /sections - GET Get section metadata.
/orgs /{org_id} /templates /sections /{externalId} /metadata - DELETE Delete section if is not used in templates.
/orgs /{org_id} /templates /sections /{externalId}
- GET Get all sections metadata by tenant
- Templates 10 endpoints
Document builder with sections
- GET Get all templates metadata by tenant
/orgs /{org_id} /templates - POST Create a template
/orgs /{org_id} /templates - POST Upgrade a template
/orgs /{org_id} /templates /{templateExternalId} /versions - PATCH Update a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} - DELETE Delete a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version}
- GET Get all templates metadata by tenant
- Templates Configuration 7 endpoints
Templates Tenant configuration
- GET Get all tenant configuration documents
/orgs /{org_id} /templates /configurations /documents - POST Create a new configuration document
/orgs /{org_id} /templates /configurations /documents - DELETE Delete a configuration document
/orgs /{org_id} /templates /configurations /documents /{documentId} - GET Get all tenant templates configurations
/orgs /{org_id} /templates /configurations - POST Create or update a tenant templates configuration
/orgs /{org_id} /templates /configurations
- GET Get all tenant configuration documents
- DynamicTemplates 11 endpoints
HTML based templates with fields to fill
- GET Get all editable dynamic templates
/orgs /{org_id} /dynamic_templates - POST Create a new dynamic template
/orgs /{org_id} /dynamic_templates - GET Get all minor versions of a major version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} - PATCH Create a new minor version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} - DELETE Delete a major version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version}
- GET Get all editable dynamic templates
- Sign Process 3 endpoints
Access to digital sign processes management.
- Biometric Signature 3 endpoints
Access to biometric signature endpoints.
- Simple Signature 4 endpoints
Access to simple signature endpoints.
- GET Get simple signature information
/orgs /{org_id} /simple_signs /{sign_id} - POST Preview simple signature
/orgs /{org_id} /simple_signs /{sign_id} /preview - POST Sign using simple signature
/orgs /{org_id} /simple_signs /{sign_id} /sign - POST Send simple signature reminder on demand
/orgs /{org_id} /simple_signs /{sign_id} /reminders
- GET Get simple signature information
- Identification Agent 2 endpoints
Digital agent identification services
- Sign Configuration 3 endpoints
Sign Configuration
- Identification OTP 3 endpoints
Digital OTP identification services
- GET Get otp identification process metadata
/orgs /{org_id} /identifications /otp /{identification_id} - PUT OTP identification token validation
/orgs /{org_id} /identifications /otp /{identification_id} /validate - PUT OTP identification token challenge
/orgs /{org_id} /identifications /otp /{identification_id} /challenge
- GET Get otp identification process metadata
- Identification with identity document 2 endpoints
Identification with identity document
- Identification Agent Admin 4 endpoints
Digital agent identification administrative services
- POST Create new agent identification
/orgs /{org_id} /identifications /agent - POST Cancel an agent identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id} /cancel - POST Close an Agent Identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id} /close - DELETE Delete agent identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id}
- POST Create new agent identification
- Identification OTP Admin 4 endpoints
Digital OTP identification administrative services
- POST Create otp identification process
/orgs /{org_id} /identifications /otp - POST Cancel an OTP identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id} /cancel - POST Close an OTP identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id} /close - DELETE Delete otp identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id}
- POST Create otp identification process
- Identification with identity document Admin 3 endpoints
Identification with identity document administrative services
- POST Create new identification
/orgs /{org_id} /identifications /identity_document - POST Cancel an identity document identification process
/orgs /{org_id} /identifications /identity_document /{admin_identification_id} /cancel - POST Close an identity document Identification process
/orgs /{org_id} /identifications /identity_document /{admin_identification_id} /close
- POST Create new identification
- Contracts 4 endpoints
Contracts document services
- Scoring 8 endpoints
Scoring services
- POST Create scoring
/orgs /{org_id} /scorings /identity_document - GET Get identity document captures
/orgs /{org_id} /scorings /identity_document /{scoring_id} /captures - GET Get identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} - PUT Submit identity document images for scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /score - POST Close identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /close
- POST Create scoring
- Securize 1 endpoint
- Identification Chain 3 endpoints
- GET Get chained identification process status
/orgs /{org_id} /identifications /chain /{identification_chain_id} - POST Validate chained identification process
/orgs /{org_id} /identifications /chain /{identification_chain_id} /validate - POST Restart chained identification process.
/orgs /{org_id} /identifications /chain /{identification_chain_id} /restart
- GET Get chained identification process status
- Identification Chain Admin 3 endpoints
- POST Create a chained identification process.
/orgs /{org_id} /identifications /chain - POST Cancel a chained identification
/orgs /{org_id} /identifications /chain /{identification_chain_id} /cancel - POST Close a chained identification process
/orgs /{org_id} /identifications /chain /{identification_chain_id} /close
- POST Create a chained identification process.
MasDocuments API
Management, storage and distribution of documents for MasStack.
- production
- staging
- Authentication
- Bearer · JWT , Bearer · JWT
- Contact
- administrator · masdoc.squad@masmovil.com
About this API
I am Mas Documents API. My goal is to provide a way of storing and retrieving documents.
Resources 21
- Documents 19 endpoints
Binary documents business logic
- POST Upload a document
/orgs /{org_id} /documents - GET Download a document
/orgs /{org_id} /documents /{documentId} - DELETE Delete a document
/orgs /{org_id} /documents /{documentId} - DELETE Delete a document physically
/orgs /{org_id} /documents /{documentId} /physical - GET Gets metadata associated to a document
/orgs /{org_id} /documents /{documentId} /metadata
- POST Upload a document
- Forms 6 endpoints
Binary documents with field's map to fill
- GET Get uploaded forms metadata by tenant
/orgs /{org_id} /templates /forms - POST Upload a form
/orgs /{org_id} /templates /forms - POST Fill a form
/orgs /{org_id} /templates /forms /{formReference} /fill - GET Get uploaded form metadata.
/orgs /{org_id} /templates /forms /{formReference} /metadata - GET Get form binary file.
/orgs /{org_id} /templates /forms /{formReference}
- GET Get uploaded forms metadata by tenant
- Sections 4 endpoints
Grouping of forms by language
- GET Get all sections metadata by tenant
/orgs /{org_id} /templates /sections - POST Create a section
/orgs /{org_id} /templates /sections - GET Get section metadata.
/orgs /{org_id} /templates /sections /{externalId} /metadata - DELETE Delete section if is not used in templates.
/orgs /{org_id} /templates /sections /{externalId}
- GET Get all sections metadata by tenant
- Templates 10 endpoints
Document builder with sections
- GET Get all templates metadata by tenant
/orgs /{org_id} /templates - POST Create a template
/orgs /{org_id} /templates - POST Upgrade a template
/orgs /{org_id} /templates /{templateExternalId} /versions - PATCH Update a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} - DELETE Delete a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version}
- GET Get all templates metadata by tenant
- Templates Configuration 7 endpoints
Templates Tenant configuration
- GET Get all tenant configuration documents
/orgs /{org_id} /templates /configurations /documents - POST Create a new configuration document
/orgs /{org_id} /templates /configurations /documents - DELETE Delete a configuration document
/orgs /{org_id} /templates /configurations /documents /{documentId} - GET Get all tenant templates configurations
/orgs /{org_id} /templates /configurations - POST Create or update a tenant templates configuration
/orgs /{org_id} /templates /configurations
- GET Get all tenant configuration documents
- DynamicTemplates 11 endpoints
HTML based templates with fields to fill
- GET Get all editable dynamic templates
/orgs /{org_id} /dynamic_templates - POST Create a new dynamic template
/orgs /{org_id} /dynamic_templates - GET Get all minor versions of a major version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} - PATCH Create a new minor version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} - DELETE Delete a major version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version}
- GET Get all editable dynamic templates
- Sign Process 3 endpoints
Access to digital sign processes management.
- Biometric Signature 3 endpoints
Access to biometric signature endpoints.
- Simple Signature 4 endpoints
Access to simple signature endpoints.
- GET Get simple signature information
/orgs /{org_id} /simple_signs /{sign_id} - POST Preview simple signature
/orgs /{org_id} /simple_signs /{sign_id} /preview - POST Sign using simple signature
/orgs /{org_id} /simple_signs /{sign_id} /sign - POST Send simple signature reminder on demand
/orgs /{org_id} /simple_signs /{sign_id} /reminders
- GET Get simple signature information
- Identification Agent 2 endpoints
Digital agent identification services
- Sign Configuration 3 endpoints
Sign Configuration
- Identification OTP 3 endpoints
Digital OTP identification services
- GET Get otp identification process metadata
/orgs /{org_id} /identifications /otp /{identification_id} - PUT OTP identification token validation
/orgs /{org_id} /identifications /otp /{identification_id} /validate - PUT OTP identification token challenge
/orgs /{org_id} /identifications /otp /{identification_id} /challenge
- GET Get otp identification process metadata
- Identification with identity document 2 endpoints
Identification with identity document
- Identification Agent Admin 4 endpoints
Digital agent identification administrative services
- POST Create new agent identification
/orgs /{org_id} /identifications /agent - POST Cancel an agent identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id} /cancel - POST Close an Agent Identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id} /close - DELETE Delete agent identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id}
- POST Create new agent identification
- Identification OTP Admin 4 endpoints
Digital OTP identification administrative services
- POST Create otp identification process
/orgs /{org_id} /identifications /otp - POST Cancel an OTP identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id} /cancel - POST Close an OTP identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id} /close - DELETE Delete otp identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id}
- POST Create otp identification process
- Identification with identity document Admin 3 endpoints
Identification with identity document administrative services
- POST Create new identification
/orgs /{org_id} /identifications /identity_document - POST Cancel an identity document identification process
/orgs /{org_id} /identifications /identity_document /{admin_identification_id} /cancel - POST Close an identity document Identification process
/orgs /{org_id} /identifications /identity_document /{admin_identification_id} /close
- POST Create new identification
- Contracts 4 endpoints
Contracts document services
- Scoring 8 endpoints
Scoring services
- POST Create scoring
/orgs /{org_id} /scorings /identity_document - GET Get identity document captures
/orgs /{org_id} /scorings /identity_document /{scoring_id} /captures - GET Get identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} - PUT Submit identity document images for scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /score - POST Close identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /close
- POST Create scoring
- Securize 1 endpoint
- Identification Chain 3 endpoints
- GET Get chained identification process status
/orgs /{org_id} /identifications /chain /{identification_chain_id} - POST Validate chained identification process
/orgs /{org_id} /identifications /chain /{identification_chain_id} /validate - POST Restart chained identification process.
/orgs /{org_id} /identifications /chain /{identification_chain_id} /restart
- GET Get chained identification process status
- Identification Chain Admin 3 endpoints
- POST Create a chained identification process.
/orgs /{org_id} /identifications /chain - POST Cancel a chained identification
/orgs /{org_id} /identifications /chain /{identification_chain_id} /cancel - POST Close a chained identification process
/orgs /{org_id} /identifications /chain /{identification_chain_id} /close
- POST Create a chained identification process.
Documents
Upload a document
/orgs /{org_id} /documents Upload a document from a file name and its content. The document unique identifier and its name are returned.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Request body multipart/form-data Required
File name, content and metadata for creating the document.
-
namestring RequiredName of the document (without spaces). The document is renamed with this value. Maximum 50 characters. It can not contain
\r,\nor\t, and it can not start with=,+,-or@(characters that a spreadsheet reads as a formula). -
extensionstring RequiredFormat of the document to be stored. It must match the format of the binary
Allowed values: pdf, jpeg, jpg, png, html, json, hbs
-
tagsstring[]Free values (user-defined) to tag document. These values are normalized following the next rules:
-
All tags will be converted to UPPERCASE
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
-
contentstring (binary) RequiredDocument content in binary format
Responses
New Document is created. Expected response for a valid request.
-
documentIdstring (uuid) RequiredDocument unique identifier
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Download a document
/orgs /{org_id} /documents /{documentId} Returns the document content as binary data, if document is present; else, returns an error message.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
documentIdstring (uuid)RequiredThe string id related with one of Grupo MasOrange tenants/organizations
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Responses
The document binary content. Expected response to a valid request.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
Content-Typestringdefines response binary media type
Content-Dispositionstringcontains downloaded document file name
Documents
Delete a document
/orgs /{org_id} /documents /{documentId} Delete document.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
documentIdstringRequiredThe string id related with one of Grupo MasOrange tenants/organizations
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Responses
Action executed correctly
-
deletedDocumentIdstring (uuid) Requireddeleted document unique identifier
-
deleteTSstring (date-time) Requiredinstant when document was deleted by first time
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource already deleted
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Delete a document physically
/orgs /{org_id} /documents /{documentId} /physical Delete document physically.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
documentIdstringRequiredThe string id related with one of Grupo MasOrange tenants/organizations
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Responses
Action executed correctly
-
deletedDocumentIdstring (uuid) Requireddeleted document unique identifier
-
deleteTSstring (date-time) Requiredinstant when document was deleted by first time
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource already deleted
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Gets metadata associated to a document
/orgs /{org_id} /documents /{documentId} /metadata Returns metadata information associated to a document
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
documentIdstring (uuid)RequiredThe string id related with one of Grupo MasOrange tenants/organizations
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Responses
Expected response for a valid request.
-
documentIdstring (uuid) RequiredDocument unique identifier
-
namestring RequiredName of the document (without spaces). The document is renamed with this value.
-
tagsstring[] RequiredFree values (user-defined) to tag document. These values are normalized following the next rules:
-
All tags will be converted to UPPERCASE
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
-
extensionstring RequiredFormat of the document to be stored. It must match the format of the binary
Allowed values: pdf, jpeg, jpg, png, html, json, hbs
-
archiveHashstring RequiredDocument hash digest
-
sizeinteger RequiredThe size of the document in bytes.
-
isPublicboolean RequiredIndicates if document is public (without owner) or private (with owner defined)
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Generate a temporal public accesible download url
/orgs /{org_id} /documents /{documentId} /public_url Returns the url to download the specified document, if document is present and reachable; else, returns an error message.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
documentIdstring (uuid)RequiredThe string id related with one of Grupo MasOrange tenants/organizations
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Request body application/json Required
Duration before public url expires and becomes not accesible
-
expiresInstringDefault to 24 hours. Max 24 hours. Validity duration time (ISO-8601 format) of the public url from now.
-
downloadDispositionstringControls the disposition of the content (if the PDF is rendered inline or downloaded).
Allowed values "attachment" or "inline".
Responses
The generated public url. Expected response to a valid request.
-
expirationDatestring RequiredTimestamp (ISO-8601 format) at which public url becomes inaccesible.
-
publicUrlstring RequiredSigned url fully accessible without authentication or authorization.
-
mediaTypestringBinary media type of the downloadable document
-
namestring RequiredName of the downloadable document
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Change document owner
/orgs /{org_id} /documents /{documentId} /owner Changes document owner, if document exists and is already private; else, returns an error message.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
documentIdstring (uuid)RequiredThe string id related with one of Grupo MasOrange tenants/organizations
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Request body application/json Required
The identifier of the new owner to whom ownership of the document is transferred
-
newOwnerstringThe identifier of the new owner of the document. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Responses
Ownership change succeeded. Expected response to a valid request.
-
ownerstring RequiredThe normalized identifier of the new owner of the document
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
List executions of an ingestion
/orgs /{org_id} /documents /ingestions /{ingestion_id} /executions Returns a paginated list of executions for a given ingestion, ordered from the most recent to the oldest.
Results can be filtered by execution status and by a temporal range over the execution start instant.
Queries are always restricted to the tenant of the bearer token: cross-tenant access yields 404.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
Query parameters
statusstringOptional filter by execution global status.
from_datestring (date-time)Inclusive lower bound (ISO-8601) of the temporal range to filter results by.
to_datestring (date-time)Exclusive upper bound (ISO-8601) of the temporal range to filter results by.
page_sizeintegerNumber of items per page. Defaults to 50. Maximum 200.
starting_afterstringOpaque cursor token returned in the previous page's next_page_token. Use to navigate to the next page.
ending_beforestringOpaque cursor token returned in the previous page's previous_page_token. Use to navigate to the previous page.
Responses
Page of executions for the given ingestion.
-
executionsobject[] RequiredPage of executions, ordered from the most recent to the oldest.
-
execution_idstring Required -
ingestion_idstring Required -
started_datestring (date-time) RequiredInstant at which the execution started.
-
finished_datestring (date-time)Instant at which the execution finished. Absent while the execution is still running.
-
statusstring RequiredGlobal result of an execution. An execution can be in one of the following statuses:
-
ONGOING: The execution is still in progress. -
SUCCESS: The execution finished and every processed binary ended in a successful result. -
PARTIAL: The execution finished but some binaries ended in a non-successful result (e.g. rejected as duplicate or failed). -
FAILED: The execution finished and no binary could be ingested.
-
-
countersobject RequiredAggregated counters of an execution.
-
totalinteger (int64) RequiredTotal binaries processed by the execution.
-
ingestedinteger (int64) Required -
overriddeninteger (int64) Required -
rejected_duplicateinteger (int64) Required -
failedinteger (int64) Required
-
-
-
next_page_tokenstring | nullOpaque cursor token to fetch the next page. Absent when there is no next page.
-
previous_page_tokenstring | nullOpaque cursor token to fetch the previous page. Absent when there is no previous page.
Request input is not valid (e.g. invalid id, status, timestamp, page_size > 200).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN/AuthZ validations have failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forbidden. Scope not allowed to read executions.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Ingestion not found or belongs to a different tenant.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Not expected error.
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Get execution detail
/orgs /{org_id} /documents /ingestions /{ingestion_id} /executions /{execution_id} Returns the detail of a single execution (metadata + counters).
The response never embeds the list of processed binaries — that detail is exposed only
through the dedicated paginated endpoint.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
execution_idstringRequiredUnique identifier of an execution within the ingestion.
Responses
Execution detail.
-
execution_idstring Required -
ingestion_idstring Required -
started_datestring (date-time) RequiredInstant at which the execution started.
-
finished_datestring (date-time)Instant at which the execution finished. Absent while the execution is still running.
-
statusstring RequiredGlobal result of an execution. An execution can be in one of the following statuses:
-
ONGOING: The execution is still in progress. -
SUCCESS: The execution finished and every processed binary ended in a successful result. -
PARTIAL: The execution finished but some binaries ended in a non-successful result (e.g. rejected as duplicate or failed). -
FAILED: The execution finished and no binary could be ingested.
-
-
countersobject RequiredAggregated counters of an execution.
-
totalinteger (int64) RequiredTotal binaries processed by the execution.
-
ingestedinteger (int64) Required -
overriddeninteger (int64) Required -
rejected_duplicateinteger (int64) Required -
failedinteger (int64) Required
-
Request input is not valid (e.g. invalid id).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN/AuthZ validations have failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forbidden. Scope not allowed to read executions.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Ingestion or execution not found, or belongs to a different tenant.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Not expected error.
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
List processed binaries of an execution
/orgs /{org_id} /documents /ingestions /{ingestion_id} /executions /{execution_id} /processed-binaries Returns the paginated list of binaries processed by a given execution.
Designed to sustain executions with millions of binaries without exhausting memory or bandwidth.
Results can be filtered by processing outcome and by a temporal range over the recorded instant.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
execution_idstringRequiredUnique identifier of an execution within the ingestion.
Query parameters
resultstringOptional filter by per-binary processing result.
from_datestring (date-time)Inclusive lower bound (ISO-8601) of the temporal range to filter results by.
to_datestring (date-time)Exclusive upper bound (ISO-8601) of the temporal range to filter results by.
page_sizeintegerNumber of items per page. Defaults to 50. Maximum 200.
starting_afterstringOpaque cursor token returned in the previous page's next_page_token. Use to navigate to the next page.
ending_beforestringOpaque cursor token returned in the previous page's previous_page_token. Use to navigate to the previous page.
Responses
Page of processed binaries for the given execution.
-
execution_binariesobject[] Required-
filenamestring RequiredOriginal filename of the ingested binary.
-
resultstring RequiredPer-binary processing result within an execution. Possible values:
-
INGESTED: The binary was ingested as a new document. -
OVERRIDDEN: The binary replaced a previously ingested document with the same filename (conflict policy OVERRIDE). -
REJECTED_DUPLICATE: The binary was rejected because a document with the same filename already existed in the ingestion (conflict policy BLOCK). -
FAILED: The binary could not be processed due to an error.
-
-
document_idstring | nullIdentifier of the resulting document when the result produced one (INGESTED / OVERRIDDEN). Null otherwise.
-
error_messagestring | nullHuman-readable error message when the result is FAILED. Null otherwise.
-
recorded_datestring (date-time) RequiredInstant at which the result was recorded.
-
-
next_page_tokenstring | nullOpaque cursor token to fetch the next page. Absent when there is no next page.
-
previous_page_tokenstring | nullOpaque cursor token to fetch the previous page. Absent when there is no previous page.
Request input is not valid (e.g. invalid id, result, timestamp, page_size > 200).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN/AuthZ validations have failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forbidden. Scope not allowed to read executions.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Ingestion or execution not found, or belongs to a different tenant.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Not expected error.
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
List ingestions of a tenant
/orgs /{org_id} /documents /ingestions Returns a paginated list of ingestions for a given tenant, ordered from the most recent to the oldest.
Results can be filtered by ingestion status.
Queries are always restricted to the tenant of the bearer token: cross-tenant access yields 404.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
Query parameters
statusstringIngestion status to filter by (open, closed).
starting_afterstringOpaque HMAC-signed cursor returned as
next_page_tokenby a previous response. Send it unchanged to request the next page. Filter parameters (status) andpage_sizemust match the original request that generated the token. Mutually exclusive withending_before.ending_beforestringOpaque HMAC-signed cursor returned as
previous_page_tokenby a previous response. Send it unchanged to request the previous page. Filter parameters (status) andpage_sizemust match the original request that generated the token. Mutually exclusive withstarting_after.page_sizeintegerNumber of items per page. Defaults to 50. Maximum 200.
Responses
Page of ingestions for the given tenant.
-
itemsobject[] RequiredPage of ingestions, ordered from most recent to oldest.
-
idstring RequiredUnique identifier of the ingestion.
-
tagsstring[] RequiredLabels attached to the ingestion.
-
conflict_policystring RequiredConflict resolution policy of the ingestion (block or override).
-
statusstring RequiredCurrent status of the ingestion (open or closed).
-
creation_datestring (date-time) RequiredInstant at which the ingestion was created.
-
modification_datestring (date-time) RequiredInstant at which the ingestion was last updated.
-
-
page_sizeinteger RequiredNumber of items returned per page (max 200).
-
next_page_tokenstring | nullOpaque token pointing to the next page of results.
-
previous_page_tokenstring | nullOpaque token pointing to the previous page of results.
Request input is not valid.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN/AuthZ validations have failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forbidden.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Tenant not found.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Create an ingestion
/orgs /{org_id} /documents /ingestions Creates a new ingestion.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
Request body application/json Required
Details of the ingestion to create.
-
tagsstring[] RequiredLabels attached to the ingestion (up to 5 per ingestion).
-
conflict_policystring RequiredConflict resolution policy of the ingestion (block or override).
Responses
Ingestion successfully created.
-
idstring RequiredUnique identifier of the ingestion.
-
tagsstring[] RequiredLabels attached to the ingestion.
-
conflict_policystring RequiredConflict resolution policy of the ingestion (block or override).
-
statusstring RequiredCurrent status of the ingestion (open or closed).
-
creation_datestring (date-time) RequiredInstant at which the ingestion was created.
-
modification_datestring (date-time) RequiredInstant at which the ingestion was last updated.
Request input is not valid (malformed body, missing required fields, invalid format).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN validation has failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The caller's scope is not authorized to create ingestions.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Get ingestion detail
/orgs /{org_id} /documents /ingestions /{ingestion_id} Returns the detail of a single ingestion (metadata + configuration).
Queries are always restricted to the tenant of the bearer token: cross-tenant access yields 404.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
Responses
Ingestion detail.
-
idstring RequiredUnique identifier of the ingestion.
-
tagsstring[] RequiredLabels attached to the ingestion.
-
conflict_policystring RequiredConflict resolution policy of the ingestion (block or override).
-
statusstring RequiredCurrent status of the ingestion (open or closed).
-
creation_datestring (date-time) RequiredInstant at which the ingestion was created.
-
modification_datestring (date-time) RequiredInstant at which the ingestion was last updated.
Request input is not valid.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN/AuthZ validations have failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forbidden.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Ingestion not found or belongs to a different tenant.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Update an open ingestion
/orgs /{org_id} /documents /ingestions /{ingestion_id} Updates an open ingestion. The update is partial: it only updates the fields that
are present in the request body. Trying to modify an already-closed ingestion
returns 409 without modifying anything.
Cross-tenant access yields 404.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
Request body application/json Required
Details of the ingestion to update.
-
conflict_policystringConflict resolution policy of the ingestion (block or override).
Responses
Ingestion successfully updated.
-
idstring RequiredUnique identifier of the ingestion.
-
tagsstring[] RequiredLabels attached to the ingestion.
-
conflict_policystring RequiredConflict resolution policy of the ingestion (block or override).
-
statusstring RequiredCurrent status of the ingestion (open or closed).
-
creation_datestring (date-time) RequiredInstant at which the ingestion was created.
-
modification_datestring (date-time) RequiredInstant at which the ingestion was last updated.
Request input is not valid (e.g. invalid ingestion id format).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN/AuthZ validations have failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forbidden. Scope not allowed to update ingestions.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Ingestion not found or belongs to a different tenant.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Ingestion already closed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Deconsolidate an ingested document
/orgs /{org_id} /documents /ingestions /{ingestion_id} /deconsolidate Reverts the consolidation of a document previously consolidated in the given ingestion. The client identifies the document by its document identifier. The service determines the original provisional owner internally.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
Request body application/json Required
Identifier of the document to deconsolidate.
-
document_idstring RequiredUnique identifier of a document stored in mas-documents
Responses
Document successfully deconsolidated.
-
document_idstring RequiredUnique identifier of a document stored in mas-documents
Request input is not valid (malformed body, missing required fields, invalid id format).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN validation has failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The caller's scope is not authorized to deconsolidate ingested documents.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Either the ingestion does not exist or the document was not ingested in the given ingestion.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The document is not consolidated or the ingestion is closed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Close an ingestion
/orgs /{org_id} /documents /ingestions /{ingestion_id} /close Closes an open ingestion. The operation is idempotent: closing an already-closed ingestion
returns 200 with the current state without modifying anything.
Cross-tenant access yields 404.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
Responses
Ingestion successfully closed (or already closed).
-
idstring RequiredUnique identifier of the ingestion.
-
tagsstring[] RequiredLabels attached to the ingestion.
-
conflict_policystring RequiredConflict resolution policy of the ingestion (block or override).
-
statusstring RequiredCurrent status of the ingestion (open or closed).
-
creation_datestring (date-time) RequiredInstant at which the ingestion was created.
-
modification_datestring (date-time) RequiredInstant at which the ingestion was last updated.
Request input is not valid (e.g. invalid ingestion id format).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN/AuthZ validations have failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forbidden. Scope not allowed to close ingestions.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Ingestion not found or belongs to a different tenant.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Consolidate an ingested document
/orgs /{org_id} /documents /ingestions /{ingestion_id} /consolidate Consolidates a document previously ingested in the given ingestion under the consumer domain's final owner. The client identifies the document by the pair (ingestion, original filename) and supplies the final business owner; provisional owners are never sent.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
ingestion_idstringRequiredUnique identifier of the ingestion.
Request body application/json Required
Original filename of the ingested binary and the final business owner that will take ownership of the document.
-
filenamestring RequiredOriginal filename of the binary as it was ingested. Identifies the document inside the ingestion together with the ingestion id.
-
owner_finalstring RequiredFinal business owner that will take ownership of the document after consolidation. Conventionally prefixed by the consumer-domain entity (e.g.
contract:<uuid>,billing:<uuid>,subscription:<id>).
Responses
Document successfully consolidated under the final owner.
-
document_idstring RequiredUnique identifier of a document stored in mas-documents
-
filenamestring RequiredOriginal filename of the binary as it was ingested. Identifies the document inside the ingestion together with the ingestion id.
Request input is not valid (malformed body, missing required fields, invalid filename or owner format).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN validation has failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The caller's scope is not authorized to consolidate ingested documents.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Either the ingestion does not exist or the document was not ingested in the given ingestion.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The document is already consolidated or the ingestion is closed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Create a dump job
/orgs /{org_id} /documents /dumps Registers an asynchronous dump job for a set of documents. The CSV input file contains
one document_id,owner pair per row, without header. The endpoint only performs synchronous
request-format validations, stores the CSV in the MasDocuments transfer bucket and creates
the job in CREATED status. Document existence, ownership and deletion checks are executed
asynchronously by the background orchestrator, and per-row errors are reported in the final
job report without stopping the job.
The optional Idempotency-Key header makes the request safe to retry.
The key is a UUID
and the Client-Id header is required with it: the key is unique per
tenant and client.
The first request with a key creates the job. Every later request with the same key and
client in the same tenant creates no new job and stores no new CSV: it returns 202 with the
existing job in its current state. The payload of a repeated request is not compared with
the original one. Request-format validations still apply to a repeated request. A key is
kept for the lifetime of the job. A Client-Id sent without
Idempotency-Key must be
valid but is not used.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
Header parameters
Idempotency-Keystring (uuid)Optional client-generated UUID in canonical format (8-4-4-4-12 hexadecimal digits) that makes the request idempotent within the tenant and the client. Upper and lower case are accepted and are the same key. Requires the Client-Id header.
Client-IdstringIdentifier of the calling client that scopes the Idempotency-Key. Required when Idempotency-Key is sent. When sent without Idempotency-Key it must be valid but is not used. 1 to 64 letters, digits, underscore, dot or hyphen. Upper and lower case are the same client.
Request body multipart/form-data Required
Document claims to dump and destination bucket of the dump.
-
document_claimsstring (binary) RequiredDocuments claimed for the dump, as a CSV with one document_id,owner pair per row. Format: UTF-8, comma delimiter, no header, exactly two columns per row, RFC 4180 quoting (a value containing a comma or a double quote must be enclosed in double quotes, with embedded quotes doubled). A file that does not follow this format is rejected at preparation: no document is transferred and the job ends FAILED with error_message "input csv could not be parsed: N row(s) do not have exactly two comma-separated fields (RFC 4180 quoting)". No report is produced in that case (there are no rows to report on); the submitted file is kept at input_csv_location. A value containing a comma that is not quoted counts as malformed. Ownership is validated asynchronously per row.
-
destinationstring RequiredUn-encoded destination URI where the dump will be transferred, with an optional pre-existing route inside the bucket. Characters are taken literally, do not percent-encode. Currently only gs:// destinations are supported. Example: gs://billing-documents-prod/dumps/junio/lote-1
Responses
Dump job accepted. Processing happens asynchronously. A repeated request with the same Idempotency-Key returns the existing job in its current state.
-
idstring RequiredUnique identifier of the dump job.
-
statusstring RequiredCurrent status of the dump job (CREATED right after acceptance).
-
creation_datestring (date-time) RequiredInstant at which the dump job was created.
Request input is not valid (missing or empty file, malformed destination, malformed CSV first row, public or missing destination bucket, missing destination path, malformed Idempotency-Key, Idempotency-Key without Client-Id, malformed Client-Id).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN validation has failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The caller's scope is not authorized to create dump jobs, or MasDocuments cannot write to the destination bucket.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Documents
Get a dump job
/orgs /{org_id} /documents /dumps /{job_id} Returns the current state of a dump job, read directly from the MasDocuments store.
The endpoint is strictly read-only and never queries external transfer services, so
the returned state is as fresh as the last background orchestrator execution.
Document counters appear once processing starts, the report location appears when
the job is CLOSED and the error message appears when the job is FAILED.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants.
job_idstringRequiredUnique identifier of the dump job, returned when the job was created.
Responses
Current state of the dump job.
-
idstring RequiredUnique identifier of the dump job.
-
statusstring RequiredCurrent status of the dump job. One of: CREATED, RUNNING, IN_PROGRESS, TRANSFERED, CLOSED, FAILED.
-
destinationstring RequiredDestination URI of the dump in its percent-encoded canonical form.
-
documentsobjectConsolidated document counters of the dump job. Absent until processing starts.
-
totalinteger RequiredTotal number of rows in the input CSV.
-
processedintegerNumber of rows validated and prepared for transfer. Absent until preparation runs.
-
dumpedintegerNumber of documents copied to the destination bucket. Absent until the transfer is reconciled.
-
-
report_locationstringURI of the final report (
report.csv) deposited under the destination path, in themas-documents-dump-report/{job_id}/subfolder. Present once the report has been delivered (CLOSED, or FAILED with errors listed per row). -
error_messagestringShort, client-safe reason of the failure that moved the job to FAILED (never contains internal paths or queries). Present when the job is FAILED, or on a TRANSFERED job whose report upload is being retried ("report upload failed"). Preparation failures use a fixed vocabulary, e.g. "input csv could not be parsed: N row(s) do not have exactly two comma-separated fields (RFC 4180 quoting)", "no documents ready to transfer: 0 of N claims passed validation", "dump preparation failed"; a failed transfer reports "STS transfer job failed"; a finished job with error rows reports "dump finished with errors: ok=… error_sts=… error_not_found_at_sts=… error_processing=… rejected=…".
-
creation_datestring (date-time) RequiredInstant at which the dump job was created.
-
modification_datestring (date-time) RequiredInstant of the last state change of the dump job.
Request input is not valid (malformed job id).
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized. AuthN validation has failed.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The caller's scope is not authorized to read dump jobs.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Dump job not found or belongs to a different tenant.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unexpected server error.
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forms
Get uploaded forms metadata by tenant
/orgs /{org_id} /templates /forms Get all stored forms metadata (by tenant)
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Query parameters
pageintegerDefines forms page number to be show. If not defined, default value is 0 (first page).
pageSizeintegerDefines the number of forms returned in each page. If not defined, default value is 50.
Responses
The forms metadata is returned. Expected response for a valid request.
-
totalResultsinteger RequiredNumber of total forms to get
-
currentPageinteger RequiredCurrent page
-
formsobject[] Required-
idstring (uuid) Requiredform unique identifier
-
externalIdstring Requiredform name normalized
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
tagsstring[]Five free values (user-defined) to tag form. These values are normalized following the next rules:
-
All tags will be converted to uppercase
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
-
creationDatestring (date-time) Requireddate of creation of the form
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forms
Upload a form
/orgs /{org_id} /templates /forms Upload a form from a file name and its content. The form unique identifier and its name are returned.The map of the fillable fields will be extracted.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Request body multipart/form-data Required
File name, content and metadata for creating the form.
-
namestring RequiredName of the form (without spaces). The form is renamed with this value (will be normalized on form external Id). Maximum 50 characters. It can not contain
\r,\nor\t, and it can not start with=,+,-or@(characters that a spreadsheet reads as a formula). -
extensionstring RequiredFormat of the form to be stored. It must match the format of the binary Allowed values: pdf
-
tagsstring[]Five free values (user-defined) to tag form. These values are normalized following the next rules:
-
All tags will be converted to uppercase
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
-
contentstring (binary) RequiredDocument content in binary format
Responses
New form is created. Expected response for a valid request.
-
idstring (uuid) Requiredform unique identifier
-
externalIdstring Requiredform name normalized
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
tagsstring[]Five free values (user-defined) to tag form. These values are normalized following the next rules:
-
All tags will be converted to uppercase
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
-
creationDatestring (date-time) Requireddate of creation of the form
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Conflict. Resource already exist
No body.
Request input can not be processed (is incomplete)
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forms
Fill a form
/orgs /{org_id} /templates /forms /{formReference} /fill Returns the filled form as PDF file, if form exists; else, returns an error message.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
formReferencestringRequiredThe external id or id of the form
Request body application/json Required
values to fill a form
-
fieldsValuesobject[] Requiredform variables whose values will be printed in the filled form
-
namestring RequiredForm field name
-
valuestring RequiredForm field value
-
-
fillModestringAllowed values: 'default', 'raw'
Describes character's filter process to execute when fill a form/template:
-
'default' (also when no value or unrecognized value): all non alfa-numeric characters are escaped and replaced by '?'
-
'raw': like 'default' but 'tabulation' and 'end of line' characters are allowed
-
Responses
The filled form as pdf document. Expected response to a valid request.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
Content-Typestringdefines response binary media type
Content-Dispositionstringcontains downloaded filled form
Forms
Get uploaded form metadata.
/orgs /{org_id} /templates /forms /{formReference} /metadata Get uploaded form metadata by form id. This endpoint returns the same response as create form endpoint.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
formReferencestringRequiredThe string 'id' or 'external id' of the desired form
Responses
The form metadata is returned. Expected response for a valid request.
-
idstring (uuid) Requiredform unique identifier
-
externalIdstring Requiredform name normalized
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
tagsstring[]Five free values (user-defined) to tag form. These values are normalized following the next rules:
-
All tags will be converted to uppercase
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
-
creationDatestring (date-time) Requireddate of creation of the form
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Forms
Get form binary file.
/orgs /{org_id} /templates /forms /{formReference} Download form
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
formReferencestringRequiredThe string 'id' or 'external id' of the desired form
Responses
The form binary content. Expected response to a valid request.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
Content-Typestringdefines response binary media type
Content-Dispositionstringcontains downloaded form name
Forms
Delete form and its documents
/orgs /{org_id} /templates /forms /{formReference} Delete form
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
formReferencestringRequiredThe string 'id' or 'external id' of the desired form
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
conflict if form is in some section
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sections
Get all sections metadata by tenant
/orgs /{org_id} /templates /sections Get all stored sections info (by tenant) sorted by creation date in descending order. Results can be paginated by page and pageSize.
If any values of page or pageSize are be provided, response will be all sections in one page (no pagination).
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Query parameters
pageintegerDefines sections page number to be show. If not defined, default value is 0 (first page).
pageSizeintegerDefines the number of sections returned in each page. If not defined, default value is 50.
Responses
The sections metadata is returned. Expected response for a valid request.
-
totalResultsinteger RequiredNumber of total sections to get
-
currentPageinteger RequiredCurrent page
-
sectionsobject[] RequiredList of sections metadata
-
externalIdstring Requirednormalized name of section (external id)
-
formsobject[] Requireddefines which form is defined to each language
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
formExternalIdstring RequiredForm name (normalized)
-
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
creationDatestring (date-time) Required
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sections
Create a section
/orgs /{org_id} /templates /sections Create a new section of forms
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Request body application/json Required
metadata for creating a language section
-
sectionNamestring Requiredname of section of forms (will be normalized on section external Id)
-
formsobject[] Requireddefines which form is defined to each language
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
formExternalIdstring RequiredForm name (normalized)
-
Responses
New section is created. Expected response for a valid request.
-
externalIdstring Requirednormalized name of section (external id)
-
formsobject[] Requireddefines which form is defined to each language
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
formExternalIdstring RequiredForm name (normalized)
-
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
creationDatestring (date-time) Required
Section created successfully.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Conflict. Resource already exist
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sections
Get section metadata.
/orgs /{org_id} /templates /sections /{externalId} /metadata Get section metadata by section external id. This endpoint returns the same response as create section endpoint.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
externalIdstringRequiredThe external id of the desired section
Responses
The section metadata is returned. Expected response for a valid request.
-
externalIdstring Requirednormalized name of section (external id)
-
formsobject[] Requireddefines which form is defined to each language
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
formExternalIdstring RequiredForm name (normalized)
-
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
creationDatestring (date-time) Required
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sections
Delete section if is not used in templates.
/orgs /{org_id} /templates /sections /{externalId} Delete section by section external id.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
externalIdstringRequiredThe external id of the desired section
Responses
The section is deleted successfully
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Conflict. Section is in use in some template
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Get all templates metadata by tenant
/orgs /{org_id} /templates Get all stored templates info (by tenant) sorted by creation date in descending order. Results can be paginated by page and pageSize.
If any values of page or pageSize are be provided, response will be all templates in one page (no pagination).
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Query parameters
pageintegerDefines templates page number to be show. If not defined, default value is 0 (first page).
pageSizeintegerDefines the number of templates returned in each page. If not defined, default value is 50.
Responses
The templates metadata is returned. Expected response for a valid request.
-
totalResultsinteger RequiredNumber of total templates to get
-
currentPageinteger RequiredCurrent page
-
templatesobject[] RequiredList of templates metadatas
-
externalIdstring Requirednormalized name of template (external id)
-
versionstring RequiredHigher version of the template
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
languagesstring[] Requiredlist of available languages for the template
-
orderedSectionNamesstring[] Requiredlist sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
-
creationDatestring (date-time) Requireddate when template was created
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Create a template
/orgs /{org_id} /templates Create a new template of sections
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Request body application/json Required
Metadata for creating a template from language sections.
-
templateNamestring Requiredname of template of sections (will be normalized on template external Id)
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
orderedSectionNamesstring[] Requiredlist sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
Responses
New template is created. Expected response for a valid request.
-
externalIdstring Requirednormalized name of template (external id)
-
versionstring RequiredHigher version of the template
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
languagesstring[] Requiredlist of available languages for the template
-
orderedSectionNamesstring[] Requiredlist sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
-
creationDatestring (date-time) Requireddate when template was created
Template created successfully.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Conflict. Resource already exist
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Upgrade a template
/orgs /{org_id} /templates /{templateExternalId} /versions Upgrading a template version creating a new one with it is own use contract
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the template
Request body application/json Required
Metadata for upgrading a template from language sections
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
orderedSectionNamesstring[] Requiredlist sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
-
changelogstring
Responses
New version template is created. Expected response for a valid request.
-
externalIdstring Requirednormalized name of template (external id)
-
versionstring RequiredHigher version of the template
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
languagesstring[] Requiredlist of available languages for the template
-
orderedSectionNamesstring[] Requiredlist sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
-
creationDatestring (date-time) Requireddate when template was created
Template upgraded successfully.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Update a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} Update a template version without change use contract
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the template
versionintegerRequiredversion of the template to be updated
Request body application/json Required
Metadata for upgrading a template from language sections
-
defaultLanguagestringTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
orderedSectionNamesstring[]list sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
-
changelogstring
Responses
Version template is updated. Expected response for a valid request.
-
externalIdstring Requirednormalized name of template (external id)
-
versionstring RequiredHigher version of the template
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
languagesstring[] Requiredlist of available languages for the template
-
orderedSectionNamesstring[] Requiredlist sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
-
creationDatestring (date-time) Requireddate when template was created
Template updated successfully.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Conflict. Resource already exist
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Delete a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} Delete the latest major version of a template
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the template
versionintegerRequiredversion of the template to be updated
Responses
Template deleted successfully.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Conflict. Major version can not be deleted, it is not latest
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Delete a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} /minor Delete the latest minor version of a template
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the template
versionintegerRequiredversion of the template to be updated
Responses
Template deleted successfully.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Conflict. Minor version can not be deleted
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Fill a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} /fill Returns the filled template as PDF file, if template exists; else, returns an error message.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the template
versionintegerRequiredversion of the template to be updated
Request body application/json Required
Metadata to fill a template
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
flagsConditionsstring[]list of conditions which trigger specific sections of the template to be filled
-
fieldsValuesobject[] Requiredform variables whose values will be printed in the filled form
-
namestring RequiredForm field name
-
valuestring RequiredForm field value
-
-
fillModestringAllowed values: 'default', 'raw'
Describes character's filter process to execute when fill a form/template:
-
'default' (also when no value or unrecognized value): all non alfa-numeric characters are escaped and replaced by '?'
-
'raw': like 'default' but 'tabulation' and 'end of line' characters are allowed
-
Responses
The filled template as pdf document. Expected response to a valid request.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
Content-Typestringdefines response binary media type
Content-Dispositionstringcontains downloaded filled template
X-Tenant-Config-Versionstringtenant config version used to fill
X-Template-Versionstringtemplate version used to fill
Templates
Fill a template
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} /fill /documents Fill a template and return documentId (storage reference)
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the template
versionintegerRequiredversion of the template to be updated
Header parameters
x-auth-ownerstringThe string id related with the document owner. It is mandatory when document is not public. Allowed characters: letters, digits, underscore, dot and hyphen (max 255)
Request body application/json Required
Metadata to fill a template
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
flagsConditionsstring[]list of conditions which trigger specific sections of the template to be filled
-
fieldsValuesobject[] Requiredform variables whose values will be printed in the filled form
-
namestring RequiredForm field name
-
valuestring RequiredForm field value
-
-
namestringName of the document (without spaces). The document is renamed with this value. Maximum 50 characters. It can not contain
\r,\nor\t, and it can not start with=,+,-or@(characters that a spreadsheet reads as a formula). -
tagsstring[]Five free values (user-defined) to tag form. These values are normalized following the next rules:
-
All tags will be converted to uppercase
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
-
fillModestringAllowed values: 'default', 'raw'
Describes character's filter process to execute when fill a form/template:
-
'default' (also when no value or unrecognized value): all non alfa-numeric characters are escaped and replaced by '?'
-
'raw': like 'default' but 'tabulation' and 'end of line' characters are allowed
-
-
flattenbooleanDescribes if the filled template will be flattened or not.
Responses
The filled template as pdf document. Expected response to a valid request.
-
documentIdstring (uuid) RequiredDocument unique identifier
-
renamedKeysobject[] RequiredList of template keys which name has changed from original template
-
currentNamestring RequiredCurrent template key name
-
originalNamestring RequiredOriginal template key name
-
-
languagestringTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
X-Tenant-Config-Versionstringtenant config version used to fill
X-Template-Versionstringtemplate version used to fill
Templates
Get template metadata.
/orgs /{org_id} /templates /{templateExternalId} /versions /{version} /metadata Get template metadata by template external id. This endpoint returns the same response as create template endpoint.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the desired template
versionintegerRequiredversion of the template
Query parameters
includestringDefine extra options to include in response. Values:
- 'history': return all versions (previous minor versions) of a major template version
Responses
The template metadata is returned. Expected response for a valid request.
-
templatesobject[]List of templates metadatas
-
externalIdstring Requirednormalized name of template (external id)
-
versionstring RequiredHigher version of the template
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
languagesstring[] Requiredlist of available languages for the template
-
orderedSectionNamesstring[] Requiredlist sections external Ids that belongs to the template IN THE ORDER in which they should be concatenated when filled
-
fieldsobject[] Requiredlist all fields types
-
typestring RequiredName of the field
-
keystring RequiredType of the field
-
-
rulesobject[]defines conditions rules that have to be matched in fill flags values, to allow this section to be filled
-
sectionExternalIdstring RequiredSection external Id (section name normalized)
-
conditionstring RequiredTuple FLAG:VALUE (flag and expected value) that will evaluated to know if this section have to be filled
-
-
creationDatestring (date-time) Requireddate when template was created
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates
Get template changelog history.
/orgs /{org_id} /templates /{templateExternalId} /changelog Get template change log history by template's external id.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
templateExternalIdstringRequiredThe external id of the desired template
Responses
The template changelog history is returned. Expected response for a valid request.
-
changelogHistoryobject[] Requiredlist of all template's version changes with its changelog and date
-
fromVersionstring RequiredInitial version before template change
-
toVersionstring RequiredFinal version after template change
-
onDatestring (date-time) Requireddate when template was changed
-
changelogstring Requiredchange log defined by user when template changes
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates Configuration
Get all tenant configuration documents
/orgs /{org_id} /templates /configurations /documents Get all configuration documents
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Responses
Tenant all templates configurations
-
totalResultsinteger RequiredNumber of total forms to get
-
currentPageinteger RequiredCurrent page
-
itemsobject[] RequiredList of configuration documents
-
idstring (uuid) RequiredTemplates document unique identifier.
-
namestring RequiredName of the document.
-
extensionstring RequiredFormat of the document.
-
creationDatestring (date-time) RequiredCreation date of the document.
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Request input can not be processed (is incomplete)
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates Configuration
Create a new configuration document
/orgs /{org_id} /templates /configurations /documents Upload a new document to be used in templates
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Query parameters
pageintegerDefines templates configuration page number to be show. If not defined, default value is 0 (first page).
pageSizeintegerDefines the number of items returned in each page. If not defined, default value is 50.
namestringFilter by document name
extensionstringFilter by document extension
Request body multipart/form-data Required
Define configuration fields with value by language
-
namestring RequiredName of the document (without spaces). Maximum 50 characters. It can not contain
\r,\nor\t, and it can not start with=,+,-or@(characters that a spreadsheet reads as a formula). -
extensionstring RequiredFormat of the document to be stored. It must match the format of the binary
Allowed values: jpeg, jpg, png
-
contentstring (binary) RequiredDocument content in binary format
Responses
Configuration is created. Expected response for a valid request.
-
idstring (uuid) RequiredTemplates document unique identifier
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Request input can not be processed (is incomplete)
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates Configuration
Delete a configuration document
/orgs /{org_id} /templates /configurations /documents /{documentId} Delete a configuration document
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
documentIdstringRequiredThe id of the configuration document to delete
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
conflict if the configuration document is referenced by a template configuration
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates Configuration
Get all tenant templates configurations
/orgs /{org_id} /templates /configurations Get all tenant templates configurations
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Query parameters
pageintegerDefines templates configuration page number to be show. If not defined, default value is 0 (first page).
pageSizeintegerDefines the number of items returned in each page. If not defined, default value is 50.
Responses
Tenant all templates configurations
-
totalResultsinteger RequiredNumber of total forms to get
-
currentPageinteger RequiredCurrent page
-
configurationsobject[] RequiredList of forms metadata
-
versioninteger RequiredDefines template configuration version (initial version is '1')
-
changelogstring RequiredDescription of the template change in this version
-
creationDatestring (date-time) Requireddate when template was created
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Request input can not be processed (is incomplete)
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates Configuration
Create or update a tenant templates configuration
/orgs /{org_id} /templates /configurations Create or update a tenant templates configuration
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Request body application/json Required
Define configuration fields with value by language
-
changelogstringDescription of the template change in this version
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
fieldValuesobject[] RequiredConfiguration fields with default values by language
-
namestring RequiredConfiguration field name. Must start with prefix: CONFIG_TENANT.
-
typestring RequiredConfiguration field type. Allowed values: IMAGE and TEXT
-
valueobject[] RequiredConfiguration field value by language
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
contentstring RequiredConfiguration field value. It is dependent from field 'type':
- 'IMAGE': then value must be a valid documentId (UUID)
- 'TEXT': then value must be a text (string)
-
-
Responses
Configuration is created. Expected response for a valid request.
-
versioninteger RequiredDefines template configuration version (initial version is '1')
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Request input can not be processed (is incomplete)
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates Configuration
Get tenant templates configuration
/orgs /{org_id} /templates /configurations /{version} Get tenant templates configuration
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
versionstringRequiredHigher version of the template. You can use also 'latest' to get latest version
Responses
Tenant templates configuration
-
defaultLanguagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
fieldValuesobject[] RequiredConfiguration fields with default values by language
-
namestring RequiredConfiguration field name. Must start with prefix: CONFIG_TENANT.
-
typestring RequiredConfiguration field type. Allowed values: IMAGE and TEXT
-
valueobject[] RequiredConfiguration field value by language
-
languagestring RequiredTemplates languages allowed
Allowed values: ES, EN, EU, GL, CA, DE, UNDEFINED
When returned after filling a template, it is the requested language if the template has it,
otherwise the template default language.
-
contentstring RequiredConfiguration field value. It is dependent from field 'type':
- 'IMAGE': then value must be a valid documentId (UUID)
- 'TEXT': then value must be a text (string)
-
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
Request input can not be processed (is incomplete)
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Templates Configuration
Delete template configuration for a given version
/orgs /{org_id} /templates /configurations /{version} Delete template configuration by version
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
versionstringRequiredVersion of the template configuration.
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
conflict if form is in some section
No body.
Request input can not be processed (is incomplete)
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Get all editable dynamic templates
/orgs /{org_id} /dynamic_templates Returns a paginated list of all dynamic templates for an organization. Only the latest version of each major
version (the ones that could be edited) is included, ordered by creation_date in descending order.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Query parameters
external_idstringOptional filter to retrieve templates for a specific external_id
pageintegerDefines templates page number to be show. If not defined, default value is 0 (first page).
page_sizeintegerDefines the number of templates returned in each page. If not defined, default value is 50.
Responses
The templates list is returned. Expected response for a valid request.
-
pageinteger RequiredPage to be shown
-
page_sizeinteger RequiredNumber of templates that will be shown by page
-
templatesobject[] Required-
external_idstring RequiredUnique identifier for the template. Must be lowercase, numbers, and underscores only.
-
descriptionstring RequiredHuman-readable description of the template
-
versionstring RequiredLatest template version
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
languagesstring[] RequiredSupported languages
-
creation_datestring (date-time) RequiredTemplate creation date
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Create a new dynamic template
/orgs /{org_id} /dynamic_templates Creates a new dynamic template by uploading HBS and JSON configuration files for multiple languages. The structure (JSON schema) is provided as part of each source metadata, extracted from the template editor. The system validates the structure and persists the template with version 1.0.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Request body multipart/form-data Required
Template metadata and sources (HBS and JSON files) for each language. Each source includes the pre-extracted structure with fields, rules, and engine version.
-
metadataobject Required-
external_idstring RequiredUnique identifier for the template. Must be lowercase, numbers, and underscores only.
-
descriptionstring RequiredHuman-readable description of the template
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
tagsstring[]Free values (user-defined) to tag dynamic template. Maximum 5 tags allowed.
-
sourcesobject[] RequiredMapping of languages to their corresponding multipart form field names
-
languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
template_part_namestring RequiredName of the multipart containing the handlebars template file
-
editor_config_part_namestring RequiredName of the multipart containing the JSON editor configuration file
-
structureobject RequiredComplete JSON Schema defining the structure and validation rules for the template's data.
Includes field definitions in 'properties', required fields, and conditional rules using 'allOf', 'if/then', 'oneOf'.
object -
engine_versionstring RequiredSemantic version of the rendering engine to use for this template. Should only contain major and minor version, without patch.
-
-
-
filesstring (binary)[]Array of template and editor config files for each language
Responses
New dynamic template is created. Expected response for a valid request.
-
external_idstring RequiredUnique identifier for the template. Must be lowercase, numbers, and underscores only.
-
descriptionstring RequiredHuman-readable description of the template
-
versionstring RequiredTemplate version
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
languagesstring[] RequiredSupported languages
-
tagsstring[]Free values (user-defined) to tag dynamic template. Maximum 5 tags allowed.
-
creation_datestring (date-time) RequiredTemplate creation date
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Conflict. External ID already exists
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Get all minor versions of a major version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} Returns all minor versions for a specific major version of a dynamic template, ordered by minor version in
descending order (newest to oldest). Includes JSON schema extracted from the template file.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
major_versionintegerRequiredThe major version number
Responses
The template versions are returned. Expected response for a valid request.
-
templatesobject[] Required-
external_idstring RequiredUnique identifier for the template. Must be lowercase, numbers, and underscores only.
-
descriptionstring RequiredHuman-readable description of the template
-
versionstring RequiredTemplate version
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
languagesstring[] RequiredSupported languages
-
tagsstring[] RequiredFree values (user-defined) to tag dynamic template. Maximum 5 tags allowed.
-
creation_datestring (date-time) RequiredVersion creation date
-
structureobject RequiredComplete JSON Schema defining the structure and validation rules for the template's data.
Includes field definitions in 'properties', required fields, and conditional rules using 'allOf', 'if/then', 'oneOf'.
object -
sourcesobject[] RequiredMulti-language template artifacts with URLs
-
languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
template_urlstring (uri) RequiredURL to access the HTML template file
-
editor_config_urlstring (uri) RequiredURL to access the JSON editor configuration file
-
engine_versionstring RequiredSemantic version of the rendering engine to use for this source. Contains major and minor version, without patch.
-
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Template or version not found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Create a new minor version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} Creates a new minor version of an existing dynamic template with non-breaking changes such as adding new
languages or updating existing language content. Breaking changes like modifying the JSON schema structure, removing sources or changing default language will result in a 409 error.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
major_versionintegerRequiredThe major version number
Request body multipart/form-data Required
Template metadata and sources for creating a minor version
-
metadataobject Required-
descriptionstringUpdated description for the new minor version. If not provided, previous description is retained.
-
sourcesobject[] RequiredSources to add or update (existing languages not included remain unchanged)
-
languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
template_part_namestring RequiredName of the multipart containing the handlebars template file
-
editor_config_part_namestring RequiredName of the multipart containing the JSON editor configuration file
-
structureobject RequiredComplete JSON Schema defining the structure and validation rules for the template's data.
Includes field definitions in 'properties', required fields, and conditional rules using 'allOf', 'if/then', 'oneOf'.
object -
engine_versionstring RequiredSemantic version of the rendering engine to use for this template. Should only contain major and minor version, without patch.
-
-
changelogstring RequiredDescription of changes made in this minor version
-
-
filesstring (binary)[]Array of template and editor config files for each language
Responses
New minor version is created. Expected response for a valid request.
-
external_idstring RequiredUnique identifier for the template. Must be lowercase, numbers, and underscores only.
-
descriptionstring RequiredHuman-readable description of the template
-
versionstring RequiredTemplate version
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
languagesstring[] RequiredSupported languages
-
tagsstring[]Free values (user-defined) to tag dynamic template. Maximum 5 tags allowed.
-
creation_datestring (date-time) RequiredTemplate creation date
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Template not found
No body.
Breaking changes detected. Use major version endpoint instead.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Delete a major version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} Deletes a complete major version line including all its minor versions. Only the latest major version can be
deleted.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
major_versionintegerRequiredThe major version number
Responses
Major version deleted successfully
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Template or version not found
No body.
Cannot delete. Not the latest major version.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Get specific minor version details
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} /minors /{minor_version} Returns complete information for a specific minor version of a dynamic template, including JSON schema
and source URLs for rendering or analysis.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
major_versionintegerRequiredThe major version number
minor_versionintegerRequiredThe minor version number
Responses
The specific template version details are returned. Expected response for a valid request.
-
external_idstring RequiredUnique identifier for the template. Must be lowercase, numbers, and underscores only.
-
descriptionstring RequiredHuman-readable description of the template
-
versionstring RequiredCurrent template version
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
languagesstring[] RequiredSupported languages
-
tagsstring[] RequiredFree values (user-defined) to tag dynamic template. Maximum 5 tags allowed.
-
creation_datestring (date-time) RequiredVersion creation date
-
structureobject RequiredComplete JSON Schema defining the structure and validation rules for the template's data.
Includes field definitions in 'properties', required fields, and conditional rules using 'allOf', 'if/then', 'oneOf'.
object -
sourcesobject[] Required-
languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
template_urlstring (uri) RequiredURL to access the HTML template file
-
editor_config_urlstring (uri) RequiredURL to access the JSON editor configuration file
-
engine_versionstring RequiredSemantic version of the rendering engine to use for this source. Contains major and minor version, without patch.
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Template or version not found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Create a new major version
/orgs /{org_id} /dynamic_templates /{external_id} /versions Creates a new major version of an existing dynamic template with breaking changes. All languages must be provided with their sources. The new version will be X+1.0 where X is the highest existing major version.
All new information in the template must be provided, as the information from the previous version will not be kept.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
Request body multipart/form-data Required
Template metadata and sources for creating a major version
-
metadataobject Required-
descriptionstring RequiredHuman-readable description of the template
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
tagsstring[]Free values (user-defined) to tag dynamic template. Maximum 5 tags allowed.
-
sourcesobject[] RequiredMapping of all languages to their corresponding multipart form field names to include in the new major
version with their sources. If previous existing sources not included they will be removed.
-
languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
template_part_namestring RequiredName of the multipart containing the handlebars template file
-
editor_config_part_namestring RequiredName of the multipart containing the JSON editor configuration file
-
structureobject RequiredComplete JSON Schema defining the structure and validation rules for the template's data.
Includes field definitions in 'properties', required fields, and conditional rules using 'allOf', 'if/then', 'oneOf'.
object -
engine_versionstring RequiredSemantic version of the rendering engine to use for this template. Should only contain major and minor version, without patch.
-
-
changelogstring RequiredDescription of changes made in this major version
-
-
filesstring (binary)[]Array of template and editor config files for each language
Responses
New major version is created. Expected response for a valid request.
-
external_idstring RequiredUnique identifier for the template. Must be lowercase, numbers, and underscores only.
-
descriptionstring RequiredHuman-readable description of the template
-
versionstring RequiredTemplate version
-
default_languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
languagesstring[] RequiredSupported languages
-
tagsstring[]Free values (user-defined) to tag dynamic template. Maximum 5 tags allowed.
-
creation_datestring (date-time) RequiredTemplate creation date
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Template not found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Delete latest minor version
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} /minor Deletes the latest minor version of a specific major version line. Cannot delete the base version (X.0) or if it's the only minor version in the major line.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
major_versionintegerRequiredThe major version number
Responses
Minor version deleted successfully
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Template or version not found
No body.
Cannot delete base version (X.0) or only minor version in major line
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Get template changelog history
/orgs /{org_id} /dynamic_templates /{external_id} /changelog Returns the complete changelog history for a dynamic template, showing all version transitions ordered by version in descending order (newest to oldest).
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
Responses
The template changelog history is returned. Expected response for a valid request.
-
changelog_historyobject[] Required-
from_versionstringPrevious version before the change. Not informed if initial version.
-
to_versionstring RequiredFinal version after the change
-
on_datestring (date-time) RequiredDate when the change was made
-
changelogstringDescription of the changes made. Not informed if initial version.
-
subjectstring RequiredUser who made the change
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have failed
No body.
Template not found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
DynamicTemplates
Submit a fill request for a dynamic template
/orgs /{org_id} /dynamic_templates /{external_id} /versions /{major_version} /fill Submit an asynchronous request to fill a specific version of a dynamic template with provided data. The system validates the field values against the template's JSON schema and registers the request for asynchronous processing. Returns immediately with a fill_process_id that can be used to check status via the GET /fill_process endpoint. The system automatically adds a template tag with format '{templateExternalId}-v{templateVersion}' to user-provided tags when creating the document.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
external_idstringRequiredThe external id of the dynamic template
major_versionintegerRequiredThe major version number
Header parameters
fill-process-originstringIdentifies the system originating the request. If not provided, it defaults to the Authn token's audience (x-auth-aud).
Request body application/json Required
-
languagestring RequiredLanguage of the template as an ISO 639-1 two-letter code. Codes are case-insensitive and are normalized to uppercase.
-
documentobject Required-
namestring RequiredName for the generated document. Maximum 50 characters. It can not contain
\r,\nor\t, and it can not start with=,+,-or@(characters that a spreadsheet reads as a formula). -
tagsstring[]Tags to categorize the document. Maximum 4 user-defined tags allowed. The system automatically adds 1 additional tag with format '{templateExternalId}-v{templateVersion}' (e.g., 'invoice-template-v1.0'). All tags (both user-provided and system-generated) are normalized according to the mas-documents API rules before being persisted.
-
-
fields_valuesobject RequiredField values that will be used to fill the template. Must conform to the template's JSON schema. The entire payload is validated against the template's JSON schema definition.
object -
fill_prioritystringProcessing priority for the fill request. Possible values: low, high
Responses
Fill request accepted and registered for processing
-
fill_process_idstring RequiredUnique identifier for the fill process request
Invalid input or field values don't match template schema
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Unauthorized - Missing or invalid authentication
No body.
Template or version not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Internal server error
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
fill-process-originstringThe origin that was set for this fill process (either provided or defaulted to aud)
sales-platformDynamicTemplates
Get fill process status
/orgs /{org_id} /fill_process /{fill_process_id} Check the status of an asynchronous document fill process. Returns the current state (CREATED, PROCESSING, COMPLETED, FAILED) and relevant metadata based on the state.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
fill_process_idstringRequiredUnique identifier of the fill process
Responses
Fill process status retrieved successfully
-
fill_process_idstring RequiredUnique identifier for the fill process request
-
statusstring RequiredCurrent status of the fill process. Possible values: CREATED, PROCESSING, COMPLETED, FAILED
-
filled_document_idstringUUID of the generated document. Present only when status is COMPLETED
-
creation_datestring (date-time) RequiredTimestamp when the fill process was created
-
finish_datestring (date-time)Timestamp when processing finished. Present only when status is COMPLETED or FAILED
-
templateobject Required-
external_idstring RequiredID of the template of this fill process.
-
major_versioninteger RequiredMajor version of the template.
-
minor_versioninteger RequiredMinor version of the template.
-
-
errorobject-
messagestring RequiredHuman-readable error message
-
Invalid input
No body.
Unauthorized
No body.
Fill process not found
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Internal server error
No body.
Sign Process
Create new digital sign process
/orgs /{org_id} /sign_process Creates a new digital sign process according with its input data. The digital sign process unique identifier is returned.
Origin context headers (optional)
The caller can attach origin context to the sign process with a
group of HTTP headers that share the prefix Origin-Context-.
These headers are not declared as parameters: any header with this prefix is accepted.
What Sign Process does with them
-
Stores them as they are, together with the sign process.
-
Sends them back in every event of this sign process.
-
Does not read or validate their meaning. The caller owns the content.
Format rules
-
Header names use kebab-case after the prefix: words of letters and digits joined by single hyphens. Example:
Origin-Context-Sign-Type. -
Header names are case-insensitive. Sign Process stores them in lowercase and sends them back in lowercase.
-
Lists are comma-separated values in one header. Example:
id-1,id-2. -
A repeated header is joined into one comma-separated value.
Limits
-
At most 10
Origin-Context-*headers for each request. -
The suffix after the prefix has 1 to 64 characters: letters, digits or hyphens.
-
Each value has 1 to 1024 characters. Empty values are not allowed.
If any Origin-Context-* header breaks these rules, the request fails
with 400 (MDOC-001) and the sign process is NOT created.
If no Origin-Context-* header is sent, the sign process is created as
usual.
Example
Origin-Context-Sign-Type: ATTENDED
Origin-Context-Issuer: contracts
Origin-Context-Contract-Ids:
f9a508cd-c513-4826-be81-2dae4914243b,1b2c3d4e-1111-4a2b-9c3d-000000000011
Path parameters
org_idstringRequiredOrganization name
Request body application/json Required
Data about signers, documents to be signed and associated identification processes.
-
signersobject[] Required-
aliasstring Requiredalias has to be a unique value within the signing process and cannot overlap with other signers
-
namestring Required -
last_namestring Required -
identity_documentobject Required-
document_numberstring Requiredsigner personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'NIF', 'NIE', 'PASSPORT'
-
-
emailstring Required -
msisdnobject Required-
phone_numberstring RequiredPhone number of the signatory that we will use to contact us
-
country_codestring Requiredcountry code of the phone number. Numeric code ISO 3166-1
-
-
languagestring RequiredLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
identificationobject | object
-
-
signobject Required-
typestring RequiredSign processes type:
- SIMPLE: Simple Sign
- BIOMETRIC: Biometric Sign
-
documentsobject[] Required-
idstring Required -
ownerstring RequiredThe string id related with the document owner. Allowed characters: letters, digits, '_', '.' and '-' (max 255).
-
sign_fieldsobject[] Required-
signerstring Required -
fieldsstring[] Required
-
-
-
preview_documentsstring[]
-
-
identificationobject Required-
typestring RequiredSign identification types:
- OTP: Identification by One Time Password (online)
- AGENT: Identification by a trusted agent (on-site)
-
-
expires_instringMinimum 15 minutes. Default to 30 days. Max 30 days. Validity duration time (ISO-8601 format) from now.
Responses
New digital sign process is created. Expected response for a valid request.
-
idstring Requireduuid that identifies a digital sign process, referenced on the endpoints as sign_process_id
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
LocationstringCreated resource URI. Example /orgs/masmovil/sign_process/00cf016d-070d-4fe0-9fd2-ffb80cb6a642
/orgs/masmovil/sign_process/00cf016d-070d-4fe0-9fd2-ffb80cb6a642Sign Process
Get digital sign process information
/orgs /{org_id} /sign_process /{sign_process_id} Get digital sign process information
Path parameters
org_idstringRequiredOrganization name
sign_process_idstringRequireduuid that identifies a digital sign process
Responses
Expected response for a valid request.
-
signaturesobject[] Required-
aliasstring Requiredalias has to be a unique value within the signing process and cannot overlap with other signers
-
namestring Required -
last_namestring Required -
languagestring RequiredLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
document_numberstring Requiredsigner personal number that customers agent will use to identification
-
signobject Required-
idstring Required -
statusstring RequiredA signature can be in one of the following statuses:
-
CREATED: Signature process has been started.
-
IDENTIFIED: Signers have been identified.
-
PREVIEWED: Documents have been previewed. (This status is OPTIONAL.)
-
SIGNED: Signature has been collected, but the process is pending due to the asynchronous document generation process (This status persists while there are other pending signatures).
-
SUCCEEDED: Signature has been stamped on the document.
-
FAILED: Contract signature has failed due to an error along the process.
-
-
modification_datestring (date-time) Required
-
-
identificationobject-
idstring Requiredidentification process id of this signer
-
typestring RequiredSign identification types:
- OTP: Identification by One Time Password (online)
- AGENT: Identification by a trusted agent (on-site)
-
-
-
statusstring RequiredDigital sign processes management.
A digital sign process can be on one of the following statuses:
-
CREATED: New process has been created.
-
SIGNED: Process has been successfully finished. All signs have to be on SUCCEEDED status. See Signature signs.
-
FAILED: Process has failed. Signature is in an error state. See signature statuses.
-
CANCELLED: Process has been cancelled. A process cannot be cancelled if it is already in SIGNED, EXPIRED or FAILED status.
-
EXPIRED: Process has exceeded the maximum time waiting for signature
-
CERTIFIED: Signatures and identifications have been certified in a PDF document. Certificate_id has been associated with the process.
-
-
sign_typestring RequiredSign processes type:
- SIMPLE: Simple Sign
- BIOMETRIC: Biometric Sign
-
modification_datestring (date-time) Required -
creation_datestring (date-time) Required -
certificate_idstringDocument id of the sign process certificate
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sign Process
Cancel digital sign process
/orgs /{org_id} /sign_process /{sign_process_id} /cancel Cancel digital sign process
Path parameters
org_idstringRequiredOrganization name
sign_process_idstringRequireduuid that identifies a digital sign process
Request body application/json Required
Necessary data to execute action
-
reasonstring Requiredreason for cancellation of the digital signature
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
process is not in a cancelable state
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Biometric Signature
Get biometric signature information
/orgs /{org_id} /biometric_signs /{sign_id} Get biometric signature information
Path parameters
org_idstringRequiredOrganization name
sign_idstringRequireduuid that identifies signature data by signer, associated to a digital sign process
Responses
Expected response for a valid request.
-
signerobject Required-
aliasstring Required -
namestring Required -
last_namestring Required -
document_numberstring Required -
languagestring RequiredLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
-
preview_documentsobject[]Temporary signed URL fully accessible without authentication or authorisation, plus the document name, for the signed documents.
-
namestring Required -
urlstring (uri) RequiredTemporary signed URL fully accessible without authentication or authorisation.
-
-
signable_documentsobject[] RequiredTemporary signed URL fully accessible without authentication or authorisation, plus the document name, for the signed documents.
-
namestring Required -
urlstring (uri) RequiredTemporary signed URL fully accessible without authentication or authorisation.
-
-
signed_documentsobject[]Temporary signed URL fully accessible without authentication or authorisation, plus the document name, for the signed documents.
-
namestring Required -
urlstring (uri) RequiredTemporary signed URL fully accessible without authentication or authorisation.
-
-
statusstring RequiredDigital sign processes management.
A digital sign process can be on one of the following statuses:
-
CREATED: New process has been created.
-
SIGNED: Process has been successfully finished. All signs have to be on SUCCEEDED status. See Signature signs.
-
FAILED: Process has failed. Signature is in an error state. See signature statuses.
-
CANCELLED: Process has been cancelled. A process cannot be cancelled if it is already in SIGNED, EXPIRED or FAILED status.
-
EXPIRED: Process has exceeded the maximum time waiting for signature
-
CERTIFIED: Signatures and identifications have been certified in a PDF document. Certificate_id has been associated with the process.
-
-
identificationobject-
idstring Requiredidentification process id of this signer
-
typestring RequiredSign identification types:
- OTP: Identification by One Time Password (online)
- AGENT: Identification by a trusted agent (on-site)
-
-
modification_datestring (date-time) Required -
creation_datestring (date-time) Required
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Biometric Signature
Preview biometric signature
/orgs /{org_id} /biometric_signs /{sign_id} /preview Preview biometric signature
Path parameters
org_idstringRequiredOrganization name
sign_idstringRequireduuid that identifies signature data by signer, associated to a digital sign process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-fingerprintstringRequireddevice fingerprint
x-locationstringdevice location coordinate
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Biometric Signature
Sign biometric signature
/orgs /{org_id} /biometric_signs /{sign_id} /sign Sign using biometric signature
Path parameters
org_idstringRequiredOrganization name
sign_idstringRequireduuid that identifies signature data by signer, associated to a digital sign process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-fingerprintstringRequireddevice fingerprint
x-locationstringdevice location coordinate
Request body application/json Required
Necessary data to execute action
-
biometric_datastring Requiredbiometric data extracted from the signatory's handwritten signature. (Max allowed length 300kb)
-
signature_imagestring Requiredbase64 encoded image of the signature. (Max allowed length 500kb)
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Simple Signature
Get simple signature information
/orgs /{org_id} /simple_signs /{sign_id} Get simple signature information
Path parameters
org_idstringRequiredOrganization name
sign_idstringRequireduuid that identifies signature data by signer, associated to a digital sign process
Responses
Expected response for a valid request.
-
signerobject Required-
aliasstring Required -
namestring Required -
last_namestring Required -
document_numberstring Required -
languagestring RequiredLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
-
preview_documentsobject[]Temporary signed URL fully accessible without authentication or authorisation, plus the document name, for the signed documents.
-
namestring Required -
urlstring (uri) RequiredTemporary signed URL fully accessible without authentication or authorisation.
-
-
signable_documentsobject[] RequiredTemporary signed URL fully accessible without authentication or authorisation, plus the document name, for the signed documents.
-
namestring Required -
urlstring (uri) RequiredTemporary signed URL fully accessible without authentication or authorisation.
-
-
signed_documentsobject[]Temporary signed URL fully accessible without authentication or authorisation, plus the document name, for the signed documents.
-
namestring Required -
urlstring (uri) RequiredTemporary signed URL fully accessible without authentication or authorisation.
-
-
statusstring RequiredDigital sign processes management.
A digital sign process can be on one of the following statuses:
-
CREATED: New process has been created.
-
SIGNED: Process has been successfully finished. All signs have to be on SUCCEEDED status. See Signature signs.
-
FAILED: Process has failed. Signature is in an error state. See signature statuses.
-
CANCELLED: Process has been cancelled. A process cannot be cancelled if it is already in SIGNED, EXPIRED or FAILED status.
-
EXPIRED: Process has exceeded the maximum time waiting for signature
-
CERTIFIED: Signatures and identifications have been certified in a PDF document. Certificate_id has been associated with the process.
-
-
identificationobject-
idstring Requiredidentification process id of this signer
-
typestring RequiredSign identification types:
- OTP: Identification by One Time Password (online)
- AGENT: Identification by a trusted agent (on-site)
-
-
modification_datestring (date-time) Required -
creation_datestring (date-time) Required
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Simple Signature
Preview simple signature
/orgs /{org_id} /simple_signs /{sign_id} /preview Preview simple signature
Path parameters
org_idstringRequiredOrganization name
sign_idstringRequireduuid that identifies signature data by signer, associated to a digital sign process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-fingerprintstringRequireddevice fingerprint
x-locationstringdevice location coordinate
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Simple Signature
Sign using simple signature
/orgs /{org_id} /simple_signs /{sign_id} /sign Sign simple signature
Path parameters
org_idstringRequiredOrganization name
sign_idstringRequireduuid that identifies signature data by signer, associated to a digital sign process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-fingerprintstringRequireddevice fingerprint
x-locationstringdevice location coordinate
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Simple Signature
Send simple signature reminder on demand
/orgs /{org_id} /simple_signs /{sign_id} /reminders Immediately sends the pending-signature reminder communication to the signer through the channels enabled for the tenant. This endpoint returns as soon as the reminder is successfully sent through one of the enabled channels. It does not modify the sign process expiration date nor the automatic reminders schedule.
The reminder can only be resent while the sign process is still in progress (status CREATED) and has not reached its expiration date, and while the sign is in a notifiable status (CREATED, IDENTIFIED, PREVIEWED or NOTIFIED).
Path parameters
org_idstringRequiredOrganization name
sign_idstringRequireduuid that identifies signature data by signer, associated to a digital sign process
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Resource not found
No body.
Resource is not in a valid state to execute the action
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Agent
Validate agent identification
/orgs /{org_id} /identifications /agent /{identification_id} /validate Validates an existing identification by agent. The agent acts as a trusted verifier, validating the actor's identification.
Path parameters
org_idstringRequiredOrganization name
identification_idstringRequireduuid for each signer's identification process associated to a digital sign process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-fingerprintstringRequireddevice fingerprint
x-locationstringdevice location coordinate
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Request body application/json Required
Required data to execute action
-
agentstring Requiredshop agent identifier of who is validating this identification
-
evidencestringEvidence of the actor identified. It should be a personal document image. Uploaded in Base64 string format. Image extension should ONLY '*.png'
-
evidence_metadatastringMetadata of apply OCR to Evidence file. It should be in a valid Json format.
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Agent
Get identification process metadata
/orgs /{org_id} /identifications /agent /{identification_id} Get information about agent identification process
Path parameters
org_idstringRequiredOrganization name
identification_idstringRequireduuid for each signer's identification process associated to a digital sign process
Responses
Expected response for a valid request.
-
actorobject Required-
namestring Required -
last_namestring Required -
languagestringLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
document_typestring Requiredtype of the actor document number Allowed values: 'NIF', 'NIE', 'PASSPORT'
-
-
agent_idstringAgent which will identify the actor
-
creation_datestring (date-time) Required -
modification_datestring (date-time) -
expiration_datestring (date-time) Required -
statestring RequiredAn identification process can be in one of the following statuses:
-
CREATED: Identification process has been started.
-
VALIDATED: Identification has been validated (I.e. OTP challenge has been solved or agent approved identification).
-
EXPIRED: Identification process has expired.
-
CANCELLED: Identification process has been cancelled.
-
SUCCEEDED: Actor has been identified successfully and the process has been closed.
-
FAILED: Identification process has ended with failure due to an error along the process.
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sign Configuration
Get sign configuration
/orgs /{org_id} /sign_process /configurations Get sign configuration
Path parameters
org_idstringRequiredOrganization name
Responses
Sign configuration of given tenant.
-
landing_urlstringSign process url
-
expiration_durationstringValidity duration time (ISO-8601 format) of any sign process for the tenant.
-
channelsstring[]Channels to send notifications. Possible values: SMS, EMAIL or WHATSAPP
-
certificateobject-
expiration_datestring (date-time)Date when certificate expires
-
common_namestringThe common name (CN) of the certificate subject. Typically represents the entity or domain name associated with the certificate.
-
organizationstringThe organization (O) associated with the certificate. Usually represents the company or entity that owns the certificate.
-
organizational_unitstringThe organizational unit (OU) within the organization that is associated with the certificate. Often used to indicate a department or division.
-
issuerstringThe issuer of the certificate. This is the common name (CN) of the certificate authority (CA) that signed and issued the certificate.
-
-
notification_emailstringEmail where the notifications about certificate expiration will be sent
-
identification_configobject-
identity_documentobject Required-
providersobject[] RequiredList of provider configurations per sign type
-
sign_typestring RequiredType of signature
-
provider_typestring RequiredScoring provider type
-
-
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail or certificate password is not correct
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sign Configuration
Create new configuration
/orgs /{org_id} /sign_process /configurations Create new configuration
Path parameters
org_idstringRequiredOrganization name
Request body multipart/form-data Required
Data about sign configuration
-
landing_urlstring RequiredSign process URL
-
expiration_durationstring RequiredValidity duration time (ISO-8601 format) of any sign process for the tenant.
-
channelsstring[] RequiredChannels to send notifications. Possible values: SMS, EMAIL, or WHATSAPP.
-
contentstring (binary) RequiredThe PKCS#12 (.p12) certificate file
-
sign_certificate_passwordstring RequiredPassword for the PKCS#12 certificate
-
notification_emailstring RequiredEmail where the notifications about certificate expiration will be sent
-
identification_configstring RequiredJSON object with scoring provider configurations per sign type
Responses
New sign configuration is created.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail or certificate password is not correct
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Sign Configuration
Update configuration
/orgs /{org_id} /sign_process /configurations Update configuration
Path parameters
org_idstringRequiredOrganization name
Request body multipart/form-data Required
Data about sign configuration
-
landing_urlstringSign process URL
-
expiration_durationstringValidity duration time (ISO-8601 format) of any sign process for the tenant.
-
channelsstring[]Channels to send notifications. Possible values: SMS, EMAIL, or WHATSAPP.
-
contentstring (binary)The PKCS#12 (.p12) certificate file
-
sign_certificate_passwordstringPassword for the PKCS#12 certificate
-
notification_emailstringEmail where the notifications about certificate expiration will be sent
-
identification_configstringJSON object with scoring provider configurations per sign type
Responses
Sign configuration is created.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail or certificate password is not correct
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification OTP
Get otp identification process metadata
/orgs /{org_id} /identifications /otp /{identification_id} Get information about otp identification process
Path parameters
org_idstringRequiredOrganization name
identification_idstringRequireduuid for each signer's identification process associated to a digital sign process
Responses
Expected response for a valid request.
-
actorobject Required-
namestring Required -
languagestringLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
document_typestringtype of the actor document number Allowed values: 'NIF', 'NIE', 'PASSPORT'
-
-
creation_datestring (date-time) Required -
modification_datestring (date-time) Required -
expiration_datestring (date-time) Required -
remaining_challengesinteger RequiredRemaining challenge codes to request before identification process fail.
-
remaining_validation_attemptsinteger RequiredRemaining validation attempts of the current challenge code. Null when not challenge is requested.
-
next_challenge_retrystring (date-time)Minimum date before request a new challenge code. Null when remaining_challenges is zero.
-
two_factor_typestringTwo factor type to validate actor identity. Possible values:
DOCUMENT_NUMBER: value defined in actor's document number fieldEMAIL: value defined in actor's email field
-
statestring RequiredAn identification process can be in one of the following statuses:
-
CREATED: Identification process has been started.
-
VALIDATED: Identification has been validated (I.e. OTP challenge has been solved or agent approved identification).
-
EXPIRED: Identification process has expired.
-
CANCELLED: Identification process has been cancelled.
-
SUCCEEDED: Actor has been identified successfully and the process has been closed.
-
FAILED: Identification process has ended with failure due to an error along the process.
-
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification OTP
OTP identification token validation
/orgs /{org_id} /identifications /otp /{identification_id} /validate OTP identification token validation
Path parameters
org_idstringRequiredOrganization name
identification_idstringRequireduuid for each signer's identification process associated to a digital sign process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-fingerprintstringRequireddevice fingerprint
x-locationstringdevice location coordinate
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Request body application/json Required
Necessary data to execute action
-
codestring Requiredchallenge code
-
two_factorstringValue used for two factor. Will match a national id, passport number or email.
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Forbidden. Request has invalid credentials
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Gone. Resource is no longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
x-access-tokenstringsecurized authn web_component token.
Identification OTP
OTP identification token challenge
/orgs /{org_id} /identifications /otp /{identification_id} /challenge OTP identification token challenge
Path parameters
org_idstringRequiredOrganization name
identification_idstringRequireduuid for each signer's identification process associated to a digital sign process
Request body application/json Required
Necessary data to execute action
-
two_factorstringValue used for two factor. Value depends of two factor type: - DOCUMENT_NUMBER: Value must be actor's personal identification id or passport number. - EMAIL: Value must be actor's email address.
Responses
Action executed correctly
-
two_factor_valuestring RequiredValue used for two factor. Will match a national id, passport number or email.
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Forbidden. Request has invalid credentials
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Precondition failed. Request can not be processed yet
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification with identity document
Get identity document identification
/orgs /{org_id} /identifications /identity_document /{identification_id} Get identity document identification
Path parameters
org_idstringRequiredOrganization name
identification_idstringRequireduuid for each signer's identification process associated to a digital sign process
Responses
Expected response for a valid request.
-
actorobject Required-
namestring -
last_namestring -
identity_documentobject-
document_numberstring Requiredactor personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'IDENTITY_CARD','RESIDENCE_PERMIT', 'PASSPORT'
-
countrystringCountry/region code in ISO 3166 2-letter code
-
-
-
statestring RequiredAn identification process can be in one of the following statuses:
-
CREATED: Identification process has been started.
-
VALIDATED: Identification has been validated (I.e. OTP challenge has been solved or agent approved identification).
-
EXPIRED: Identification process has expired.
-
CANCELLED: Identification process has been cancelled.
-
SUCCEEDED: Actor has been identified successfully and the process has been closed.
-
FAILED: Identification process has ended with failure due to an error along the process.
-
-
remaining_validation_attemptsinteger RequiredRemaining validation attempts
-
creation_datestring (date-time) Required -
modification_datestring (date-time) Required -
expiration_datestring (date-time) Required -
scored_datestring (date-time)Date of the score absorbed by this identification
-
scoring_idstring (uuid)
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification with identity document
Validate identity document identification
/orgs /{org_id} /identifications /identity_document /{identification_id} /validate Validates an existing and previously scored identification by identity document.
Path parameters
org_idstringRequiredOrganization name
identification_idstringRequireduuid for each signer's identification process associated to a digital sign process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-fingerprintstringRequireddevice fingerprint
x-locationstringdevice location coordinate
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
x-access-tokenstringsecurized authn web_component token.
Identification Agent Admin
Create new agent identification
/orgs /{org_id} /identifications /agent Creates a new agent identification according with its input data. The agent identification unique identifier is returned.
Path parameters
org_idstringRequiredOrganization name
Request body application/json Required
Data about actor and the identification process.
-
actorobject RequiredActor data for agent identification. Identity document is mandatory for agent identification.
-
namestring Required -
last_namestring -
identity_documentobject Required-
document_numberstring Requiredactor personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'NIF', 'NIE', 'PASSPORT'
-
countrystringCountry/region code in ISO 3166 2-letter code
-
-
emailstring (email)Email address of the actor
-
msisdnobject-
phone_numberstring RequiredPhone number of the signatory that we will use to contact us
-
country_codestring Requiredcountry code of the phone number. Numeric code ISO 3166-1
-
-
languagestringLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
-
expires_instring RequiredMinimum 1 minute. Max 30 days. Validity duration time (ISO-8601 format) from now.
Responses
New agent identification is created. Expected response for a valid request.
-
idstring Requireduuid that identifies an agent identification, referenced on the endpoints as admin_identification_id
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Agent Admin
Cancel an agent identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id} /cancel Cancels an ongoing agent identification process. A cancel reason must be provided.
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Request body application/json Required
Required data to cancel an identification process
-
reasonstringThe reason why the process is going to be cancelled.
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Agent Admin
Close an Agent Identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id} /close Close an Agent Identification process if not is finished
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Agent Admin
Delete agent identification process
/orgs /{org_id} /identifications /agent /{admin_identification_id} Delete agent identification process. It is intended for incomplete identifications unless force param is used
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Query parameters
forcestringIf the process is not in CREATED state this parameter has to be passed as true AND needed permission has to be present at the token for the deletion to happen. A FORBIDDEN code will be thrown otherwise.
-
'true' if identification process must be deleted regardless of the state.
-
'false' or not present otherwise.
-
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Forbidden. Request has invalid credentials
No body.
Not found. Entity does not exist or can not be found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification OTP Admin
Create otp identification process
/orgs /{org_id} /identifications /otp Create otp identification process
Path parameters
org_idstringRequiredOrganization name
Request body application/json Required
Data about actor and the otp identification process.
-
actorobject Required-
namestring Required -
last_namestring -
identity_documentobject-
document_numberstring Requiredactor personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'NIF', 'NIE', 'PASSPORT'
-
countrystringCountry/region code in ISO 3166 2-letter code
-
-
emailstring (email)Email address of the actor
-
msisdnobject-
phone_numberstring RequiredPhone number of the signatory that we will use to contact us
-
country_codestring Requiredcountry code of the phone number. Numeric code ISO 3166-1
-
-
languagestringLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
-
expires_instring RequiredDefault to 30 days. Max 30 days. Validity duration time (ISO-8601 format) from now.
-
two_factor_typestringTwo factor type to validate actor identity. Possible values: *
DOCUMENT_NUMBER: value defined in actor's document number field *EMAIL: value defined in actor's email field -
channelobject Required-
typestring RequiredChannel which will be used to send the OTP to complete the identification. Possible values: SMS or EMAIL
-
externalboolean RequiredIdentification communications to send the OTP will be sent through third-party gateway instead of MasOrange one
-
Responses
New otp identification is created.
-
idstring Requireduuid that identifies an otp identification, referenced on the endpoints as admin_identification_id
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification OTP Admin
Cancel an OTP identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id} /cancel Cancels an ongoing OTP identification process. A cancel reason must be provided.
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Request body application/json Required
Required data to cancel an identification process
-
reasonstringThe reason why the process is going to be cancelled.
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification OTP Admin
Close an OTP identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id} /close Close an OTP identification process if not is finished
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification OTP Admin
Delete otp identification process
/orgs /{org_id} /identifications /otp /{admin_identification_id} Delete otp identification process. It is intended for incomplete identifications unless force param is used
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Query parameters
forcestringIf the process is not in CREATED state this parameter has to be passed as true AND needed permission has to be present at the token for the deletion to happen. A FORBIDDEN code will be thrown otherwise.
-
'true' if identification process must be deleted regardless of the state.
-
'false' or not present otherwise.
-
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Forbidden. Request has invalid credentials
No body.
Not found. Entity does not exist or can not be found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification with identity document Admin
Create new identification
/orgs /{org_id} /identifications /identity_document Creates a new identification according with its input data. The identification unique identifier is returned.
Path parameters
org_idstringRequiredOrganization name
Request body application/json Required
Data about actor and the identification process.
-
actorobject-
namestring Required -
last_namestring -
identity_documentobject-
document_numberstring Requiredactor personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'IDENTITY_CARD','RESIDENCE_PERMIT', 'PASSPORT'
-
countrystring RequiredCountry/region code in ISO 3166 2-letter code
-
-
emailstring (email)Email address of the actor
-
msisdnobject-
phone_numberstring RequiredPhone number of the signatory that we will use to contact us
-
country_codestring Requiredcountry code of the phone number. Numeric code ISO 3166-1
-
-
languagestringLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
-
namestring -
last_namestring -
identity_documentobject-
document_numberstring Requiredactor personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'NIF', 'NIE', 'PASSPORT'
-
countrystringCountry/region code in ISO 3166 2-letter code
-
-
configuration_namestringConfiguration name. Possible values: ["LOW", "MEDIUM", "HIGH"]
-
expires_instringDefault to 30 days. Max 30 days. Validity duration time (ISO-8601 format) from now.
-
scoringobject-
providerstringScoring provider to use: Possible values: [INTERNAL, EXTERNAL]
-
Responses
New agent identification is created. Expected response for a valid request.
-
idstring Requireduuid that identifies an identity document identification
-
scoring_idstring RequiredScoring id
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification with identity document Admin
Cancel an identity document identification process
/orgs /{org_id} /identifications /identity_document /{admin_identification_id} /cancel Cancels an ongoing identity document identification process. A cancel reason must be provided.
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Request body application/json Required
Required data to cancel an identity document identification process
-
reasonstringThe reason why the process is going to be cancelled.
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification with identity document Admin
Close an identity document Identification process
/orgs /{org_id} /identifications /identity_document /{admin_identification_id} /close Close an identity document Identification process if not is finished
Path parameters
org_idstringRequiredOrganization name
admin_identification_idstringRequireduuid identification unique identifier
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Contracts
Get contract information
/orgs /{org_id} /contracts /{contract_id} Get contract information from mas-documents storage
Path parameters
org_idstringRequiredThe string id related with tenants which contract belongs to
contract_idstringRequiredContract identifier
Responses
Expected response
-
signed_document_idstring (uuid)signed document unique identifier
-
filled_document_idstring (uuid)filled document unique identifier
-
sign_process_idstring (uuid)digital process unique identifier in which contract was signed
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Resource not found
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Contracts
Fill a template to create a new filled contract
/orgs /{org_id} /contracts /fill Fill a template and return a contractId and a documentId (storage reference)
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Header parameters
x-auth-ownerstringRequiredThe string id related with the contract owner. It is mandatory. Allowed characters: letters, digits, '_', '.' and '-' (max 255).
Request body application/json Required
Data to fill (and sign data) a template contract
-
template_external_idstring RequiredTemplate external id unique identifier
-
template_versioninteger Requiredversion of the template to be updated
-
languagestring RequiredLanguage of the contract, as an ISO 639-1 code (case-insensitive).
If the template does not have the requested language, the template default language is used.
-
flags_conditionsstring[]list of conditions which trigger specific sections of the template to be filled
-
fields_valuesobject[] Requiredtemplate variables whose values will be printed in the filled template
-
namestring Requiredcontract field name to be filled
-
valuestring Requiredcontract field value to be filled
-
-
namestringName of the document filled (without spaces). The document is renamed with this value.
-
tagsstring[]Free values (user-defined) to tag document. These values are normalized following the next rules:
-
All tags will be converted to lowercase
-
All whitespaces will be removed
-
Empty or blank tags are not allowed
-
Tags matching reserved words (null, undefined or nan) are not allowed
-
Responses
Expected response to a valid request.
-
contract_idstring (uuid) RequiredContract unique identifier
-
document_idstring (uuid) Requiredfilled document unique identifier
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Contracts
Change contract's owner
/orgs /{org_id} /contracts /{contract_id} /owner Allows to change the owner of an existing contract
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
contract_idstring (uuid)RequiredContract identifier
Header parameters
x-auth-ownerstringRequiredThe string id related with the contract owner. It is mandatory. Allowed characters: letters, digits, '_', '.' and '-' (max 255).
Request body application/json Required
Data required to update contract's owner
-
new_ownerstring RequiredNew contract owner. Allowed characters: letters, digits, '_', '.' and '-' (max 255).
Responses
Owner changed successfully.
-
ownerstring RequiredSuccessfully assigned new contract owner
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
resource not found
No body.
resource is not longer available
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Contracts
Create new online/onsite sign process
/orgs /{org_id} /contracts /sign Creates a new sign process according with its input data. The digital process unique identifier is returned.
Path parameters
org_idstringRequiredThe string id related with one of Grupo MasOrange tenants
Request body application/json Required
metadata for creating the contract's sign process
-
sign_typestring Requiredtype of the sign process in which contracts are going to be signed. values: 'ONSITE', 'ONLINE'
-
signersobject[] Required-
aliasstring Requiredalias has to be a unique value within the signing process and cannot overlap with other signers
-
namestring Required -
last_namestring Required -
identity_documentobject Required-
document_numberstring Requiredsigner personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'NIF', 'NIE', 'PASSPORT'
-
-
emailstring Required -
msisdnobject Required-
phone_numberstring RequiredPhone number of the signatory that we will use to contact us
-
country_codestring Requiredcountry code of the phone number. Numeric code ISO 3166-1
-
-
languagestring RequiredLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
identification_optionsobjectadditional options to configure signer identification on sign process
-
personal_document_evidencebooleanFlag to indicate if the signer has to provide a personal document evidence when is identificated to sign the contract
-
-
-
contractsobject[] RequiredList of contracts to be signed
-
contract_idstring (uuid) RequiredUnique identifier of a contract
-
-
additional_optionsobjectadditional options to configure on contracts sign process
-
preview_documentsstring (uuid)[]list of public documents that will be previewed on sign process
-
Responses
New sign process is created to sign contracts. Expected response for a valid request.
-
sign_process_idstring (uuid) RequiredDigital sign process unique identifier where contracts will be signed
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Create scoring
/orgs /{org_id} /scorings /identity_document Create scoring
Path parameters
org_idstringRequiredThe string id related with tenants which contract belongs to
Request body application/json Required
Data to create scoring
-
documentobject RequiredStructure defining the document’s classification and issuing country.
-
typestring RequiredType of document presented (IDENTITY_CARD, RESIDENCE_PERMIT, or PASSPORT).
-
countrystring RequiredTwo-letter ISO 3166-1 code representing the issuing country or region.
-
-
providerstring RequiredName of the external service provider used for performing the document verification (e.g., GOOGLE, VERIDAS).
-
expires_instring RequiredISO-8601 duration string specifying how long (minimum 1 minute, maximum 30 days) the scoring session will remain active.
-
max_score_retriesintegerMaximum number of retries allowed for scoring attempts. This helps prevent abuse or excessive retries. By default, it is set to 5 retries.
Responses
Expected response to a valid request.
-
idstring (uuid)Globally unique identifier for the newly created scoring session.
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Get identity document captures
/orgs /{org_id} /scorings /identity_document /{scoring_id} /captures Get identity document captures
Path parameters
org_idstringRequiredThe string id related with tenants which contract belongs to
scoring_idstringRequiredScoring id
Responses
Expected response to a valid request.
-
documentobject RequiredHigh-level metadata for the document under verification.
-
typestring RequiredType of document presented (IDENTITY_CARD, RESIDENCE_PERMIT, or PASSPORT).
-
countrystring RequiredTwo-letter ISO 3166-1 code representing the issuing country or region.
-
capturesobject RequiredURIs pointing to stored binary captures of the document images.
-
frontstringSecure HTTP URI for retrieving the front-side image of the identity document.
-
backstringSecure HTTP URI for retrieving the back-side image of the identity document.
-
-
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Get identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} Get identity document scoring
Path parameters
org_idstringRequiredThe string id related with tenants which contract belongs to
scoring_idstringRequiredScoring id
Responses
Expected response to a valid request.
-
creation_datestring (date-time)Exact UTC timestamp when this scoring session was first created.
-
modification_datestring (date-time)Exact UTC timestamp of the last update to this scoring session.
-
expiration_datestring (date-time)UTC timestamp after which this scoring session can no longer accept new submissions or updates.
-
total_score_attemptsintegerMaximum number of image submissions allowed before this session is automatically locked.
-
remaining_score_attemptsintegerRemaining number of additional image submissions allowed before this session is automatically locked.
-
statestringCurrent lifecycle state of the scoring session: • CREATED – Initialized but no images submitted yet. • SCORED – Images submitted and initial checks run. • SUCCEEDED – All verification checks passed. • FAILED – One or more verification checks failed. • EXPIRED – Session expired before completion. • CANCELLED – Session cancelled because its identification was cancelled.
-
documentobjectStructure defining the document’s classification and issuing country.
-
typestring RequiredType of document presented (IDENTITY_CARD, RESIDENCE_PERMIT, or PASSPORT).
-
countrystring RequiredTwo-letter ISO 3166-1 code representing the issuing country or region.
-
-
score_resultobjectOverall scoring results and extracted values.
-
global_scorenumber (double)Composite score (0.0–1.0) representing overall confidence in document authenticity.
-
extracted_valuesobjectKey-value pairs extracted from the identity document. Possible keys include:
- NAME: Full name of the individual.
- LAST_NAME: Last name of the individual.
- BIRTH_DATE: Date of birth in ISO format (YYYY-MM-DD).
- DOCUMENT_NUMBER: Unique identifier of the document.
- DOCUMENT_EXPIRATION_DATE: Expiration date of the document in ISO format (YYYY-MM-DD).
object -
scored_datestring (date-time)Exact UTC timestamp when this scoring session was scored.
-
trace_metadataobject-
browser_user_agentstringInformation to identify the application, operating system, vendor, and/or version of the requester
-
ip_addressstringDevice IP address automatically collected by the backend server. Any value provided by the client will be ignored.
-
browser_installation_idstringBrowser installation ID (unique identifier).
-
device_locationstringDevice location coordinates (latitude, longitude).
-
device_finger_printstringDevice fingerprint for tracking and fraud detection.
-
-
scoresobject[]Array of detailed checks performed, each with its own risk score and fraud flag.
-
score_typestringIdentifier for the specific check or metric applied (e.g., MRZ format, hologram detection).
-
is_fraudbooleanBoolean flag indicating whether this check detected fraudulent characteristics.
-
scorenumber (double)Numeric confidence level (0.0–1.0) for this individual check’s result.
-
-
-
providerstringName of the external service provider used for performing the document verification (e.g., GOOGLE, VERIDAS).
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Submit identity document images for scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /score Uploads front and/or back images of the identity document to perform fraud and authenticity checks, updating the scoring session with results.
Path parameters
org_idstringRequiredUnique identifier of the organization (tenant) that owns this scoring session.
scoring_idstringRequiredUnique identifier of the identity document scoring session to update.
Header parameters
x-installation_idstringRequiredBrowser installation id (unique identifier)
x-fingerprintstringRequiredDevice fingerprint for tracking and fraud detection.
x-locationstringDevice location coordinates (latitude, longitude).
User-AgentstringRequiredInformation to identify the application, operating system, vendor, and/or version of the requester
x-forwarded-forstringRequiredDevice IP address automatically collected by the backend server. Any value provided by the client will be ignored. Make sure this value is not dropped within nested requests on calls between microservices
Request body multipart/form-data
Multipart payload containing binary images for the front and/or back of the document to be evaluated.
-
frontstring (binary)Binary image data for the front side of the identity document.
-
backstring (binary)Binary image data for the back side of the identity document.
Responses
Identity document scored successfully; no content returned.
No body.
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The request cannot be processed at this time, try again later
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Close identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /close Finalizes and closes the scoring session, preventing any further image submissions or status changes.
Path parameters
org_idstringRequiredUnique identifier of the organization (tenant) that owns this scoring session.
scoring_idstringRequiredUnique identifier of the identity document scoring session to close.
Responses
Scoring session successfully closed; no content returned.
No body.
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Cancel identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /cancel Cancels the scoring session so it reaches a final state and no longer accepts image submissions or status changes.
Path parameters
org_idstringRequiredUnique identifier of the organization (tenant) that owns this scoring session.
scoring_idstringRequiredUnique identifier of the identity document scoring session to cancel.
Responses
Scoring session successfully cancelled; no content returned. Cancelling an already cancelled session returns the same result.
No body.
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
The resource state does not allow the requested operation
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Delegate identity document scoring
/orgs /{org_id} /scorings /identity_document /{scoring_id} /delegate Sends the scoring request to an external provider and returns the provider’s access details.
Path parameters
org_idstringRequiredUnique identifier of the organization (tenant) that owns this scoring session.
scoring_idstringRequiredUnique identifier of the identity document scoring session to delegate.
Request body application/json Required
JSON with provider configuration
-
provider_configstringProvider-specific configuration json content.
-
retry_reasonstring | nullOptional reason for retrying the delegate request. Used exclusively for retries to capture the cancellation reason from the previous attempt (typically the error returned by the provider to the frontend). Ignored without error if sent on the first call when no previous attempt exists.
Responses
Delegation successful; returns external provider credentials and metadata.
-
provider_idstringThe unique identifier assigned by the external provider for this delegated scoring request.
-
access_tokenstringToken granting access to the provider’s scoring endpoint.
-
providerstringName of the external service provider used for performing the document verification (e.g., GOOGLE, VERIDAS).
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Scoring
Get scoring attempts history
/orgs /{org_id} /scorings /identity_document /{scoring_id} /attempts Returns the list of scoring attempts for the specified identity document scoring session.
Path parameters
org_idstringRequiredUnique identifier of the organization (tenant) that owns this scoring session.
scoring_idstringRequiredUnique identifier of the identity document scoring session.
Responses
Expected response to a valid request.
-
attemptsobject[]List of scoring attempts ordered by attempt number.
-
attempt_numberintegerSequential number of this attempt within the scoring session (1-based).
-
creation_datestring (date-time)The timestamp when this scoring attempt was created.
-
provider_idstring | nullThe unique identifier assigned by the external provider for this scoring attempt.
-
score_resultobject | nullScoring results for this attempt, or null if the attempt failed before scoring.
-
global_scorenumber (double)Composite score (0.0–1.0) representing overall confidence in document authenticity.
-
extracted_valuesobjectKey-value pairs extracted from the identity document. Possible keys include:
- NAME: Full name of the individual.
- LAST_NAME: Last name of the individual.
- BIRTH_DATE: Date of birth in ISO format (YYYY-MM-DD).
- DOCUMENT_NUMBER: Unique identifier of the document.
- DOCUMENT_EXPIRATION_DATE: Expiration date of the document in ISO format (YYYY-MM-DD).
object -
scored_datestring (date-time)Exact UTC timestamp when this scoring session was scored.
-
trace_metadataobject-
browser_user_agentstringInformation to identify the application, operating system, vendor, and/or version of the requester
-
ip_addressstringDevice IP address automatically collected by the backend server. Any value provided by the client will be ignored.
-
browser_installation_idstringBrowser installation ID (unique identifier).
-
device_locationstringDevice location coordinates (latitude, longitude).
-
device_finger_printstringDevice fingerprint for tracking and fraud detection.
-
-
scoresobject[]Array of detailed checks performed, each with its own risk score and fraud flag.
-
score_typestringIdentifier for the specific check or metric applied (e.g., MRZ format, hologram detection).
-
is_fraudbooleanBoolean flag indicating whether this check detected fraudulent characteristics.
-
scorenumber (double)Numeric confidence level (0.0–1.0) for this individual check’s result.
-
-
-
fail_reasonstring | nullReason for failure if this attempt did not complete successfully.
-
capturesobject | nullURIs of the document images used in this attempt, or null if no images were captured.
-
frontstringSecure HTTP URI for retrieving the front-side image of the identity document.
-
backstringSecure HTTP URI for retrieving the back-side image of the identity document.
-
-
Request input is not valid
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
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:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Securize
Securize data info into a web_component authn jwt token
/orgs /{org_id} /securize Securizes an Authn token with necessary payload and roles to validate AuthZ
Path parameters
org_idstringRequiredOrganization name
Request body application/json Required
Sign data to securize
-
sign_process_idstring Required
Responses
Success response
-
web_component_tokenstring Required
Identification Chain
Get chained identification process status
/orgs /{org_id} /identifications /chain /{identification_chain_id} Returns the global status and step details of a chained identification process.
Path parameters
org_idstringRequiredOrganization name
identification_chain_idstringRequiredUnique identifier for the chained identification process
Header parameters
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Responses
Chained identification status found
-
statusstringGlobal status of the chained identification process. Enum: CREATED, VALIDATED, SUCCEEDED, FAILED, EXPIRED, CANCELLED
-
step_detailsobject[] RequiredArray with the status and references of each step in the original sequence, in order.
-
typestring RequiredStep identification type (e.g. OTP, IDENTITY_DOCUMENT, AGENT)
-
idstring RequiredID of the identification step
-
statusstring | null RequiredCurrent status of the step (CREATED, VALIDATED, FAILED, EXPIRED, CANCELLED, SUCCEEDED, UNKNOWN).
-
modification_datestring (date-time) RequiredLast update date of this step's status
-
-
creation_datestring (date-time) Required -
modification_datestring (date-time) Required -
expiry_from_creationstring (duration) RequiredValidity duration (ISO-8601 format) from the time it was created
-
failure_reasonstring | nullReason for failure if status is FAILED or EXPIRED, otherwise null.
Forbidden. Request has invalid credentials
No body.
Not found. Entity does not exist or can not be found
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Chain
Validate chained identification process
/orgs /{org_id} /identifications /chain /{identification_chain_id} /validate Validates a chained identification process. If the process exists and is in CREATED state, and all nested identifications are VALIDATED, the chain transitions to VALIDATED and a short-lived x-access-token (JWT) is generated and returned in the response header. Otherwise, returns 409 Conflict if the process or any nested identification is not in the required state, or 404 Not Found if the chain does not exist.
Path parameters
org_idstringRequiredOrganization name
identification_chain_idstringRequiredUnique identifier for the chained identification process
Header parameters
x-installation_idstringRequiredbrowser installation id (unique identifier)
x-locationstringdevice location coordinate
x-fingerprintstringRequireddevice fingerprint
x-forwarded-forstringRequiredDevice IP address automatically collected by the backend server. Any value provided by the client will be ignored.
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Forbidden. Request has invalid credentials
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Response Headers
x-access-tokenstringsecurized authn web_component token.
Identification Chain
Restart chained identification process.
/orgs /{org_id} /identifications /chain /{identification_chain_id} /restart Restores the states and metadata for a chained identification process to CREATED state so that all VALIDATED steps are invalidated and should be done again. If a step is in CREATED state, it remains unchanged. This operation can only be performed if the chained identification process is in VALIDATED or CREATED state.
Path parameters
org_idstringRequiredOrganization name
identification_chain_idstringRequiredUnique identifier for the chained identification process
Header parameters
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Responses
Restoration successful. No Content returned.
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Forbidden. Request has invalid credentials
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Chain Admin
Create a chained identification process.
/orgs /{org_id} /identifications /chain Creates a new chained identification process with a ordered sequence of identification steps (at least one, without repeated elements).
Path parameters
org_idstringRequiredOrganization name
Header parameters
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Request body application/json Required
Data about actor and the identification chain process.
-
actorobject Required-
namestring Required -
last_namestring -
identity_documentobject-
document_numberstring Requiredactor personal number that customers agent will use to identification
-
document_typestring Requiredtype of the actor document number Allowed values: 'IDENTITY_CARD','RESIDENCE_PERMIT', 'PASSPORT'
-
countrystringCountry/region code in ISO 3166 2-letter code
-
-
emailstring (email)Email address of the actor
-
msisdnobject-
phone_numberstring RequiredPhone number of the signatory that we will use to contact us
-
country_codestring Requiredcountry code of the phone number. Numeric code ISO 3166-1
-
-
languagestringLanguages available to configure operation
Not all values are available to all organizations.
If language text it is not defined, a default language text will be provided (by default
ES).Locale defined lists:
-
ES- Spanish language -
EN- English language -
EU- Basque language -
GL- Galician language -
CA- Catalan language -
'UNDEFINED' - Use default language
-
-
-
expires_instring RequiredValidity duration time (ISO-8601 format) from now.
-
sequenceobject[] RequiredOrdered array defining the identification steps (each step should be unique).
-
identification_typestring RequiredType of identification to be used in the chain.
-
otp_stepobject-
two_factor_typestring RequiredTwo factor type to validate actor identity. Possible values: *
DOCUMENT_NUMBER: value defined in actor's document number field *EMAIL: value defined in actor's email field -
channelobject Required-
typestring RequiredChannel which will be used to send the OTP to complete the identification. Possible values: SMS or EMAIL
-
externalboolean RequiredIdentification communications to send the OTP will be sent through third-party gateway instead of MasOrange one
-
-
-
agent_stepobjectobject -
identity_document_stepobject-
provider_typestring RequiredProvider type for identity document step.
-
-
Responses
New chain identification is created.
-
idstring Requireduuid that identifies a chain identification
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Chain Admin
Cancel a chained identification
/orgs /{org_id} /identifications /chain /{identification_chain_id} /cancel Cancels an active chained identification. State will transition to CANCELLED. Also attempts to cancel any active nested identification steps. Identification chain status must be in a cancellable state, i.e. CREATED. 409 Conflict (MDOC_005) will be returned otherwise.
Path parameters
org_idstringRequiredOrganization name
identification_chain_idstringRequiredUnique identifier for the chained identification process
Header parameters
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Request body application/json
Optional reason for cancellation
-
reasonstringThe reason why the process is going to be cancelled.
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-
Identification Chain Admin
Close a chained identification process
/orgs /{org_id} /identifications /chain /{identification_chain_id} /close Closes a chained identification process if it is in VALIDATED state. In case of SUCCEEDED, close will be ignored. If the process is not in the VALIDATED or SUCCEEDED state (e.g., CREATED, FAILED, EXPIRED, CANCELLED), it will return a 409 Conflict (MDOC_005), indicating the operation is not allowed in the current state. If the process is in VALIDATED state: Closes all nested identifications. Updates the chain process state to SUCCEEDED. Registers the close date/time.
Path parameters
org_idstringRequiredOrganization name
identification_chain_idstringRequiredUnique identifier for the chained identification process
Header parameters
User-AgentstringRequiredinformation to identify the application, operating system, vendor, and/or version of the requester
Responses
Action executed correctly
No body.
Request input is not valid
No body.
Unauthorized. AuthN and AuthZ validations have fail
No body.
Not found. Entity does not exist or can not be found
No body.
Conflict. Entity state has conflicts between its new state and the old one.
No body.
Not expected error
No body.
Error response
-
errorsobject[]List of errors
-
codestring RequiredError codes:
MDOC_000MDOC_001MDOC_002MDOC_003MDOC_004MDOC_005MDOC_006
-
titlestring RequiredError titles:
PARAMETER_ERRORINTERNAL_SERVER_ERRORINVALID_INPUTUNAUTHORIZEDRESOURCE_NOT_FOUNDRESOURCE_IS_NO_LONGER_AVAILABLECONFLICTUNPROCESSABLE_ENTITY
-
refstring RequiredUrl of the error details in Developer portal
-
detailsstring RequiredMessage and details of the error
-