Methods

  • get - Get export list

Resource

{
    "links": {
        "next": "uri",
        "prev": "uri"
    },
    "results": [
        {
            "createdAt": "date-time",
            "dateFormat": "string",
            "delimiter": "string",
            "exportType": "string",
            "fileExtension": "string",
            "fileName": "string",
            "fileUrl": "uri",
            "filters": {
                "fromDate": "date-time",
                "segmentId": "string",
                "toDate": "date-time"
            },
            "finishedAt": "date-time",
            "id": "string",
            "origin": "string",
            "progress": "integer",
            "status": "string",
            "total": "integer"
        }
    ]
}

Properties

Name Type Description Additional
links object

The pagination links

Optional
links.next uri

The next list page url if there are more elements

Optional
links.prev uri

The previous list page url if there is a previous page

results[] array

The exports list

results[].createdAt date-time

The date of export creation in ISO8601 format

results[].dateFormat string

The file dates format

Possible values are:

  • ISO
  • L
  • LL
  • LLL
results[].delimiter string

The file delimiter

Possible values are:

  • ,
  • ;
results[].exportType string

The export type

Possible values are:

  • contacts
  • activities
  • banner-stats
  • form-stats
  • modal-stats
  • push-stats
  • webhooks-execution-logs
  • data-explorer
results[].fileExtension string

The export file format

Optional
results[].fileName string

The export file name

Optional
results[].fileUrl uri

The export file url. This url will be defined only when the export status is finished. Any time the resource is requested a new url will be generated and it will be valid for 100 minutes.

Optional
results[].filters object

The export filters

Optional
results[].filters.fromDate date-time

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

Optional
results[].filters.segmentId string

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

Optional
results[].filters.toDate date-time

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

Optional
results[].finishedAt date-time

The date of export finish in ISO8601 format

Optional
results[].id string

The identifier of the Export

results[].origin string

The export origin. The export was created from the api or from the Connectif app.

Possible values are:

  • api
  • app
results[].progress integer

The number of exported items

Optional
results[].status string

The export status

Possible values are:

  • queued
  • inProgress
  • finished
  • error
results[].total integer

The total number of items to export

Optional