CreateActivityDto
typestringrequired
Type of activity
Possible values: [USER_REGISTRATION, PAYMENT_PROCESSED, TERMS_UPDATED, ANNOUNCEMENT_SENT]
titlestringrequired
Title of the activity
Example:
User logindescriptionstring
Detailed description of the activity
Example:
User logged in successfullyuserIdstring
ID of the user performing the activity
Example:
123countrystring
Country where the activity occurred
Example:
USAmetadataobject
Additional metadata for the activity
Example:
{"ip":"127.0.0.1","device":"iPhone"}CreateActivityDto
{
"type": "USER_REGISTRATION",
"title": "User login",
"description": "User logged in successfully",
"userId": 123,
"country": "USA",
"metadata": {
"ip": "127.0.0.1",
"device": "iPhone"
}
}