Schemas: User

The User Schema defines the structure of a user object in the Export Audience API. This schema outlines required and optional fields for each user, ensuring consistency in data handling across audience exports.

Schema Structure

FieldTypeDescriptionRequired?
idIntegerUnique identifier for the user.Yes
firstNameStringUser’s first name.Yes
lastNameStringUser’s last name.Yes
emailStringThe user’s email address is in a valid email format.Yes
dateOfBirthStringUser’s date of birth in YYYY-MM-DD format.No
emailVerifiedBooleantrue if the user’s email is verified.Yes
createDateStringDate the user was created in YYYY-MM-DD format.No

Example User

{
  "id": 142,
  "firstName": "Alice",
  "lastName": "Smith",
  "email": "[email protected]",
  "dateOfBirth": "1997-10-31",
  "emailVerified": true,
  "signUpDate": "2019-08-24"
}