Methods

  • post - Create export

Resource

{
    "dateFormat": "string",
    "delimiter": "string",
    "exportType": "string",
    "filters": {
        "activityTypes": [
            "string"
        ],
        "fromDate": "date-time",
        "segmentId": "string",
        "toDate": "date-time"
    },
    "version": "string"
}

Properties

Name Type Description Additional
dateFormat string

The file dates format

Possible values are:

  • ISO
  • L
  • LL
  • LLL
delimiter string

The file delimiter

Possible values are:

  • ,
  • ;
exportType string

The export type

Possible values are:

  • contacts
  • activities
filters object

The export filters

Optional
filters.activityTypes[] array of string

Filter by activity types. This field can be set only for "activities" export type but is optional. If it is not provided, no filter will be applied

Optional
filters.fromDate date-time

Filter from a given date in ISO8601 format. This field can be set only for "activities" export type and it is required. The range between fromDate and toDate cannot be greater than 31 days.

Optional
filters.segmentId string

Filter by contacts that are in a given segment. It applies for both "contacts" and "activities" export types

Optional
filters.toDate date-time

Filter to a given date in ISO8601 format. This field can be set only for "activities" export type and it is required. The range between fromDate and toDate cannot be greater than 31 days.

Optional
version string

The export version to use. If not specified v1 will be used

Possible values are:

  • v1
  • v2
Optional