action
/api/v1/action/export
POST
/api/v1/action/export
const url = 'https://dpg.example.com/api/v1/action/export';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, body: '{"filters":{"ownership_role":"all"},"projection":{"fields":"*"},"include":[],"format":"xlsx"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dpg.example.com/api/v1/action/export \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "filters": { "ownership_role": "all" }, "projection": { "fields": "*" }, "include": [], "format": "xlsx" }'Download the counterparty profiles of the caller’s engagements as an Excel workbook (.xlsx). Human session only. One counterparty type per file; only statuses the network reveals on are exportable, and private fields are revealed per row under the same gate as contact-details. Row and skip counts are in the X-Export-* response headers.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”x-acting-org-id
string
Organization this request acts on behalf of. Optional: a non-admin actor can perform an action without acting for an org.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
filters
object
action_type
Array<string>
action_status
Array<string>
ownership_role
string
item_id
string format: uuid
item_ids
Array<string>
q
string
counterparty_network
string
counterparty_domain
string
counterparty_item_type
string
action_ids
Array<string>
facets
Array<object>
object
domain
string
field
required
string
values
required
Array<string>
updated_from
updated_to
projection
object
fields
required
Any of:
string
Array<string>
include
Array<string>
format
string
Responses
Section titled “Responses”Default Response

