Loading
Feature degradation | Gmail Email delivery failureRead More
Marketing Cloud Personalization
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          About Identity Setup for the Event API

          About Identity Setup for the Event API

          Learn about setting up the identity system for the Event API.

          Before You Configure

          Before configuring Personalization’s identity system for the Event API, make sure to review this information:

          API Request Format

          For information about formatting API requests, see the developer documentation for Event API Requests.

          Example
          Example

          Option A

          In the following example, the API request sends the email address and customer ID identity types as user attributes. The request doesn’t include the user ID parameter.

          {
              "action": "sample",
              "user": {
                  "attributes": {
                      "emailAddress": "test@test.com",
                      "CustomerId": "123"}
                  },
              "source": {
                      "channel": "Server",
              }
          }
          

          Option B

          In the following code example, customer ID is the identity type for the event API, and the API request is sending it as the user ID parameter. The API request also includes the email address identity type as a user attribute.

          {
              "action": "sample",
              "user": {
                  "id": "456",
                  "attributes": {
                      "emailAddress": "test@test.com"}
                  },
              "source": {
                      "channel": "Server",
             }
          }
          
           
          Loading
          Salesforce Help | Article