Didomi · Capability

Didomi Platform API — Domains & Cookies

Didomi Platform API — Domains & Cookies. 12 operations. Self-contained Naftiko capability over the Didomi Platform REST API.

Didomi Platform API — Domains & Cookies is a Naftiko capability published by Didomi, one of 10 capabilities the APIs.io network indexes for this provider. It bundles 12 operations across the GET, POST, PUT, PATCH, and DELETE methods.

The capability includes 4 read-only operations and 8 state-changing operations. Lead operation: Retrieve a list of domains. 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 domains — Retrieve a list of domains
/v1/domains
POST
Post domains — Create a domain
/v1/domains
GET
Get domains id — Retrieve a domain
/v1/domains/{id}
PUT
Put domains id — Update a domain
/v1/domains/{id}
PATCH
Patch domains id — Patch a domain
/v1/domains/{id}
DELETE
Delete domains id — Delete a domain
/v1/domains/{id}
GET
Get cookies — Retrieve a list of cookies
/v1/cookies
POST
Post cookies — Create a cookie
/v1/cookies
GET
Get cookies id — Retrieve a cookie
/v1/cookies/{id}
PUT
Put cookies id — Update a cookie
/v1/cookies/{id}
PATCH
Patch cookies id — Patch a cookie
/v1/cookies/{id}
DELETE
Delete cookies id — Delete a cookie
/v1/cookies/{id}

MCP Tools

didomi-get-domains

Retrieve a list of domains

read-only idempotent
didomi-post-domains

Create a domain

didomi-get-domains-id

Retrieve a domain

read-only idempotent
didomi-put-domains-id

Update a domain

idempotent
didomi-patch-domains-id

Patch a domain

didomi-delete-domains-id

Delete a domain

idempotent
didomi-get-cookies

Retrieve a list of cookies

read-only idempotent
didomi-post-cookies

Create a cookie

didomi-get-cookies-id

Retrieve a cookie

read-only idempotent
didomi-put-cookies-id

Update a cookie

idempotent
didomi-patch-cookies-id

Patch a cookie

didomi-delete-cookies-id

Delete a cookie

idempotent

Capability Spec

domains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Didomi Platform API — Domains & Cookies
  description: Didomi Platform API — Domains & Cookies. 12 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: domains
    baseUri: https://api.didomi.io/v1
    description: Didomi Platform API — Domains & Cookies business capability against the Didomi Platform REST API (https://api.didomi.io/v1).
    resources:
    - name: domains
      path: /domains
      operations:
      - name: get-domains
        method: GET
        description: Retrieve a list of domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: object
          required: false
          description: Optional query filters / pagination.
      - name: post-domains
        method: POST
        description: Create a domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
          description: Request body (JSON).
    - name: domains-id
      path: /domains/{id}
      operations:
      - name: get-domains-id
        method: GET
        description: Retrieve a domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
      - name: put-domains-id
        method: PUT
        description: Update a domain
        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: patch-domains-id
        method: PATCH
        description: Patch a domain
        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-domains-id
        method: DELETE
        description: Delete a domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    - name: cookies
      path: /cookies
      operations:
      - name: get-cookies
        method: GET
        description: Retrieve a list of cookies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: object
          required: false
          description: Optional query filters / pagination.
      - name: post-cookies
        method: POST
        description: Create a cookie
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
          description: Request body (JSON).
    - name: cookies-id
      path: /cookies/{id}
      operations:
      - name: get-cookies-id
        method: GET
        description: Retrieve a cookie
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
      - name: put-cookies-id
        method: PUT
        description: Update a cookie
        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: patch-cookies-id
        method: PATCH
        description: Patch a cookie
        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-cookies-id
        method: DELETE
        description: Delete a cookie
        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: domains-rest
    port: 8080
    description: REST adapter for Didomi Platform API — Domains & Cookies. One resource per consumed operation.
    resources:
    - path: /v1/domains
      name: domains
      description: REST surface for domains.
      operations:
      - method: GET
        name: get-domains
        description: Retrieve a list of domains
        call: domains.get-domains
      - method: POST
        name: post-domains
        description: Create a domain
        call: domains.post-domains
    - path: /v1/domains/{id}
      name: domains-id
      description: REST surface for domains-id.
      operations:
      - method: GET
        name: get-domains-id
        description: Retrieve a domain
        call: domains.get-domains-id
      - method: PUT
        name: put-domains-id
        description: Update a domain
        call: domains.put-domains-id
      - method: PATCH
        name: patch-domains-id
        description: Patch a domain
        call: domains.patch-domains-id
      - method: DELETE
        name: delete-domains-id
        description: Delete a domain
        call: domains.delete-domains-id
    - path: /v1/cookies
      name: cookies
      description: REST surface for cookies.
      operations:
      - method: GET
        name: get-cookies
        description: Retrieve a list of cookies
        call: domains.get-cookies
      - method: POST
        name: post-cookies
        description: Create a cookie
        call: domains.post-cookies
    - path: /v1/cookies/{id}
      name: cookies-id
      description: REST surface for cookies-id.
      operations:
      - method: GET
        name: get-cookies-id
        description: Retrieve a cookie
        call: domains.get-cookies-id
      - method: PUT
        name: put-cookies-id
        description: Update a cookie
        call: domains.put-cookies-id
      - method: PATCH
        name: patch-cookies-id
        description: Patch a cookie
        call: domains.patch-cookies-id
      - method: DELETE
        name: delete-cookies-id
        description: Delete a cookie
        call: domains.delete-cookies-id
  - type: mcp
    namespace: domains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Didomi Platform API — Domains & Cookies. One tool per consumed operation.
    tools:
    - name: didomi-get-domains
      description: Retrieve a list of domains
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains.get-domains
    - name: didomi-post-domains
      description: Create a domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: domains.post-domains
    - name: didomi-get-domains-id
      description: Retrieve a domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains.get-domains-id
    - name: didomi-put-domains-id
      description: Update a domain
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: domains.put-domains-id
    - name: didomi-patch-domains-id
      description: Patch a domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: domains.patch-domains-id
    - name: didomi-delete-domains-id
      description: Delete a domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: domains.delete-domains-id
    - name: didomi-get-cookies
      description: Retrieve a list of cookies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains.get-cookies
    - name: didomi-post-cookies
      description: Create a cookie
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: domains.post-cookies
    - name: didomi-get-cookies-id
      description: Retrieve a cookie
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains.get-cookies-id
    - name: didomi-put-cookies-id
      description: Update a cookie
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: domains.put-cookies-id
    - name: didomi-patch-cookies-id
      description: Patch a cookie
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: domains.patch-cookies-id
    - name: didomi-delete-cookies-id
      description: Delete a cookie
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: domains.delete-cookies-id