You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/endpoints/post-identity-map-v2.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import Link from '@docusaurus/Link';
10
10
# POST /identity/map (v2)
11
11
12
12
:::important
13
-
This documentation is for earlier versions of the `POST /identity/map` endpoint. If you're using an earlier version, we recommend upgrading. No specific migration steps are needed. For the latest version, v3, see [POST /identity/map](post-identity-map.md).
13
+
This documentation is for earlier versions of the `POST /identity/map` endpoint. For the latest version, v3, see [POST /identity/map](post-identity-map.md). For migration steps, see [TODO].
14
14
:::
15
15
16
16
Maps multiple email addresses, phone numbers, or their respective hashes to their raw UID2s and <Linkhref="../ref-info/glossary-uid#gl-salt-bucket-id">salt bucket IDs</Link>. You can also use this endpoint to check for updates to opt-out information.
Copy file name to clipboardExpand all lines: docs/endpoints/post-identity-map.md
+21-27Lines changed: 21 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ For details about the UID2 opt-out workflow and how users can opt out, see [User
17
17
18
18
## Version
19
19
20
-
This documentation is for the latest version of this endpoint. If you're using an earlier version, we recommend that you upgrade your integration. No specific migration steps are needed.
20
+
This documentation is for the latest version of this endpoint. If you're using an earlier version, we recommend that you upgrade your integration. For migration steps, see [TODO].
21
21
22
22
If needed, documentation is also available for the previous version, v2: see [POST /identity/map (v2)](post-identity-map-v2.md).
23
23
@@ -53,22 +53,16 @@ The integration environment and the production environment require different <Li
53
53
### Unencrypted JSON Body Parameters
54
54
55
55
:::important
56
-
You can include one or more of the following four parameters as key-value pairs in the JSON body of the request when encrypting it.
56
+
You must include one or more of the following four parameters as key-value pairs in the JSON body of the request when encrypting it.
57
57
:::
58
58
59
-
| Body Parameter | Data Type | Attribute | Description |
|`email`| array of DII objects | Conditionally Required | The list of email addresses to be mapped. |
62
-
|`email_hash`| array of DII objects | Conditionally Required | The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#email-address-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#email-address-normalization) email addresses to be mapped. |
63
-
|`phone`| array of DII objects | Conditionally Required | The list of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
64
-
|`phone_hash`| array of DII objects | Conditionally Required | The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#phone-number-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
65
-
66
-
67
-
Each email address, email hash, phone, or phone hash is input as a DII object.
68
-
69
-
| Parameter | Data Type | Attribute | Description |
|`email`| string array | Optional*| The list of email addresses to be mapped. |
62
+
|`email_hash`| string array | Optional*| The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#email-address-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#email-address-normalization) email addresses to be mapped. |
63
+
|`phone`| string array | Optional*| The list of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
64
+
|`phone_hash`| string array | Optional*| The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#phone-number-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
65
+
<b>* At least one of these fields must be provided</b>
72
66
73
67
### Request Examples
74
68
@@ -77,33 +71,33 @@ The following are unencrypted JSON request body examples to the `POST /identity/
For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
@@ -165,9 +159,9 @@ For successfully mapped DII, the mapped object includes the properties shown in
165
159
166
160
For unsuccessfully mapped DII, the mapped object includes the properties shown in the following table.
0 commit comments