Overview
The Mobile Opt-in and Opt-out API allows users to opt in and out of ID5 tracking via MAIDs.
Opt Out Request
Example URL
https://api.id5-sync.com/privacy/mobile-optout?ifa={maid}&ifa_type={ifa_type}
Request Type
HTTP POST
Request Headers
Content-Type: application/json; charset=UTF-8
Available Parameters
Querystring
Name | Required | Description |
---|---|---|
ifa | x | The Identifier for Advertising (IFA) ID in a UUID format (8-4-4-4-12) i.e. EA7583CD-A667-48BC-B806-42ECB2B48607 |
ifa_type | x | The type of IFA i.e. GAID, AAID |
Example Mobile Opt Out Request
Mobile Opt Out Response
Successful Response
HTTP Status Code
200 OK
Response Body
Name | Description |
---|---|
optout | true if opting out, false if opting in |
success | true if operation was successful, false otherwise |
Example Successful Response
Unsuccessful Response
Example Unsuccessful Response
Opt In Request
Example URL
https://api.id5-sync.com/privacy/mobile-optin?ifa={maid}&ifa_type={ifa_type}
Request Type
HTTP POST
Request Headers
Content-Type: application/json; charset=UTF-8
Available Parameters
Querystring
Name | Required | Description |
---|---|---|
ifa | x | The Identifier for Advertising (IFA) ID in a UUID format (8-4-4-4-12) i.e. EA7583CD-A667-48BC-B806-42ECB2B48607 |
ifa_type | x | The type of IFA i.e. GAID, AAID |
Example Mobile Opt Out Request
https://api.id5-sync.com/privacy/mobile-optin?ifa=EA7583CD-A667-48BC-B806-42ECB2B48607&ifa_type=GAID
Mobile Opt Out Response
Successful Response
HTTP Status Code
200 OK
Response Body
Name | Description |
---|---|
optout | true if opting out, false if opting in |
success | true if operation was successful, false otherwise |