Sourcepoint Preferences end-user history API

The Preferences end-user history API from Sourcepoint — 2 operation(s) for preferences end-user history.

Operations 2

GET /user-preference/history Get end-user preferences history
DELETE /user-preference Delete end-user preferences history

Documentation

Specifications

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/sourcepoint-preferences-end-user-history-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

sourcepoint-preferences-end-user-history-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Preferences end-user history API
  version: 1.0.0
  description: Sourcepoint Technologies API for managing end-user Preferences data.
servers:
- url: https://cdn.privacy-mgmt.com/preferences
tags:
- name: Preferences end-user history
paths:
  /user-preference/history:
    get:
      tags:
      - Preferences end-user history
      summary: Get end-user preferences history
      description: Returns end-user preferences history. In addition to the `accountId`, you will also need to include <u>either</u> the end-user's `uuid` or `authId` in the `id` parameter.
      parameters:
      - $ref: '#/components/parameters/accountId'
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/preferencesHistory'
              example:
              - system: SP
                messageId: 1326089
                propertyId: 12345
                vendorListId: 677c0006b4aaddaae14c1234a
                timestamp: '2025-07-15T18:53:13.907Z'
                categories:
                - id: 0
                  name: AI Waiver
                  type: LEGAL-TRANSACTION
                  subType: AI-POLICY
                  legalDoc:
                    id: abc123
                    name: AI Policy 2025
                - id: 4
                  name: Customer Service Communication
                  type: MARKETING
                _id: 6877a0b70b23e3a5cbe11234
  /user-preference:
    delete:
      tags:
      - Preferences end-user history
      summary: Delete end-user preferences history
      description: Deletes end-user preferences history for a property. In addition to the `propertyId`, you will also need to include <u>either</u> the end-user's `uuid` or `authId`.
      parameters:
      - name: propertyId
        in: query
        required: true
        description: The property ID for the property in the Sourcepoint portal.
        schema:
          type: integer
      - $ref: '#/components/parameters/uuid'
      - $ref: '#/components/parameters/authId'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/deletePreferencesHistory'
components:
  parameters:
    accountId:
      name: accountId
      in: query
      description: Your organization's Sourcepoint account ID.
      required: true
      schema:
        type: number
    id:
      name: id
      in: query
      description: The end-user's uuid or authId
      required: true
      schema:
        type: string
    uuid:
      name: uuid
      in: query
      description: Retrieved from preferences object in the `_sp_user_consent_{propertyId}` local storage item
      required: false
      schema:
        type: string
    authId:
      name: authId
      in: query
      description: Retrieved from the first-party cookie `authId`
      required: false
      schema:
        type: string
  schemas:
    deletePreferencesHistory:
      description: Returned response for successful delete end-user preferences history request.
      type: object
      properties:
        deletedCount:
          type: number
          description: Number of preference records associated with the uuid or authId that was deleted.
          example: 4
        message:
          type: string
          description: Confirmation message.
          example: Successfully deleted 4 user preference record(s)
    preferencesHistory:
      description: Returned response for successful get end-user preferences history.
      type: array
      items:
        type: object
        properties:
          system:
            type: string
            description: System powering the message for which the end-user performed the transaction. If syncing with a third-party vendor (e.g. Hubspot) then the system powering the message can be the third-party if the action was taken through a message served by that party.
          messageId:
            type: number
            description: ID of the Preferences message within the Sourcepoint portal
          propertyId:
            type: number
            description: ID of the property within the Sourcepoint portal.
          vendorListId:
            type: string
            description: ID of the Preferences configuration within the Sourcepoint portal.
          timestamp:
            type: string
            description: Date and time end-user performed their preference choice transaction.
          categories:
            type: array
            description: Preferences categories accepted by the end-user.
            items:
              type: object
              properties:
                id:
                  type: number
                  description: Category ID for the Marketing preference category or Legal preference category.
                name:
                  type: string
                  description: Name configured for the Marketing preference category or Legal preference category.
                type:
                  type: string
                  description: Identifies whether the category is a Marketing preference or Legal preference category.
                subType:
                  type: string
                  description: Returned when the category is a Legal preference category and reflects the Document Type selected for the Legal preference category.
                legalDoc:
                  type: object
                  properties:
                    id:
                      type: string
                      description: ID of the legal document mapped to the Legal document category that was opted-into by the end-user.
                    name:
                      type: string
                      description: Name of the legal document mapped to the Legal document category that was opted-into by the end-user.
          _id:
            type: string
            description: ID of the end-user transaction where they made their preferences choice.
            example: 6877a0b70b23e3a5cbe11234
x-readme:
  explorer-enabled: true
  proxy-enabled: true