Beta
This is a new feature in APSIS One API since August 2021 and we are still keeping a close look on performance and potential issues. Please report any feedback to [email protected].
Duplicate Profile Report
Request a report with profiles that share a specific attribute value.
How to use
Once completed successfully, this endpoint returns a poll URL that is valid for 1 day.
Call this URL repeatedly with exponential back-off using the same authentication token as for the other APSIS One API calls. Until the result is ready, you will keep getting HTTP 404 Not Found
response status code.
As soon as the report file is ready, the poll URL returns HTTP 200 OK
and starts streaming a report file as a response.
The HTTP 410 Gone
means that the file is no longer available or the ID used is invalid.
Compression
By default the report file is an uncompressed CSV so your code should treat it as .csv
. If you prefer a compressed report, provide Accept-Encoding: gzip
request header when calling the poll URL. The response will then contain Content-Encoding: gzip
header and you will be able to handle the file as .csv.gz
.
You can download the same report multiple times using the same poll URL with or without compression.
Report file
The report file always contains the export key as well as the attribute corresponding to the channel specified in the request: Email
attribute for email channel and Mobile
attribute for SMS channel. You can select other attributes and tags to include their value as columns in the report file.
Limits
Receiving HTTP 413 Payload Too Large
from this POST
request usually means that the request body contains a number of topics, attributes and/or tags that is currently not supported.
More information