The user is looked up in PowerDialer’s identity provider on each request and cached for five minutes. All reads and writes are then limited to lists that user owns. If both user headers are sent,
x-user-id wins.
Authentication errors
A
502 is transient — retry later. A 404 User not found means the email or id does not match a PowerDialer account; check the spelling or use the other header.