/
Does the Usercentrics API work with other APIs?

Usercentrics - PUBLIC

Does the Usercentrics API work with other APIs?

With our API users can Manage our CMP like suppressing the banner or showing the banner, Users can also use our API to get a lot of information related to consents, banner and implemented technologies.

To use our API you can check all the available functions here: 

Usercentrics Documentation

Our API works with other APIs but our API itself is a “stand-alone solution”. That means: we provide information. What users do with that information is beyond our sphere of influence. 

We cannot guarantee if the information that our API   retrieve could be handled by the other API, This should be checked by the provider of the other API.

To be easier retrieve information customers can be using JavaScripts tools (.fitter(),.map(), .find()) and the javascript operators (and, or)

Examples of some codes to retrieve info:

Get a name or a specific field from a templateId

UC_UI.getServicesBaseInfo().find(data => (data.id === "HkocEodjb7")).name

Get a List of arrays of all technologies that have consents

UC_UI.getServicesBaseInfo().filter(data => (data.consent.status === true))

 

Related content

Multi-Configuration Bulk Editing (Managing Multiple Settings-IDs)
Multi-Configuration Bulk Editing (Managing Multiple Settings-IDs)
Read with this
Will GoogleBot see the Usercentrics Banner or is it excluded by the Usercentrics CMP?
Will GoogleBot see the Usercentrics Banner or is it excluded by the Usercentrics CMP?
More like this
US Frameworks in the User Account Interface
US Frameworks in the User Account Interface
Read with this
Cross Domain Consent Sharing with different Settings-IDs
Cross Domain Consent Sharing with different Settings-IDs
Read with this
How can I switch to a specific version of Browser UI (CMP V2)?
How can I switch to a specific version of Browser UI (CMP V2)?
Read with this
How can I block iframes using the Usercentrics API?
How can I block iframes using the Usercentrics API?
Read with this

Usercentrics - PUBLIC