Skip to main content

CreateActivityDto

typestringrequired

Type of activity

Possible values: [USER_REGISTRATION, PAYMENT_PROCESSED, TERMS_UPDATED, ANNOUNCEMENT_SENT]

titlestringrequired

Title of the activity

Example: User login
descriptionstring

Detailed description of the activity

Example: User logged in successfully
userIdstring

ID of the user performing the activity

Example: 123
countrystring

Country where the activity occurred

Example: USA
metadataobject

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"
}
}