# /organizations/{organizationId}/subaccounts/{subaccountId}/app-api-keys

Get app API keys for a subaccount

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Partner API",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://admin.formstack.com/api/v1",
      "description": "Partner API"
    }
  ],
  "paths": {
    "/organizations/{organizationId}/subaccounts/{subaccountId}/app-api-keys": {
      "get": {
        "tags": [
          "PartnerApi"
        ],
        "description": "Get app API keys for a subaccount",
        "operationId": "getSubaccountAppApiKeys",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "description": "ID of the organization",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "example": "b443d63c-3e37-11f1-8898-0242ac000003"
            }
          },
          {
            "name": "subaccountId",
            "in": "path",
            "description": "ID of the subaccount",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "example": "8ecb0a3c-3e38-11f1-96c0-0242ac000003"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Apps API keys",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PartnerApiOrganizationAppApiKeys"
                }
              }
            }
          },
          "404": {
            "description": "Organization could not be found"
          },
          "502": {
            "description": "Failed to retrieve app API keys, safe to retry"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PartnerApiOrganizationAppApiKeys": {
        "properties": {
          "apiKeys": {
            "properties": {
              "forms": {
                "type": [
                  "string",
                  "null"
                ],
                "example": "secret"
              },
              "docs": {
                "type": [
                  "string",
                  "null"
                ],
                "example": "secret"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Bearer authentication"
      }
    }
  },
  "tags": [
    {
      "name": "PartnerApi",
      "description": "PartnerApi"
    }
  ]
}
```