Didomi · Capability

Didomi Platform API — Consents Events

Didomi Platform API — Consents Events. 6 operations. Self-contained Naftiko capability over the Didomi Platform REST API.

Didomi Platform API — Consents Events is a Naftiko capability published by Didomi, one of 10 capabilities the APIs.io network indexes for this provider. It bundles 6 operations across the GET, DELETE, POST, and PATCH methods rooted at /v1/consents/events.

The capability includes 2 read-only operations and 4 state-changing operations. Lead operation: Retrieve events. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Didomi, Consent Management, and Privacy.

Run with Naftiko DidomiConsent ManagementPrivacy

What You Can Do

GET
Get consents events — Retrieve events
/v1/consents/events
POST
Post consents events — Create a new event
/v1/consents/events
DELETE
Delete consents events — Delete events
/v1/consents/events
GET
Get consents events id — Retrieve an event
/v1/consents/events/{id}
PATCH
Patch consents events id — Patch an event
/v1/consents/events/{id}
DELETE
Delete consents events id — Delete an event
/v1/consents/events/{id}

MCP Tools

didomi-get-consents-events

Retrieve events

read-only idempotent
didomi-post-consents-events

Create a new event

didomi-delete-consents-events

Delete events

idempotent
didomi-get-consents-events-id

Retrieve an event

read-only idempotent
didomi-patch-consents-events-id

Patch an event

didomi-delete-consents-events-id

Delete an event

idempotent

Capability Spec

consents-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Didomi Platform API — Consents Events
  description: Didomi Platform API — Consents Events. 6 operations. Self-contained Naftiko capability over the Didomi Platform REST API.
  tags:
  - Didomi
  - Consent Management
  - Privacy
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    DIDOMI_BEARER_TOKEN: DIDOMI_BEARER_TOKEN
capability:
  consumes:
  - type: http
    namespace: consents-events
    baseUri: https://api.didomi.io/v1
    description: Didomi Platform API — Consents Events business capability against the Didomi Platform REST API (https://api.didomi.io/v1).
    resources:
    - name: consents-events
      path: /consents/events
      operations:
      - name: get-consents-events
        method: GET
        description: Retrieve events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: object
          required: false
          description: Optional query filters / pagination.
      - name: post-consents-events
        method: POST
        description: Create a new event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
          description: Request body (JSON).
      - name: delete-consents-events
        method: DELETE
        description: Delete events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
    - name: consents-events-id
      path: /consents/events/{id}
      operations:
      - name: get-consents-events-id
        method: GET
        description: Retrieve an event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
      - name: patch-consents-events-id
        method: PATCH
        description: Patch an event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          required: true
          description: Request body (JSON).
      - name: delete-consents-events-id
        method: DELETE
        description: Delete an event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      value: '{{env.DIDOMI_BEARER_TOKEN}}'
      placement: header
      note: Obtain by POSTing api-key + secret to /v1/sessions and reusing access_token for up to one hour.
  exposes:
  - type: rest
    namespace: consents-events-rest
    port: 8080
    description: REST adapter for Didomi Platform API — Consents Events. One resource per consumed operation.
    resources:
    - path: /v1/consents/events
      name: consents-events
      description: REST surface for consents-events.
      operations:
      - method: GET
        name: get-consents-events
        description: Retrieve events
        call: consents-events.get-consents-events
      - method: POST
        name: post-consents-events
        description: Create a new event
        call: consents-events.post-consents-events
      - method: DELETE
        name: delete-consents-events
        description: Delete events
        call: consents-events.delete-consents-events
    - path: /v1/consents/events/{id}
      name: consents-events-id
      description: REST surface for consents-events-id.
      operations:
      - method: GET
        name: get-consents-events-id
        description: Retrieve an event
        call: consents-events.get-consents-events-id
      - method: PATCH
        name: patch-consents-events-id
        description: Patch an event
        call: consents-events.patch-consents-events-id
      - method: DELETE
        name: delete-consents-events-id
        description: Delete an event
        call: consents-events.delete-consents-events-id
  - type: mcp
    namespace: consents-events-mcp
    port: 9090
    transport: http
    description: MCP adapter for Didomi Platform API — Consents Events. One tool per consumed operation.
    tools:
    - name: didomi-get-consents-events
      description: Retrieve events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: consents-events.get-consents-events
    - name: didomi-post-consents-events
      description: Create a new event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: consents-events.post-consents-events
    - name: didomi-delete-consents-events
      description: Delete events
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: consents-events.delete-consents-events
    - name: didomi-get-consents-events-id
      description: Retrieve an event
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: consents-events.get-consents-events-id
    - name: didomi-patch-consents-events-id
      description: Patch an event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: consents-events.patch-consents-events-id
    - name: didomi-delete-consents-events-id
      description: Delete an event
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: consents-events.delete-consents-events-id