---
title: "List of sending email account of sequence"
method: GET
path: "/v1/sequences/{sequenceId}/email-accounts"
tags: ["sequences"]
---

# List of sending email account of sequence

`GET /v1/sequences/{sequenceId}/email-accounts`

## Request

- Base URL: `https://developer.saleshandy.com` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.saleshandy.com/v1/sequences/{sequenceId}/email-accounts`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/saleshandy/apis/develop-with-saleshandy/docs/v1/sequences/:sequenceId/email-accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `sequenceId` string, required

## Response `200`

Email account(s) listed successfully

- SequenceAllEmailResponseDto
  - `id` string: Unique identifier for the sequence
  - `sequenceId` string: Identifier for the sequence associated with the email account
  - `createdAt` string: Timestamp for when the sequence was created
  - `deletedAt` string: Timestamp for when the sequence was deleted, if applicable
  - `emailAccount` EmailAccount[]: Details of the email account associated with the sequence
    - `id` string: Unique identifier for the email account
    - `userId` string: User ID associated with the email account
    - `shAccountId` string: SalesHandy account ID associated with the email account
    - `fromName` string: Name shown in the "from" field of outgoing emails
    - `fromEmail` string: Email address used for sending emails
    - `fromFirstName` string: First name of the user associated with the email account
    - `fromLastName` string: Last name of the user associated with the email account
    - `type` number: Type of email account (1: Gmail, 2: Microsoft, 3: SmtpImap)
    - `status` number: Status of the email account (0: Inactive, 1: Active, 2: InProgress)
    - `isDefault` boolean: Indicates true if this email account is the default account for the user
    - `lastConnectedAt` string: Timestamp for the last time the account was connected
    - `createdAt` string: Timestamp for when the email account was created
    - `modifiedAt` string: Timestamp for the last modification of the email account
    - `deletedAt` string: Timestamp for when the email account was deleted, if applicable
    - `emailServiceProvider` string: Email service provider used by the account
    - `healthScore` number: Health score of the email account
    - `settings` EmailAccountSetting[]: Settings associated with the email account
      - `id` string: Unique identifier for the email account setting
      - `emailAccountId` string: Identifier for the email account associated with this setting
      - `code` string: Setting code indicating the type of setting
      - `value` string: Value of the setting
      - `modifiedAt` string: Timestamp for the last modification of the setting

## Other responses

- `400`: 1001: Invalid token<br><br>
- `500`: 5001: Internal server error, please try again later<br><br>

---

[API](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy.md) - [All operations](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy/llms.txt) - [OpenAPI document](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy/revisions/e7a29c931aa7?raw)
