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

# Set an application status

> Set the verification status of an application.



## OpenAPI

````yaml /versions/openapi-v1.5.yaml post /api/v1/application/{id}/set-status
openapi: 3.0.0
info:
  title: Enveloped Application
  version: '1.5'
  x-logo:
    url: ./logo.svg
    altText: GetID
  description: |
    # API
    The Enveloped Application API lets you submit applications for identity
    verification, check their progress, and retrieve the verification
    results and records.
    # SDK
    GetID provides iOS, Android and Web SDKs to simplify user's data capturing.
    Links to the SDKs documentation and usage examples:
    - [Web](https://github.com/vvorld/getid-web-sdk)
    - [iOS](https://github.com/vvorld/getid-ios-sdk)
    - [Android](https://github.com/vvorld/getid-android-sdk)

    # Response version 1.5

    `VerificationResult` is generated from `PublicEAv1_5`.

    - Changed structure of application logs.
  x-response-schema: PublicEAv1_5
servers:
  - url: https://acme.getid.ee/
    description: Example production server
  - url: https://acme.sb.getid.dev/
    description: Example sandbox server
security: []
tags:
  - name: Applications
    description: Create, fetch, and list verification applications.
  - name: Review and records
    description: Download records and update review data on an existing application.
  - name: SDK sessions
    description: Create API tokens and one-time verification links.
  - name: Translations
    description: Manage SDK translation dictionaries.
paths:
  /api/v1/application/{id}/set-status:
    post:
      tags:
        - Review and records
      summary: Set an application status
      description: Set the verification status of an application.
      parameters:
        - $ref: '#/components/parameters/XApiKey'
        - in: path
          name: id
          required: true
          schema:
            type: string
            format: object-id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationStatusRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  responseCode:
                    type: integer
                    enum:
                      - 200
                required:
                  - responseCode
                type: object
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                properties:
                  responseCode:
                    type: integer
                    enum:
                      - 400
                  errorMessage:
                    type: string
                    example: Wrong status value
                type: object
        '401':
          description: Missing or wrong authorization headers
          headers:
            WWW-Authenticate:
              description: >-
                The authentication method that should be used to gain access to
                a resource
              schema:
                type: string
              example: apiKey realm="Access to API"
          content:
            application/json:
              schema:
                properties:
                  responseCode:
                    type: integer
                    enum:
                      - 401
                  errorMessage:
                    type: string
                    example: Unauthorized
                type: object
        '404':
          description: An application is not found
          content:
            application/json:
              schema:
                properties:
                  responseCode:
                    type: integer
                    enum:
                      - 404
                  errorMessage:
                    type: string
                    example: Application with id 5e62110968e3fb4d655756d1 not found
                type: object
      security:
        - ApiKeyAuth: []
        - ApiTokenAuth: []
components:
  parameters:
    XApiKey:
      name: X-API-Key
      in: header
      required: true
      description: >
        Your account API key, or a token generated from /api/v1/token. You can
        also send the same value as `Authorization: Bearer <api-key-or-token>`.
      schema:
        type: string
  schemas:
    ApplicationStatusRequest:
      type: object
      properties:
        status:
          type: string
          description: New application status
          enum:
            - approved
            - declined
            - needs-review
            - error
      required:
        - status
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        Your account's API key, found on the Settings page.
        It's required for all API methods.
        You can also send it as an `Authorization: Bearer <api-key>` header
        instead of `X-API-Key`.
    ApiTokenAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        A token generated from /api/v1/token can be
        sent in this same `X-API-Key` header (or as
        `Authorization: Bearer <token>`).
        When you use that token instead of the account API key, the
        application is restricted to requests authenticated with: 1) that
        same token; 2) a token with root access; 3) the account API key.

````

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