RevorRevor

List Connect accounts

GET/api/v2/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.

Query parameters

FieldRequiredDescription
channelNoemail, linkedin, or whatsapp.
can_sendNotrue, false, 1, or 0.

Example request

cURL
curl "https://revor.ai/api/v2/connect/accounts?channel=linkedin&can_send=true" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME"

Example response

JSON
{
  "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
    }
  ]
}

status indicates whether the current connection or credentials are healthy. lifecycle_status represents the account lifecycle in Revor. Clients should not combine these internal states themselves to determine whether an account can send; always use can_send=true when selecting an account for outreach.

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

HTTPCodeDescription
400invalid_channelThe channel is not supported.
400invalid_can_sendThe can_send value is not supported.
403permission_deniedThe key does not have permission to read Connect accounts.