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

# Ready For Approval

> When an ID application is ready (all attachments have been signed and uploaded), the client can call this resource to flag the application as ready for approval.

## Overview

When an ID application is ready (all attachments have been signed and uploaded), the client can call this resource to flag the application as ready for approval. This will execute any automated onboarding procedures to analyze the application, and, if passing them, will take the identity to the approved state. They can also take the application to the rejected state, in case they find the information invalid.

## Authentication

Requires a valid JWT bearer token.

## Notes

This endpoint uses the request schema notation described in [Pattern matching](/guides/pattern-matching).


## OpenAPI

````yaml /test-api/openapi.yaml post /Agent/Legal/ReadyForApproval
openapi: 3.1.0
info:
  title: Neuron Agent API
  version: 1.0.0
  description: |-
    The Agent API exposes core Neuron functionality over HTTP so services can
    operate without a persistent XMPP connection. Endpoints are grouped by
    capability, starting with Accounts and XMPP messaging.
servers:
  - url: https://{host}
    variables:
      host:
        default: neuron.example.com
        description: Neuron domain issued to you.
security:
  - bearerAuth: []
tags:
  - name: Accounts
  - name: Crypto
  - name: Open intelligence
  - name: Legal and contracts
  - name: State machines
  - name: Storage
  - name: Tokens
  - name: Wallet
  - name: XMPP messaging
paths:
  /Agent/Legal/ReadyForApproval:
    post:
      tags:
        - Legal and contracts
      summary: Ready For Approval
      description: >-
        When an ID application is ready (all attachments have been signed and
        uploaded), the client can call this resource to flag the application as
        ready for approval.
      operationId: post_Agent_Legal_ReadyForApproval
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                keyId:
                  type: string
                legalId:
                  type: string
                nonce:
                  type: string
                keySignature:
                  type: string
                requestSignature:
                  type: string
              additionalProperties: true
              required:
                - keyId
                - legalId
                - nonce
                - keySignature
                - requestSignature
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  Identity:
                    type: object
                    additionalProperties: true
                additionalProperties: true
                required:
                  - Identity
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````