> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Connect accounts

> Returns the current user's connected Email, LinkedIn, and WhatsApp accounts. Call this endpoint before creating an outreach job to obtain an available account_id.

Returns the current user's connected Email, LinkedIn, and WhatsApp accounts. Call this endpoint before creating an outreach job to obtain an available `account_id`.

| | |
| - | - |
| Method | `GET` |
| Permission | Connect accounts read |
| Rate limit | Standard |

## Query parameters

**channel** `string`

`email`, `linkedin`, or `whatsapp`.

**can\_send** `string`

`true`, `false`, `1`, or `0`.

## Example request

```bash cURL theme={null}
curl --get \
  --url "https://revor.ai/api/v2/connect/accounts" \
  --header "Authorization: Bearer sk-revor-REPLACE_ME" \
  --data-urlencode "channel=linkedin" \
  --data-urlencode "can_send=true"
```

## Example response

```json 200 theme={null}
{
  "ok": true,
  "request_id": "req_xxx",
  "items": [
    {
      "account_id": "connect_account_xxx",
      "channel": "linkedin",
      "name": "LinkedIn Account",
      "account_identifier": "https://www.linkedin.com/in/example/",
      "status": "ok",
      "lifecycle_status": "active",
      "can_send": true,
      "can_receive": true
    }
  ]
}
```

## Response fields

* `status`: indicates whether the current connection or credentials are healthy.
* `lifecycle_status`: represents the account lifecycle in Revor.

> [!WARNING]
>
> Do not combine these internal states yourself to determine whether an account can send. Always use `can_send=true` when selecting an account for outreach.

> [!NOTE]
>
> Typically, `status=credentials` means that the credentials must be updated or the account reconnected, while `status=error` means that the account is temporarily unavailable. Even if `lifecycle_status=active`, do not submit a send job when `can_send=false`.

## Common errors

| HTTP | Code | Description |
| - | - | - |
| `400` | `invalid_channel` | The channel is not supported. |
| `400` | `invalid_can_send` | The `can_send` value is not supported. |
| `403` | `permission_denied` | The key does not have permission to read Connect accounts. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.