Right of access / portability: one JSON bundle with everything stored for a visitor (or every visitor id behind an externalUserId).
GET
/v1/admin/visitors/{visitorId}/export
const url = 'https://example.com/v1/admin/visitors/example/export';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/admin/visitors/example/export \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”visitorId
required
string
Query Parameters
Section titled “Query Parameters”externalUserId
string
Resolve the visitor ids a signed-in user chatted under (from host-minted visitor tokens) instead of using the path visitor id.