> ## Documentation Index
> Fetch the complete documentation index at: https://developers.criteo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /2025-10/retail-media/accounts/{accountId}/grant-consent

> Grant consent to a business application on behalf of a Private Market demand account



## OpenAPI

````yaml https://api.criteo.com/2025-10/retailmedia/open-api-specifications.json post /2025-10/retail-media/accounts/{accountId}/grant-consent
openapi: 3.0.1
info:
  title: Criteo API
  description: Criteo API - RetailMedia
  version: 2025-10
servers:
  - url: https://api.criteo.com
security:
  - oauth: []
tags:
  - name: Accounts
  - name: Analytics
  - name: Audience
  - name: Balance
  - name: Billing
  - name: Campaign
  - name: Gateway
paths:
  /2025-10/retail-media/accounts/{accountId}/grant-consent:
    post:
      tags:
        - Accounts
      summary: /2025-10/retail-media/accounts/{accountId}/grant-consent
      description: >-
        Grant consent to a business application on behalf of a Private Market
        demand account
      operationId: GrantConsent
      parameters:
        - name: accountId
          in: path
          description: The demand account ID on which to grant consent
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GrantConsentInput'
        x-bodyName: grantConsentInput
      responses:
        '204':
          description: Success
      security:
        - oauth:
            - RetailMedia_Accounts_Manage
components:
  schemas:
    GrantConsentInput:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/GrantConsentModelValueResource'
      description: An object that encapsulates GrantConsentModel
    GrantConsentModelValueResource:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/GrantConsentModel'
        type:
          type: string
      description: >-
        A top-level object that encapsulates a Criteo API response for a single
        value
    GrantConsentModel:
      required:
        - callbackUrl
        - clientId
      type: object
      properties:
        callbackState:
          type: string
        callbackUrl:
          type: string
        clientId:
          type: string
      description: >-
        An object that represents the required (ClientId and CallbackUrl) and
        optional (CallbackState) parameters when granting consents on behalf of
        a Private Market demand account
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}
        authorizationCode:
          authorizationUrl: https://api.criteo.com/oauth2
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}

````