Count profiles in segment by consent (beta)

Beta

This is a new feature in APSIS One API since June 2021 and we are still keeping a close look on performance and potential issues. Please report any feedback to [email protected].

Profiles in Segment by Consent Count

Request a count of profiles that fall into the specified segments and have consented to the particular topics via the specific channels.

How to use

Once completed successfully, this endpoint returns a poll URL that is valid for 1 day.

Call this URL repeatedly with exponential backoff 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 results are in, HTTP 200 OK will pop up along with the results in the response body. Depending on the data volume on the account, the final call to the poll URL can also take longer.

The HTTP 410 Gone means that the file is no longer available or the ID used is invalid.

The response body of a poll URL call that returns HTTP 200 OK is as follows:

{
  "profile_count": 7
}

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.

Language
Authentication
Bearer
URL
Click Try It! to start a request and see the response here!