Didomi · Arazzo Workflow

Didomi Group Notices Under a Template

Version 1.0.0

Create a consent notice, group it under a new notice template, and read the template back.

1 workflow 1 source API 1 provider
View Spec View on GitHub AdvertisingAdTechCCPACMPConsentConsent ManagementDSARData PrivacyGDPRIAB TCFMarTechPreference ManagementPrivacyPrivacy RequestsRegulatory ComplianceArazzoWorkflows

Provider

didomi

Workflows

group-notices-template
Create a notice, group it under a new notice template, and read the template back.
Creates a consent notice, creates a notice template that lists the new notice in its notices_id array, and retrieves the template by its ID to confirm the grouping.
3 steps inputs: noticeName, organizationId, templateName, token outputs: noticeId, templateId
1
createNotice
{$sourceDescriptions.noticesApi.url}#/paths/~1widgets~1notices/post
Create a consent notice owned by the organization. organization_id and name are both required by the NoticeInput schema.
2
createTemplate
{$sourceDescriptions.noticesApi.url}#/paths/~1widgets~1notices~1templates/post
Create a notice template that groups the new notice via its notices_id list, sharing common configuration across the listed notices.
3
getTemplate
{$sourceDescriptions.noticesApi.url}#/paths/~1widgets~1notices~1templates~1{id}/get
Read the template back by its ID to confirm it was created and groups the notice.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Didomi Group Notices Under a Template
  summary: Create a consent notice, group it under a new notice template, and read the template back.
  description: >-
    A Didomi pattern for sharing common configuration across multiple consent
    notices. The workflow creates a consent notice, creates a notice template that
    references the new notice in its notices_id list, and reads the template back
    by its ID to confirm the grouping. Each step spells out its request inline,
    including the bearer Authorization header, so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-130.50
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-130.50
      capability_name: Privacy & Data Protection Management
      spec: didomi-notices-api-openapi.yml
      confidence: 0.72
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: noticesApi
  url: ../openapi/didomi-notices-api-openapi.yml
  type: openapi
workflows:
- workflowId: group-notices-template
  summary: Create a notice, group it under a new notice template, and read the template back.
  description: >-
    Creates a consent notice, creates a notice template that lists the new notice
    in its notices_id array, and retrieves the template by its ID to confirm the
    grouping.
  inputs:
    type: object
    required:
    - token
    - organizationId
    - noticeName
    - templateName
    properties:
      token:
        type: string
        description: A valid Didomi JWT used as the bearer token for the Authorization header.
      organizationId:
        type: string
        description: The ID of the organization that owns the notice.
      noticeName:
        type: string
        description: Internal name of the notice to create.
      templateName:
        type: string
        description: Name of the notice template to create.
  steps:
  - stepId: createNotice
    description: >-
      Create a consent notice owned by the organization. organization_id and name
      are both required by the NoticeInput schema.
    operationPath: '{$sourceDescriptions.noticesApi.url}#/paths/~1widgets~1notices/post'
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.token"
    requestBody:
      contentType: application/json
      payload:
        organization_id: $inputs.organizationId
        name: $inputs.noticeName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      noticeId: $response.body#/id
  - stepId: createTemplate
    description: >-
      Create a notice template that groups the new notice via its notices_id
      list, sharing common configuration across the listed notices.
    operationPath: '{$sourceDescriptions.noticesApi.url}#/paths/~1widgets~1notices~1templates/post'
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.token"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.templateName
        notices_id:
        - $steps.createNotice.outputs.noticeId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      templateId: $response.body#/id
  - stepId: getTemplate
    description: >-
      Read the template back by its ID to confirm it was created and groups the
      notice.
    operationPath: '{$sourceDescriptions.noticesApi.url}#/paths/~1widgets~1notices~1templates~1{id}/get'
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.token"
    - name: id
      in: path
      value: $steps.createTemplate.outputs.templateId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      templateId: $response.body#/id
  outputs:
    noticeId: $steps.createNotice.outputs.noticeId
    templateId: $steps.getTemplate.outputs.templateId

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/didomi-group-notices-template-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.