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-buckets.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ Used by: This endpoint is used mainly by advertisers and data providers. For det
17
17
18
18
`POST '{environment}/v2/identity/buckets'`
19
19
20
+
For authentication details, see [Authentication and Authorization](../getting-started/gs-auth.md).
21
+
20
22
:::important
21
23
You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
22
24
:::
@@ -25,7 +27,7 @@ You must encrypt all requests using your secret. For details, and code examples
25
27
26
28
| Path Parameter | Data Type | Attribute | Description |
27
29
| :--- | :--- | :--- | :--- |
28
-
|`{environment}`| string | Required |Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
30
+
|`{environment}`| string | Required |Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
29
31
30
32
:::note
31
33
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
Copy file name to clipboardExpand all lines: docs/endpoints/post-identity-map.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ Maps multiple email addresses, phone numbers, or their respective hashes to thei
13
13
14
14
Used by: This endpoint is used mainly by advertisers and data providers. For details, see [Advertiser/Data Provider Integration Guide](../guides/advertiser-dataprovider-guide.md).
15
15
16
+
For details about the UID2 opt-out workflow and how users can opt out, see [User Opt-Out](../getting-started/gs-opt-out.md).
17
+
16
18
## Batch Size and Request Parallelization Requirements
17
19
18
20
Here's what you need to know:
@@ -26,6 +28,8 @@ Here's what you need to know:
26
28
27
29
`POST '{environment}/v2/identity/map'`
28
30
31
+
For authentication details, see [Authentication and Authorization](../getting-started/gs-auth.md).
32
+
29
33
:::important
30
34
You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
31
35
:::
@@ -34,7 +38,7 @@ You must encrypt all requests using your secret. For details, and code examples
34
38
35
39
| Path Parameter | Data Type | Attribute | Description |
36
40
| :--- | :--- | :--- | :--- |
37
-
|`{environment}`| string | Required |Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
41
+
|`{environment}`| string | Required |Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
38
42
39
43
:::note
40
44
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
@@ -93,7 +97,7 @@ The following are unencrypted JSON request body examples for each parameter, one
93
97
Here's an encrypted identity mapping request example for a phone number:
For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
Copy file name to clipboardExpand all lines: docs/endpoints/post-optout-status.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ The key guidelines for managing batches of requests to this endpoint are as foll
30
30
31
31
`POST '{environment}/v2/optout/status'`
32
32
33
+
For authentication details, see [Authentication and Authorization](../getting-started/gs-auth.md).
34
+
33
35
:::important
34
36
You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
35
37
:::
@@ -38,7 +40,7 @@ You must encrypt all requests using your secret. For details, and code examples
38
40
39
41
| Path Parameter | Data Type | Attribute | Description |
40
42
| :--- | :--- | :--- | :--- |
41
-
|`{environment}`| string | Required |Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
43
+
|`{environment}`| string | Required |Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
42
44
43
45
:::note
44
46
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
Copy file name to clipboardExpand all lines: docs/endpoints/post-token-generate.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,9 @@ Rather than calling this endpoint directly, you could use one of the SDKs to man
26
26
27
27
`POST '{environment}/v2/token/generate'`
28
28
29
-
Here's what you need to know about this endpoint requests:
29
+
For authentication details, see [Authentication and Authorization](../getting-started/gs-auth.md).
30
+
31
+
Here's what you need to know about sending requests to this endpoint:
30
32
- To ensure that the <Linkhref="../ref-info/glossary-uid#gl-api-key">API key</Link> used to access the service remains secret, UID2 tokens must be generated only on the server side after authentication.
31
33
- You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
32
34
@@ -53,7 +55,7 @@ You must include only **one** of the following four conditional parameters, plus
53
55
### Request Examples
54
56
55
57
:::important
56
-
To ensure that the API key used to access the service remains secret, the `POST /token/generate` endpoint must be called from the server side, unlike the [POST /token/refresh](post-token-refresh.md), which does not require using an API key.
58
+
To ensure that the API key used to access the service remains secret, the `POST /token/generate` endpoint must be called from the server side, unlike [POST /token/refresh](post-token-refresh.md) which does not require using an API key. If you want to generate tokens on the client side, see [Client-Side Integration Options](../guides/integration-options-publisher-web.md#client-side-integration-options) (for web-based implementations) or [UID2 Client-Side Integration Guide for Mobile](../guides/integration-mobile-client-side.md).
57
59
:::
58
60
59
61
The following are unencrypted JSON request body examples for each parameter, one of which you should include in your token generation requests:
@@ -103,7 +105,7 @@ This section includes the following sample responses:
103
105
104
106
#### Successful Response
105
107
106
-
A successful decrypted response returns the user's advertising and refresh tokens for the specified email address, phone number, or the respective hash.
108
+
A successful decrypted response returns the user's advertising and refresh tokens for the specified email address, phone number, or the respective hash.
107
109
108
110
<IdentityGenerateResponse />
109
111
@@ -145,8 +147,8 @@ If the `status` value is anything other than `success`, the `message` field prov
| Email |`[email protected]`| Test that the `advertising_token` you've cached matches the `advertising_token` for the specified email address. |[POST /token/validate](post-token-validate.md)|
151
153
| Email |`[email protected]`| Using this email for the request always generates an `optout` response. |[POST /token/generate](post-token-generate.md)|
152
154
| Email |`[email protected]`| Using this email for the request always generates an identity response with a `refresh_token` that results in an `optout` response. |[POST /token/refresh](post-token-refresh.md)|
Copy file name to clipboardExpand all lines: docs/endpoints/post-token-refresh.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
@@ -37,7 +37,7 @@ Here's what you need to know about this endpoint:
37
37
38
38
| Path Parameter | Data Type | Attribute | Description |
39
39
| :--- | :--- | :--- | :--- |
40
-
|`{environment}`| string | Required |Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md).<br/>Notes:<ul><li>The `integ` environment and the `prod` environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.</li><li>Token expiration time is subject to change, but is always significantly shorter in the `integ` environment than it is in the `prod` environment.</li></ul> |
40
+
|`{environment}`| string | Required |Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md).<br/>Notes:<ul><li>The `integ` environment and the `prod` environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.</li><li>Token expiration time is subject to change, but is always significantly shorter in the `integ` environment than it is in the `prod` environment.</li></ul> |
Copy file name to clipboardExpand all lines: docs/endpoints/post-token-validate.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import Link from '@docusaurus/Link';
9
9
10
10
# POST /token/validate
11
11
12
-
Validates that an advertising token matches the specified hashed or unhashed email address or phone number.
12
+
Validates that an advertising token matches the specified hashed or unhashed email address or phone number.
13
13
14
14
Used by: This endpoint is used mainly by publishers.
15
15
@@ -21,6 +21,8 @@ This endpoint is intended primarily for testing and troubleshooting new integrat
21
21
22
22
`POST '{environment}/v2/token/validate'`
23
23
24
+
For authentication details, see [Authentication and Authorization](../getting-started/gs-auth.md).
25
+
24
26
:::important
25
27
You must encrypt all requests using your secret key. For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
26
28
:::
@@ -29,7 +31,7 @@ You must encrypt all requests using your secret key. For details, and code examp
29
31
30
32
| Path Parameter | Data Type | Attribute | Description |
31
33
| :--- | :--- | :--- | :--- |
32
-
|`{environment}`| string | Required |Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
34
+
|`{environment}`| string | Required |Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
33
35
34
36
:::note
35
37
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
|[POST /optout/status](post-optout-status.md)| Checks the opt-out status of raw UID2s. This endpoint takes a list of raw UID2s as input, and returns the raw UID2s that have opted out, as well as the time that the opt-out took place. | Required | Required |
0 commit comments