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

# Post v1mandate requests

> Creator agent only; OAuth mandate:request. Same agent/account idempotency key and intent return the same request. Changed intent conflicts.



## OpenAPI

````yaml /openapi/platform.json post /v1/mandate-requests
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Versioned GOL developer and consumer API. Consumer routes are mounted when
    their runtime integrations are configured.
  version: 0.8.0-rc.1
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/mandate-requests:
    post:
      tags:
        - Canonical mandate requests
      description: >-
        Creator agent only; OAuth mandate:request. Same agent/account
        idempotency key and intent return the same request. Changed intent
        conflicts.
      operationId: createCanonicalMandateRequest
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CanonicalMandateIntent'
      responses:
        '200':
          description: Canonical mandate request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CanonicalMandateParked'
        '400':
          description: Request refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '401':
          description: Request refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '403':
          description: Request refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '404':
          description: Request refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '409':
          description: Request refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
        '503':
          description: Request refused.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerError'
      security:
        - bearerAuth: []
components:
  schemas:
    CanonicalMandateIntent:
      type: object
      properties:
        schemaVersion:
          type: integer
          enum:
            - 1
        kind:
          type: string
          enum:
            - mandate.gas-policy.approve
        chainId:
          type: integer
          enum:
            - 84532
        agentAddress:
          pattern: ^0x[0-9a-fA-F]{40}$
          type: string
        recipients:
          type: array
          items:
            pattern: ^0x[0-9a-fA-F]{40}$
            type: string
          minItems: 1
          maxItems: 16
          uniqueItems: true
        maxPerActionBaseUnits:
          type: string
          pattern: ^[1-9][0-9]*$
        maxTotalBaseUnits:
          type: string
          pattern: ^[1-9][0-9]*$
        maxGasPerActionWei:
          type: string
          pattern: ^[1-9][0-9]*$
        maxGasTotalWei:
          type: string
          pattern: ^[1-9][0-9]*$
        expiresAt:
          minimum: 1
          type: integer
        idempotencyKey:
          format: uuid
          type: string
      required:
        - schemaVersion
        - kind
        - chainId
        - agentAddress
        - recipients
        - maxPerActionBaseUnits
        - maxTotalBaseUnits
        - maxGasPerActionWei
        - maxGasTotalWei
        - expiresAt
        - idempotencyKey
      additionalProperties: false
    CanonicalMandateParked:
      type: object
      properties:
        id:
          type: string
          pattern: ^mr_[0-9a-f]{32}$
        url:
          type: string
          format: uri
        expiresAt:
          format: date-time
          type: string
      required:
        - id
        - url
        - expiresAt
      additionalProperties: false
    ConsumerError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - unauthorized
                - forbidden
                - not_found
                - rate_limited
                - service_unavailable
                - internal_error
                - capability_unavailable
                - conflict
            message:
              type: string
            correlationId:
              type: string
          required:
            - code
            - message
            - correlationId
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Opaque owner, CLI, or agent session token. Agent tokens are accepted
        only where marked.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.