Skip to main content
GET
/
contacts
/
list
List Contacts
curl --request GET \
  --url https://api.getoutbox.ai/contacts/list \
  --header 'Authorization: <api-key>'
{
  "results": [
    {
      "id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "tags": [
        "<string>"
      ],
      "last_activity": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Company API Key

Headers

X-User-Timezone
string

User's timezone for timestamp formatting (defaults to UTC)

Query Parameters

page
integer
default:1

Page number for pagination. Page size is 20 items.

Search term to filter contacts by name, email, or phone (case-insensitive)

tags
string[]

Filter contacts by tags

sort_by
enum<string>
default:last_activity

Field to sort by

Available options:
last_activity,
created_at
sort_direction
enum<string>
default:desc

Sort direction

Available options:
asc,
desc

Response

List of contacts retrieved successfully

results
object[]
total
integer

Total count of contacts