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

# Get Action Status

> Use this API to poll for the status of asynchonous actions such as NFT mints, transfers, etc.

**API scope required**: `nfts.create`


<Note>
  The shape of the data property in the `200` response for this API depends on the type of action initially performed.
  For example, minting/burning an NFT, creating/updating a collection or template, or NFT transfers.
</Note>

The `action` property will indicate the type of action originally performed and will be one of:

* `nfts.create`
* `nfts.delete`
* `nfts.update`
* `collections.create`
* `collections.update`
* `wallets:nfts.transfer`


## OpenAPI

````yaml get /2022-06-09/actions/{actionId}
openapi: 3.0.1
info:
  description: N/A
  version: 1.0.0
  title: NFT Minting
  contact:
    name: Crossmint NFT Minting APIs
    url: https://www.crossmint.com
    email: support@crossmint.com
servers:
  - url: https://staging.crossmint.com/api
    description: Staging environment (testnets)
  - url: https://www.crossmint.com/api
    description: Production environment (mainnets)
security:
  - apiKey: []
paths:
  /2022-06-09/actions/{actionId}:
    get:
      tags:
        - Actions
      summary: Get Action Status
      description: >
        Use this API to poll for the status of asynchonous actions such as NFT
        mints, transfers, etc.


        **API scope required**: `nfts.create`
      operationId: get-action-status
      parameters:
        - name: actionId
          in: path
          description: The actionId.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  actionId:
                    type: string
                    format: uuid
                    example: 66881a4d-eff9-467a-b19d-a2ff76eef5c2
                  action:
                    type: string
                    example: nfts.create
                  status:
                    type: string
                    example: pending
                  data:
                    type: object
                    properties:
                      collection:
                        type: object
                        properties:
                          id:
                            type: string
                            example: someCollection
                          contractAddress:
                            type: string
                            example: '0x0B7c736cD6D517b6AFfB3F6151eC662B0000018B'
                      recipient:
                        type: object
                        properties:
                          walletAddress:
                            type: string
                            example: '0x6Def4FF2Efe3731EB2Ca09c625d21bfd6da00000'
                      token:
                        type: object
                        properties:
                          id:
                            type: string
                            example: 66881a4d-eff9-467a-b19d-a2ff76eef5c2
                  startedAt:
                    type: string
                    format: date-time
                    example: '2023-10-02T22:10:41.000Z'
                  resource:
                    type: string
                    format: uri
                    example: >-
                      https://staging.crossmint.com/api/2022-06-09/actions/66881a4d-eff9-467a-b19d-a2ff76eef5c2
        '403':
          description: Forbidden error, please ensure the credentials are correct.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Response'
        '404':
          description: Not found error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404Response'
        '524':
          description: A timeout occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/524Response'
components:
  schemas:
    403Response:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: Malformed API key. / API key provided doesn't have required scopes.
    404Response:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: Not found
    524Response:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: A timeout occurred.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Obtained in the Crossmint developer console

````