Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Export a contact's profile as XLSX by contact key

GET
/api/v3/contacts/keyed/{contactKey}/export
curl --request GET \
--url 'https://api.tryletterhead.com/api/v3/contacts/keyed/example/export?api=true' \
--header 'Authorization: Bearer <token>'

Same as Export a contact’s profile as XLSX (GET /api/v3/contacts/{email}/export), with the contact addressed by its contactKey instead of its email address.

This is a company-level (v3) read. Authenticate with a company API key as a Bearer token.

contactKey
required
string

The contact’s opaque 64-character hex key.

api
required
boolean

Required. Set to true.

The XLSX file, returned as the response body with a Content-Disposition: attachment header.

Media type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
string format: binary

Still can’t find what you need? Contact support.