Retrieves consent management information from contact records by contact ID for data protection and privacy concerns. GET requests might display values that are reserved for future use and don't perform any actions at this time. Use only the parameters documented here.
URL Parameters
Name | Type | | Description |
---|
contactId | string | Required | Unique ID for the contact. |
Responses
Status | Name | Type | Description |
---|
200 | | | Retrieved contact preferences by contact ID. |
| value | object | Contains the contact ID and other properties to add. |
| value.contactID | long | Unique ID for the contact. |
| value.hasOptedOutTracking | boolean | Indicates whether a contact opted out of tracking information. |
| rowsAffected | integer | Number of rows returned. |
| requestServiceMessageID | guid | Service message ID for the request. |
| responseDateTime | integer | Date and time of the retry response in UTC. |
| resultMessages | array | Array of messages about the request. Includes details, such as resulttype and resultcode, about a bad request. |
| serviceMessageID | guid | Service message ID for the response. |
Required Marketing Cloud Permissions
- Assets, Upload
- Assets, Publish
Required Scope
- Documents and Images, Read and Write
- Saved Content, Read and Write
Example Request
Example Response