# Create event stream

Create an event stream for a specific type of events. Transmit can report events related to authentication and user management (cis), management apps and settings (admin), identity verifications (verify), and Fraud Prevention (risk).

Endpoint: PUT /activities/stream
Security: oauth2

## Security:

  - `oauth2` (unknown)
    oauth2

## Query parameters:

  - `type` (string, required)
    The event type to collect

  - `stream_id` (string, required)
    Event stream ID to collect events from

  - `enrichment` (boolean)
    Enrich the events with private data

## Response 200:

  - `200` (unknown)
    Events stream: <STREAM_ID>, with <TYPE> events, was created successfully.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Cannot handle request without performing start collect action first.

## Response 406:

  - `406` (unknown)
    stream_id parameter is required and must be a continuous non-empty string.

## Response 409:

  - `409` (unknown)
    Resource already exists in the project

## Response 429:

  - `429` (unknown)
    Tenant has reached the maximum number of event streams.

## Response 500:

  - `500` (unknown)
    Internal server error

