---
descriptions:
  create_connect_application:
    name: Name of the application.
    application_type: Type of application - either "oauth" or "m2m".
    description: Description of the application.
    scopes: Permission slugs to assign to the application.
    redirect_uris: Redirect URIs for the application. OAuth applications only.
    uses_pkce: >-
      Whether the application uses PKCE (Proof Key for Code Exchange). OAuth
      applications only.
    is_first_party: >-
      Whether this is a first-party application. Required for OAuth
      applications.
    organization_id: >-
      The organization ID this application belongs to. Required for M2M
      applications. For OAuth applications, required if is_first_party is false.
reference:
  curl:
    - key: create_connect_application
      type: POST
      id: create_connect_application
      url: /reference/workos-connect/applications/create
      title: /connect/applications
      parameters:
        - key: name
          type: string
          description: (create_connect_application.name)
        - key: application_type
          type: string
          description: (create_connect_application.application_type)
        - key: description
          optional: true
          type: string
          description: (create_connect_application.description)
        - key: scopes
          optional: true
          type: 'string[]'
          description: (create_connect_application.scopes)
        - key: redirect_uris
          optional: true
          type: array
          description: (create_connect_application.redirect_uris)
          properties:
            - key: uri
              type: string
              description: The redirect URI
            - key: default
              optional: true
              type: boolean
              description: Whether this is the default redirect URI
        - key: uses_pkce
          optional: true
          type: boolean
          description: (create_connect_application.uses_pkce)
        - key: is_first_party
          type: boolean
          description: (create_connect_application.is_first_party)
        - key: organization_id
          optional: true
          type: string
          description: (create_connect_application.organization_id)
      returns:
        - key: connect_application
          type: object
          description: The created connect_application object
originalPath: >-
  .tmp-workos-clone/packages/docs/content/reference/workos-connect/applications/create.mdx
---

## Create a Connect Application

Create a new Connect Application. Supports both OAuth and Machine-to-Machine (M2M) application types.

<CodeBlock referenceId="create_connect_application">
  <CodeBlockTab title="OAuth Request" file="create-oauth-application-request" />
  <CodeBlockTab title="M2M Request" file="create-m2m-application-request" />
  <CodeBlockTab title="Response" file="create-connect-application-response" />
</CodeBlock>
