Skip to main content

Get Activity Types

GET 

/api/inbox/activity-types

Get distinct activity types that exist in the database for the current tenant.

This endpoint is used to populate activity type filters in the UI, showing only activity types that actually exist rather than all theoretical types.

Args: scope: Optional filter by activity_scope ('lead' or 'tenant') web_context: Authenticated user context

Returns: { "success": true, "data": ["message_sent", "workflow_enrolled", "task_created", ...] }

Request

Responses

Successful Response