# Create 1Password Integration

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /browser/one-password/token:
    put:
      summary: Create 1Password Integration
      deprecated: false
      description: >-
        Configure 1Password API token for secure access to secrets stored in
        your 1Password vault. The token will be validated and securely stored
        for subsequent operations.
      operationId: OnePasswordController_upsertToken
      tags:
        - Scraping Browser/1Password
        - 1Password
      parameters:
        - name: x-api-token
          in: header
          description: API key for authentication
          required: false
          example: ''
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertOnePasswordDto'
            examples:
              basic:
                value:
                  name: Production Vault Integration
                  token: >-
                    ops_eyJhbGciOiJFUzI1NiIsImtpZCI6InNpZ25pbl8xIiwidHlwIjoiSldUIn0...
                summary: Basic 1Password integration setup
      responses:
        '200':
          description: 1Password integration configured successfully
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Scraping Browser/1Password
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/745098/apis/api-23850711-run
components:
  schemas:
    UpsertOnePasswordDto:
      type: object
      properties:
        name:
          type: string
          description: >-
            Integration name used to identify this 1Password integration
            configuration
          examples:
            - Production Vault Integration
        token:
          type: string
          description: >-
            1Password API access token for securely accessing your 1Password
            vault. This should be a service account token starting with 'ops_'
          examples:
            - ops_eyJhbGciOiJFUzI1NiIsImtpZCI6InNpZ25pbl8xIiwidHlwIjoiSldUIn0...
      required:
        - name
        - token
      x-apidog-orders:
        - name
        - token
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearer:
      type: bearer
      scheme: bearer
      description: Bearer token authentication using your Scrapeless API key
    apikey-header-x-api-token:
      type: apiKey
      in: header
      name: x-api-token
servers:
  - url: https://api.scrapeless.com
    description: Prod Env
security:
  - apikey-header-x-api-token: []

```
