| |
https://[OCT8NE-SERVER-HERE]/apidata/export/v2/sessions/[FORMAT]?apiToken=[YOUR- APIKEY-HERE]&domainId=[YOUR-DOMAIN- ID]&startTime=[DATE]&endTime=[DATE]&utcOffset=[UTC_OFFSET]
| |
| |
| Format in which the data will be obtained - csv
- json
|
| Domain security code, provided by the technical team. |
| Domain ID, provided by the technical team. |
| Required. Start date of the sessions to be exported. The format should be: mm/dd/yyyy. |
| Required. End date of the sessions to be exported. The format should be: mm/dd/yyyy and cannot exceed 31 days from the start date. |
| ID of the agent you want to filter the data through. Optional field; all agents are shown by default. |
| Department ID. Optional field; all departments are displayed by default. |
| Numeric value indicating the filter to apply, in terms of the level of the customer service in the session. - Sessions attended by an agent.
- Sessions where the visitor has asked for assistance.
- Sessions where the visitor has asked for assistance but was not attended.
|
| Local time difference in terms of UTC+0, in hours (for example, if we’re in UTC+1, the value would be 1) |
| Optional field: Numerical value that indicates the filter to be applied depending on whether a sale has been registered in the session: - 0: All sessions, regardless of whether or not a sale has been registered.
- 1: Sessions in which sales have been registered.
- 2: Sessions in which no sales have been registered.
If this field is not sent, all sessions will be downloaded, regardless of whether or not a sale has been registered. |
| Optional field: Numeric value indicating the format of the duration fields. Default value 0. - 0: time format (hh:mm:ss)
- 1: total seconds
|
| Optional field: Numerical value that indicates the filter to apply depending on whether the last person who attended is Human or is the Bot: - 0: All sessions, regardless of whether the agent is a Bot or a Human.
- 1: Sessions in which the agent is Human
- 2: Sessions in which the agent is a Bot.
If this field is not sent, all sessions will be downloaded, regardless of agent type. |
| |
GET https://backoffice-eu.oct8ne.com/apidata/export/v2/sessions/csv ?apiToken=AAAF80D2A39A53A2899175156FE5E67 &domainId=123 &startTime=01/01/2020 &endTime=01/15/2020 &utcOffset=1 &attentionFilter=2
GET https://backoffice-eu.oct8ne.com/apidata/export/v2/sessions/json ?apiToken=AAAF80D2A39A53A2899175156FE5E67 &domainId=123 &startTime=01/01/2020 &endTime=01/15/2020 &utcOffset=1 &attentionFilter=2 | |