Skip to main content
GET
/
api
/
contacts
/
export
Export contacts as CSV
curl --request GET \
  --url https://api.agentixx.io/api/contacts/export \
  --header 'x-tenant-id: <api-key>' \
  --cookie better-auth.session_token=
"<string>"

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-tenant-id
string
header
required

Tenant/workspace UUID. Required on all /api/* endpoints.

Query Parameters

groupId
string<uuid>
tags
string
optedOut
enum<string>
Available options:
true,
false
ids
string

Comma-separated contact IDs for selection export

Response

CSV file download

The response is of type string.