Skip to main content
GET
/
workspaces
/
{workspace}
/
contacts
/
export
Download contacts for a workspace
curl --request GET \
  --url https://lancepilot.com/api/v3/workspaces/{workspace}/contacts/export \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

Query Parameters

type
enum<string>
default:xlsx

Export file format. Defaults to XLSX (matches backend).

Available options:
xlsx,
csv
contact_group
integer

Filter by contact group ID. If omitted, all contacts are exported.

Required range: x >= 1

Response

The response is of type file.