# Source: https://infisical.com/docs/api-reference/endpoints/secrets/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-tags/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/zabbix/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/windmill/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/vercel/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/terraform-cloud/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/teamcity/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/supabase/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/render/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/railway/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/octopus-deploy/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/oci-vault/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/northflank/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/netlify/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/laravel-forge/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/humanitec/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/heroku/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/hashicorp-vault/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/gitlab/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/github/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/gcp-secret-manager/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/flyio/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/digital-ocean-app-platform/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/databricks/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/cloudflare-workers/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/cloudflare-pages/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/circleci/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/chef/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/checkly/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/camunda/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/bitbucket/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/azure-key-vault/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/azure-devops/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/azure-app-configuration/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/aws-secrets-manager/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/aws-parameter-store/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-syncs/1password/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/data-sources/gitlab/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/data-sources/github/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-scanning/data-sources/bitbucket/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/windows-local-account/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/unix-linux-local-account/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/redis-credentials/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/postgres-credentials/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/oracledb-credentials/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/okta-client-secret/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/mysql-credentials/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/mssql-credentials/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/mongodb-credentials/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/ldap-password/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/databricks-service-principal-secret/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/azure-client-secret/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/aws-iam-user-secret/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-rotations/auth0-client-secret/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/secret-imports/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/project-templates/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/project-roles/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/project-groups/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/chef/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/azure-key-vault/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/aws-secrets-manager/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki/syncs/aws-certificate-manager/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/pki-alerts/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/organization-roles/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/kms/keys/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/identity-specific-privilege/v2/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/identities/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/groups/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/folders/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/environments/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/dynamic-secrets/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/secrets/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/secret-tags/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/secret-imports/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/project-roles/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/project-groups/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/folders/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/deprecated/environments/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-profiles/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-policies/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-authorities/internal/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/certificate-authorities/acme/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/zabbix/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/windmill/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/vercel/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/terraform-cloud/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/teamcity/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/supabase/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/ssh/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/smb/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/render/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/redis/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/railway/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/postgres/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/oracledb/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/openrouter/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/okta/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/octopus-deploy/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/oci/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/northflank/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/netlify/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/mysql/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/mssql/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/mongodb/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/ldap/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/laravel-forge/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/humanitec/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/heroku/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/hashicorp-vault/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/gitlab/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/github/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/github-radar/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/gcp/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/flyio/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/digital-ocean/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/databricks/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/cloudflare/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/circleci/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/chef/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/checkly/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/camunda/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/bitbucket/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-key-vault/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-devops/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-client-secret/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-app-configuration/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/azure-adcs/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/aws/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/auth0/create.md

# Source: https://infisical.com/docs/api-reference/endpoints/app-connections/1password/create.md

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

# Create

> Create a 1Password Connection.

<Note>
  Check out the configuration docs for [1Password Connections](/integrations/app-connections/1password) to learn how to obtain the required credentials.
</Note>


## OpenAPI

````yaml POST /api/v1/app-connections/1password
openapi: 3.0.3
info:
  title: Infisical API
  description: List of all available APIs that can be consumed
  version: 0.0.1
servers:
  - url: https://us.infisical.com
    description: Production server (US)
  - url: https://eu.infisical.com
    description: Production server (EU)
  - url: http://localhost:8080
    description: Local server
security: []
paths:
  /api/v1/app-connections/1password:
    post:
      tags:
        - App Connections
      description: Create a 1Password Connection.
      operationId: createOnePasswordAppConnection
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - anyOf:
                    - type: object
                      properties:
                        method:
                          type: string
                          enum:
                            - api-token
                          description: The method used to authenticate with 1Password.
                        credentials:
                          type: object
                          properties:
                            apiToken:
                              type: string
                              minLength: 1
                              description: >-
                                The API token used to access the 1Password
                                Connect Server.
                            instanceUrl:
                              type: string
                              format: uri
                              minLength: 1
                              description: >-
                                The URL of the 1Password Connect Server instance
                                to authenticate with.
                          required:
                            - apiToken
                            - instanceUrl
                          additionalProperties: false
                          description: The credentials used to connect with 1Password.
                      required:
                        - method
                        - credentials
                      additionalProperties: false
                - type: object
                  properties:
                    name:
                      type: string
                      minLength: 1
                      maxLength: 64
                      description: >-
                        The name of the 1Password Connection to create. Must be
                        slug-friendly.
                    description:
                      type: string
                      maxLength: 256
                      nullable: true
                      description: An optional description for the 1Password Connection.
                    projectId:
                      type: string
                      description: >-
                        The ID of the project to create the 1Password Connection
                        in.
                    isPlatformManagedCredentials:
                      type: boolean
                      enum:
                        - false
                      description: Not supported for 1Password Connections.
                    gatewayId:
                      anyOf:
                        - not: {}
                        - enum:
                            - 'null'
                          nullable: true
                      description: Not supported for 1Password Connections.
                  required:
                    - name
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  appConnection:
                    anyOf:
                      - type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                          name:
                            type: string
                          description:
                            type: string
                            nullable: true
                          version:
                            type: number
                            default: 1
                          orgId:
                            type: string
                            format: uuid
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                          isPlatformManagedCredentials:
                            type: boolean
                            default: false
                            nullable: true
                          gatewayId:
                            type: string
                            format: uuid
                            nullable: true
                          projectId:
                            type: string
                            nullable: true
                          credentialsHash:
                            type: string
                          project:
                            type: object
                            properties:
                              name:
                                type: string
                              id:
                                type: string
                              type:
                                type: string
                              slug:
                                type: string
                            required:
                              - name
                              - id
                              - type
                              - slug
                            additionalProperties: false
                            nullable: true
                          app:
                            type: string
                            enum:
                              - 1password
                          method:
                            type: string
                            enum:
                              - api-token
                          credentials:
                            type: object
                            properties:
                              instanceUrl:
                                type: string
                                format: uri
                                minLength: 1
                                description: >-
                                  The URL of the 1Password Connect Server
                                  instance to authenticate with.
                            required:
                              - instanceUrl
                            additionalProperties: false
                        required:
                          - id
                          - name
                          - orgId
                          - createdAt
                          - updatedAt
                          - app
                          - method
                          - credentials
                        additionalProperties: false
                        title: 1Password (API Token)
                required:
                  - appConnection
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                  error:
                    type: string
                  details: {}
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                  details: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 422
                  message: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 500
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false

````