LianaAutomation REST API documentation

export/request

POST
https://rest.automation.lianacloud.com/api/v1
/export/request

Make a request to export the contents of a given segment.

export/request › Request Body

components-schemas-RequestIn

Segment ID

Example: 1

export/request › Responses

OK

handle
​string

The handle returned as response from the initial request

Example: 1234

export/ready

POST
https://rest.automation.lianacloud.com/api/v1
/export/ready

Check if an export request is ready. If the job failed, the response also has error: stop polling and make a new request. Results and errors are kept for about an hour. After that, and for an unknown handle, ready is false without error, so set an overall deadline for polling.

export/ready › Request Body

handle
​string

The handle returned as response from the initial request

Example: 1234

export/ready › Responses

OK

ready
​boolean
error
​string

Why the job failed. Only database searches, deletes and exports return it. A failed automation report is ready, and its result has the error.


export/result

POST
https://rest.automation.lianacloud.com/api/v1
/export/result

Export results of a finished export request.

export/result › Request Body

handle
​string

The handle returned as response from the initial request

Example: 1234

export/result › Responses

OK

​object[]
email
​string
sms
​string
system-event-date
​string · date-time
formsend-sentfrom
​string
id
​integer