---
updatedAt: 2025-03-06T23:16:02.000Z
agentTools:
  projectIndex: https://reference.airbyte.com/llms.txt
---

# Get an Access Token

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Applications",
    "version": "1.0.0",
    "description": "Programatically control Airbyte Cloud, OSS & Enterprise."
  },
  "servers": [
    {
      "url": "https://api.airbyte.com/v1",
      "description": "Airbyte API v1"
    }
  ],
  "paths": {
    "/applications/token": {
      "post": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationTokenRequestWithGrant"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationTokenRequestWithGrant"
              },
              "examples": {
                "Application Token Request Example": {
                  "value": {
                    "clientId": "0da998a2-0d7b-49c7-bb6e-9f7eb9cc68a0",
                    "clientSecret": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gU2VkIGNvbmRpbWVudHVtIG5lYyBsaWJlcm8gc2VkIGxvYm9ydGlzLg=="
                  }
                }
              }
            }
          },
          "required": true
        },
        "tags": [
          "public_applications",
          "public",
          "Applications"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicAccessTokenResponse"
                },
                "examples": {
                  "Application Creation Response Example": {
                    "value": {
                      "access_token": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gU2VkIGNvbmRpbWVudHVtIG5lYyBsaWJlcm8gc2VkIGxvYm9ydGlzLg=="
                    }
                  }
                }
              }
            },
            "description": "Creates an Access Token."
          },
          "400": {
            "description": "Invalid data"
          },
          "403": {
            "description": "Not allowed"
          }
        },
        "operationId": "createAccessToken",
        "summary": "Get an Access Token",
        "x-speakeasy-alias": "createAccessToken",
        "x-speakeasy-group": "Applications",
        "security": []
      }
    }
  },
  "components": {
    "schemas": {
      "ApplicationTokenRequestWithGrant": {
        "required": [
          "client_id",
          "client_secret",
          "grant_type"
        ],
        "type": "object",
        "properties": {
          "client_id": {
            "type": "string"
          },
          "client_secret": {
            "type": "string"
          },
          "grant-type": {
            "enum": [
              "client_credentials"
            ]
          }
        },
        "x-speakeasy-component": true
      },
      "PublicAccessTokenResponse": {
        "required": [
          "access_token",
          "token_type",
          "expires_in"
        ],
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string"
          },
          "token_type": {
            "enum": [
              "Bearer"
            ]
          },
          "expires_in": {
            "type": "integer",
            "format": "int64"
          }
        },
        "x-speakeasy-component": true
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```