# Create an activity log Endpoint: POST /v1alpha/activityLogs Version: v1alpha Security: oauth2_client_credentials, oauth2_authorization_code ## Query parameters: - `activityLogId` (string) Optional. The ID to use for the entity, which will become the final component of the entity's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. ## Request fields (application/json): - `name` (string) (IDENTIFIER) The resource name of the activity. Format: activityLog/{activity_log} string.example = ["activityLogs/01234567-89ab-cdef-0123-456789abcdef"] - `type` (string, required) Required. The type of the activity. Enum: "ACTIVITY_TYPE_UNSPECIFIED", "PEP_AND_SANCTIONS", "DOCUMENT_VERIFICATION", "IDENTITY_CHECK", "RISK_RATING", "UNUSUAL_ACTIVITY_REPORT", "SUSPICIOUS_MATTER_REPORT" - `source` (string, required) Required. The source that performed the activity. Enum: "ACTIVITY_SOURCE_UNSPECIFIED", "BNDRY", "RAPID_ID", "TRUUTH", "CONNECT_ID", "HAWK_AI", "KYC6", "CUSTOMER" - `payload` (any, required) - `entityNames` (array, required) The entities involved in this activity. ## Response 200 fields (application/json): - `name` (string) (IDENTIFIER) The resource name of the activity. Format: activityLog/{activity_log} string.example = ["activityLogs/01234567-89ab-cdef-0123-456789abcdef"] - `type` (string, required) Required. The type of the activity. Enum: "ACTIVITY_TYPE_UNSPECIFIED", "PEP_AND_SANCTIONS", "DOCUMENT_VERIFICATION", "IDENTITY_CHECK", "RISK_RATING", "UNUSUAL_ACTIVITY_REPORT", "SUSPICIOUS_MATTER_REPORT" - `source` (string, required) Required. The source that performed the activity. Enum: "ACTIVITY_SOURCE_UNSPECIFIED", "BNDRY", "RAPID_ID", "TRUUTH", "CONNECT_ID", "HAWK_AI", "KYC6", "CUSTOMER" - `payload` (any, required) - `createTime` (string) Output only. The timestamp when the activity was created. - `updateTime` (string) Output only. The timestamp when the activity was last updated. - `entityNames` (array, required) The entities involved in this activity.