# Get recipient providers

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /email-placement/get/recipient-providers:
    get:
      summary: Get recipient providers
      deprecated: false
      description: Retrieve list of available recipient email providers for testing.
      operationId: getRecipientProviders
      tags:
        - Email Placement Test
        - Configuration
      parameters:
        - name: workspace_id
          in: query
          description: Workspace ID
          required: true
          schema:
            type: string
            pattern: ^[a-f0-9]{24}$
      responses:
        '200':
          description: Providers retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        _id:
                          type: string
                        items:
                          type: array
                          items:
                            type: object
                            properties:
                              recipient_type:
                                type: string
                              name:
                                type: string
                              account_class:
                                type: string
                            required:
                              - recipient_type
                              - name
                              - account_class
                            x-apidog-orders:
                              - recipient_type
                              - name
                              - account_class
                            x-apidog-ignore-properties: []
                        count:
                          type: integer
                      required:
                        - _id
                        - items
                        - count
                      x-apidog-orders:
                        - _id
                        - items
                        - count
                      x-apidog-ignore-properties: []
                required:
                  - code
                  - message
                  - data
                x-apidog-orders:
                  - code
                  - message
                  - data
                x-apidog-ignore-properties: []
              example:
                code: 1
                message: success
                data:
                  - _id: PERSONAL
                    items:
                      - recipient_type: PERSONAL_GMAIL
                        name: Personal Gmail
                        account_class: PERSONAL
                    count: 1
                  - _id: PROFESSIONAL
                    items:
                      - recipient_type: GOOGLE
                        name: Google
                        account_class: PROFESSIONAL
                      - recipient_type: MICROSOFT
                        name: Microsoft
                        account_class: PROFESSIONAL
                    count: 2
          headers: {}
          x-apidog-name: ''
        '400':
          description: Bad request - validation error or missing required fields
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/ErrorResponse'
              example:
                status: 0
                message: Validation error
                error: Validation error
                errors:
                  - workspace_id is required
                  - api_key must be a valid string
          headers: {}
          x-apidog-name: BadRequest
        '401':
          description: Unauthorized - invalid or missing API key
          content:
            application/json:
              schema: *ref_0
              example:
                status: 0
                message: Unauthorized
                error: Invalid API key
          headers: {}
          x-apidog-name: Unauthorized
      security:
        - ApiKeyAuth: []
          x-apidog:
            schemeGroups:
              - id: uS5KiuC4wfZHK42AzOfA_
                schemeIds:
                  - ApiKeyAuth
            required: true
            use:
              id: uS5KiuC4wfZHK42AzOfA_
            scopes:
              uS5KiuC4wfZHK42AzOfA_:
                ApiKeyAuth: []
      x-apidog-folder: Email Placement Test
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/929054/apis/api-28696790-run
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - code
        - message
        - data
      properties:
        code:
          type: integer
          enum:
            - 0
        message:
          type: string
        data:
          type: object
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
      x-apidog-orders:
        - code
        - message
        - data
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    ApiKeyAuth:
      type: apikey
      in: header
      name: x-api-key
      description: |
        API key issued in the PlusVibe dashboard. The server reads it
        from the `x-api-key` header and injects it into the request as
        the `api_key` query parameter, which is why you will see
        `api_key` referenced in validation errors.
    apiKey:
      type: apikey
      in: body
      name: api_key
      description: API key passed in request body
servers:
  - url: https://api.plusvibe.ai/api/v1
    description: Prod Env
security:
  - ApiKeyAuth: []
    x-apidog:
      schemeGroups:
        - id: uS5KiuC4wfZHK42AzOfA_
          schemeIds:
            - ApiKeyAuth
      required: true
      use:
        id: uS5KiuC4wfZHK42AzOfA_
      scopes:
        uS5KiuC4wfZHK42AzOfA_:
          ApiKeyAuth: []

```
