# Add third party account details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/exports/accounts/third-party:
    post:
      summary: Add third party account details
      deprecated: false
      description: >
        This endpoint allows you to add a third-party account where you want to
        export your mailboxes. Supported apps:  

        - `REACHINBOX`

        - `INSTANTLY`

        - `SMARTLEAD`

        - `REPLY_IO`

        - `QUICKMAIL`

        - `EMELIA`

        - `EMAILBISON`

        - `FIRSTQUADRANT`

        - `WARMY`

        - `SUPERAGI`

        - `LEMLIST`

        - `PIPL`

        - `LUELLA`

        - `MASTER_INBOX`

        - `SAILE`

        - `SNOV`


        | Name     | Type   | Description |

        |----------|--------|-------------|

        | `email`  | `string` | Email of the third-party account. |

        | `password` | `string` | Password of the third-party account. |

        | `app` | `string` | The third-party app where the account should be
        added. |


        ## Example Request


        ```json

        {
            "email": "user@example.com",
            "password": "securepassword",
            "app": "INSTANTLY"
        }
      tags:
        - export
      parameters:
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: x-workspace-key
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: ' x-service-provider'
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                password:
                  type: string
                app:
                  type: string
              required:
                - email
                - password
                - app
              x-apidog-orders:
                - email
                - password
                - app
            examples:
              '1':
                value:
                  email: john.doe@example.com
                  password: securePassword123
                  app: MAILAPP
              '2':
                value:
                  app: EMAILBISON
                  url: https://app.emailbison.com
                  email: user@example.com
                  password: your-password
                  clientId: your-client-id
                  clientIdAppName: your-client-app-name
                summary: Email Bison
                description: >-
                  Example payload for EmailBison.

                  Note: clientId and clientIdAppName are not required for
                  EmailBison. These fields are only required when adding Google
                  mailboxes.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Success
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  message:
                    type: string
                  data:
                    type: 'null'
                required:
                  - status
                  - message
                  - data
                x-apidog-orders:
                  - status
                  - message
                  - data
          headers: {}
          x-apidog-name: Invalid credentials
      security: []
      x-apidog-folder: export
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-13490752-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
