Osano Consent Profiles API

The Consent Profiles API from Osano — 1 operation(s) for consent profiles.

Operations 1

GET /v2/consent-profiles/{hashedSubjectId} Get consent profiles by hashed subject id #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/osano-consent-profiles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

osano-consent-profiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Unified Consent Core Consent Profiles API
  description: '> **📍 Regional Distribution**

    > The UC Core API is regionally distributed.'
  version: 2.0.0
servers:
- url: https://uc.api.osano.com
security:
- ucApiKey: []
tags:
- name: Consent Profiles
paths:
  /v2/consent-profiles/{hashedSubjectId}:
    get:
      description: Retrieves the unified consent for a subject.
      parameters:
      - schema:
          type: string
          minLength: 1
        in: query
        name: configId
        required: true
      - schema:
          type: string
        in: path
        name: hashedSubjectId
        required: true
      - schema:
          type: string
        in: header
        name: x-country-code-override
        required: false
        description: Valid ISO 3166-1 country code to override the country resolution based on the IP address.
      - schema:
          type: string
        in: header
        name: x-region-code-override
        required: false
        description: Valid ISO 3166-2 region code to override the region resolution based on the IP address
      responses:
        '200':
          description: Valid unified consent.
          content:
            application/json:
              schema:
                type: object
                description: Valid unified consent.
                properties:
                  unifiedConsent:
                    $ref: '#/components/schemas/def-4'
                  conflicts:
                    type: array
                    items:
                      $ref: '#/components/schemas/def-3'
        '400':
          description: No consents found for the subject
      tags:
      - Consent Profiles
      summary: Get consent profiles by hashed subject id
      x-summary-source: derived
      operationId: getV2ConsentProfilesByHashedSubjectId
      x-operation-id-source: derived
components:
  schemas:
    def-4:
      type: object
      required:
      - subjectId
      - brandId
      - actions
      - attributes
      properties:
        subjectId:
          type: string
        brandId:
          type: string
        channelIds:
          type: array
          items:
            type: string
        compliance:
          $ref: '#/components/schemas/def-0'
        actions:
          type: array
          items:
            type: object
            required:
            - target
            - vendor
            - action
            properties:
              target:
                type: string
              vendor:
                type: string
              action:
                type: string
        attributes: {}
        lastUpdateDate:
          type: string
        lastConflictDate:
          type: string
      title: unified-consent
    def-0:
      type: object
      properties:
        privacyPolicy:
          type: object
          required:
          - url
          properties:
            version:
              type: string
            url:
              type: string
        gpc:
          type: integer
          minimum: 0
          maximum: 1
      title: compliance
    def-3:
      type: object
      properties:
        type:
          type: string
        resolution:
          type: string
        actionsInConflict:
          type: array
          items:
            type: object
            properties:
              target:
                type: string
              vendor:
                type: string
              action:
                type: string
              consentId:
                type:
                - string
                - 'null'
              channelId:
                type:
                - string
                - 'null'
              createdAt:
                type:
                - string
                - 'null'
      title: conflict
  securitySchemes:
    ucApiKey:
      description: Unified Consent API key
      type: apiKey
      name: x-uc-api-key
      in: header
    osanoApiKey:
      description: Osano API key
      type: apiKey
      name: x-osano-api-key
      in: header