Back to Functions
XO.CONTACTS
Get the contacts list for an organization. By default returns only Active contacts. Returns a table with 7 columns that spills into Excel.
Syntax
=XO.CONTACTS(org_id, [include_archived])
Parameters
| Parameter | Required | Description |
|---|---|---|
| org_id | Yes | Organization ID from XO.ORG() |
| include_archived | No | 0 = Active contacts only (default), 1 = All including archived |
Returns
A table with 7 columns:
Org ID
Org Name
Name
Email
Phone
Account Number
Status
Examples
Active contacts only:
=XO.CONTACTS(A2)Include archived contacts:
=XO.CONTACTS(A2, 1)