List Distribution History API call missing contacts? | XM Community
Skip to main content
Solved

List Distribution History API call missing contacts?

  • March 15, 2024
  • 4 replies
  • 169 views

Forum|alt.badge.img+1

We’re trying to generate a report that lists the statuses of contacts. We’re using two API calls to accomplish this.

  1. List Distribution Links to get a list of everyone that received an email.
  2. List Distribution History to get their statuses.

The problem is that for some distributions (not all) the 2nd call will return less contacts than the 1st call. Some of the contacts are missing. Shouldn’t the same number of contacts be returned by both if we’re using the same distribution ID?

Best answer by James M

Ah, Qualtrics support figured it out. The results from the second API call were being paginated. In other words, the results were being split up into multiple groups and I had to make an additional API call to get the rest. Not sure why the second one paginated when the first one didn’t but oh well.

Further reading in the docs: Token Based Pagination

4 replies

Umang Upadhyay
QPN Level 4 ●●●●
Forum|alt.badge.img+25
  • QPN Level 4 ●●●●
  • March 18, 2024

Hi @James M,

There might be a delay in data synchronization between Qualtrics and your system if not also, double-check the settings of the distribution in Qualtrics to ensure that all contacts were successfully sent the email invitation. If there are any issues with the distribution settings, it could result in some contacts being excluded from the distribution history.

To troubleshoot this issue further, I recommend verifying the configuration of both API calls and contacting Qualtrics support they can provide more insights into any potential issues with the API calls or data synchronization processes.

 

 

 


Forum|alt.badge.img+1
  • Author
  • March 18, 2024

Thank you for the reply.

We know the contacts are successfully receiving the email invitations because some of the missing contacts are completing the survey. That isn’t reflected in the API results, but we are seeing the completion status when we manually download the distribution history from the website.

We have contacted Qualtrics support and they are investigating the issue. But in the meantime, if anyone else has encountered this problem before I would like to hear from you.


Forum|alt.badge.img+1
  • Author
  • Answer
  • March 20, 2024

Ah, Qualtrics support figured it out. The results from the second API call were being paginated. In other words, the results were being split up into multiple groups and I had to make an additional API call to get the rest. Not sure why the second one paginated when the first one didn’t but oh well.

Further reading in the docs: Token Based Pagination


AlonsoC
Administrator
Forum|alt.badge.img+23
  • Administrator
  • August 7, 2024

Ah, Qualtrics support figured it out. The results from the second API call were being paginated. In other words, the results were being split up into multiple groups and I had to make an additional API call to get the rest. Not sure why the second one paginated when the first one didn’t but oh well.

Further reading in the docs: Token Based Pagination

@James M, We appreciate you taking the time to confirm the solution and including additional resources. The XM Community will benefit a lot from this!