POST
/
reporting-export-data
Export Data
curl --request POST \
  --url https://api.agentic.scope3.com/rest/v1/reporting-export-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {},
  "message": "Operation completed successfully",
  "success": true
}

Authorizations

Authorization
string
header
required

Use your Scope3 API key as the bearer token

Body

application/json
datasets
string[]
required

Which datasets to include in export (outcomes replaces events)

dateRange
object
required

Date range for export

groupBy
string[]
required

How to group/aggregate the data

brandAgentId
string

Export all campaigns for this brand agent (optional if campaignIds provided)

campaignIds
string[]

Specific campaign IDs to export (optional if brandAgentId provided)

compression
string

Compression method (defaults to none)

format
string

Export format (defaults to json)

Response

Successful response

data
object
message
string
success
boolean