# Event Table \[CREATE INLINE]

```
POST 
/datasources/event_tables/:kind/create
```

Creates one of the canonical event tables (unit\_exposures/unit\_goals/unit\_attributes) on an external warehouse before the datasource row is persisted, using the type/properties supplied directly in the request body. Used by the create-datasource flow. **Required Permissions**: `EventDatasourceConfig Create`

## Request

## Responses

* 200
* 400
* 401
* 403
* 503

OK

Bad Request - kind/datasource type not supported, or properties invalid

Unauthorized

Forbidden

Service Unavailable - engine could not execute the DDL on the warehouse
