postInternalAccountsByPhoneHashes
postInternalAccountsByPhoneHashes<
ThrowOnError>(options:Options<PostInternalAccountsByPhoneHashesData,ThrowOnError>):RequestResult<PostInternalAccountsByPhoneHashesResponses,PostInternalAccountsByPhoneHashesErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1764
Resolve phone hashes to account IDs (batch)
Internal server-to-service endpoint used by the nearby service for contact matching. Takes a batch of peppered phone hashes (HMAC-SHA256, base64) and returns the account IDs of accounts holding them, for verified accounts only. Non-matching hashes are absent from the response. Submitted hashes are never logged or persisted. Applies no discoverability filter — the caller owns that consent flag. Rate-limited on top of the shared X-Service-Key.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostInternalAccountsByPhoneHashesResponses, PostInternalAccountsByPhoneHashesErrors, ThrowOnError>