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

# Approve an approval request

> <Badge color="blue" shape="pill">EA</Badge> Early Availability: this endpoint may change before GA.

Approve a pending approval request as the authenticated API user. The caller signs the request's signable data with the private key of a registered approval API key and submits the base64url-encoded signature, optionally with the key ID. The server verifies the signature against the registered public key — using the given key ID, or matching against all of the user's registered keys when the key ID is omitted — and advances the approval quorum.

Endpoint Permission: Owner, Admin, Non-Signing Admin, Approver, Signer, Security Admin.



## OpenAPI

````yaml https://swagger.fireblocks.com/openapi.yaml post /approvals/{requestId}/approve
openapi: 3.0.0
info:
  title: Fireblocks API
  description: >
    Fireblocks provides a suite of applications to manage digital asset
    operations and a complete development platform to build your business on the
    blockchain.


    - Visit our website for more information: [Fireblocks
    Website](https://fireblocks.com)

    - Visit our developer docs: [Fireblocks
    DevPortal](https://developers.fireblocks.com)
  version: 1.6.2
  contact:
    email: developers@fireblocks.com
servers:
  - url: https://api.fireblocks.io/v1
    description: Fireblocks Production Environment Base URL
  - url: https://sandbox-api.fireblocks.io/v1
    description: Fireblocks Sandbox Environment Base URL
security: []
paths:
  /approvals/{requestId}/approve:
    post:
      tags:
        - Approvals
      summary: Approve an approval request
      description: >-
        <Badge color="blue" shape="pill">EA</Badge> Early Availability: this
        endpoint may change before GA.


        Approve a pending approval request as the authenticated API user. The
        caller signs the request's signable data with the private key of a
        registered approval API key and submits the base64url-encoded signature,
        optionally with the key ID. The server verifies the signature against
        the registered public key — using the given key ID, or matching against
        all of the user's registered keys when the key ID is omitted — and
        advances the approval quorum.


        Endpoint Permission: Owner, Admin, Non-Signing Admin, Approver, Signer,
        Security Admin.
      operationId: approveApproval
      parameters:
        - $ref: '#/components/parameters/X-Idempotency-Key'
        - in: path
          name: requestId
          required: true
          description: The approval request ID.
          example: '18055'
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApproveApprovalRequest'
      responses:
        '204':
          description: The approval request was approved.
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response: Promise<FireblocksResponse<void>> =
            fireblocks.approvals.approveApproval(approvalsApiApproveApprovalRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<Void>> response =
            fireblocks.approvals().approveApproval(approveApprovalRequest,
            requestId, idempotencyKey);
        - lang: Python
          source: >-
            response =
            fireblocks.approvals.approve_approval(approve_approval_request,
            request_id, idempotency_key);
components:
  parameters:
    X-Idempotency-Key:
      name: Idempotency-Key
      in: header
      description: >-
        A unique identifier for the request. If the request is sent multiple
        times with the same idempotency key, the server will return the same
        response as the first request. The idempotency key is valid for 24
        hours.
      required: false
      schema:
        type: string
  schemas:
    ApproveApprovalRequest:
      type: object
      description: The signed approval of a pending request.
      properties:
        keyId:
          type: string
          description: >-
            The ID of the approval API key used to sign the request. Optional —
            if omitted, the signature is verified against all of the user's
            registered approval API keys.
          example: 64e6b6a3-a607-40e0-8a1e-fe93976ffd46
        signature:
          type: string
          description: >-
            Base64url-encoded signature over the request's signable data,
            produced with the private key of a registered approval API key. If
            keyId is provided the signature must match that key; otherwise it is
            matched against all of the user's registered keys.
          example: MEUCIQD...signature...Ok
      required:
        - signature
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
  headers:
    X-Request-ID:
      schema:
        type: string
      description: >-
        Unique ID correlated to the API request. Please provide it in any
        support ticket you create or on Github issues related to Fireblocks SDKs
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````