# Get Credential

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /browser/credentials:
    get:
      summary: Get Credential
      deprecated: false
      description: >-
        Retrieve a team credential by its origin and optional namespace. This
        allows you to fetch stored authentication data for specific applications
        or services.
      operationId: TeamCredentialController_get
      tags:
        - Scraping Browser/TeamCredentials
        - TeamCredentials
      parameters:
        - name: origin
          in: query
          description: The origin URL (domain) for which credentials are stored
          required: true
          schema:
            type: string
            examples:
              - https://example.com
        - name: namespace
          in: query
          description: >-
            Optional namespace for credential organization (e.g., 'production',
            'staging', 'development')
          required: false
          schema:
            type: string
            examples:
              - production
        - name: x-api-token
          in: header
          description: API key for authentication
          required: false
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: Credential retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  origin:
                    type: string
                    description: The origin URL (domain) for which credentials are stored
                  namespace:
                    type: string
                    description: >-
                      Optional namespace for credential organization (e.g.,
                      'production', 'staging', 'development')
                  metadata:
                    type: object
                    properties: {}
                    x-apidog-orders: []
                    description: >-
                      Credential metadata containing authentication data such as
                      username, password, API keys, etc.
                required:
                  - origin
                  - namespace
                  - metadata
                x-apidog-orders:
                  - origin
                  - namespace
                  - metadata
              example:
                origin: https://example.com
                namespace: production
                metadata: {}
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Scraping Browser/TeamCredentials
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/745098/apis/api-23850718-run
components:
  schemas: {}
  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: []

```
