Event
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
PATCH | |
DELETE | |
POST | |
POST | |
POST |
List all event streams
The caller's event stream: a live feed of selected accounts' events posted to a Slack channel of their choice. Per-user — each team member owns at most one stream, and every endpoint is scoped to the caller's own. Delivery runs through a managed CDP destination that is re-provisioned inside the same transaction as every write, so config and delivery can't drift apart.
Required API key scopes
account:readExample request
GET /api /projects /:project_id /event_streamsExample response
Status 200
Create event streams
The caller's event stream: a live feed of selected accounts' events posted to a Slack channel of their choice. Per-user — each team member owns at most one stream, and every endpoint is scoped to the caller's own. Delivery runs through a managed CDP destination that is re-provisioned inside the same transaction as every write, so config and delivery can't drift apart.
Required API key scopes
account:writeRequest parameters
- enabledbooleanDefault:
false - event_namesarray
- slack_integrationinteger | null
- slack_channel_idstringDefault:
- slack_channel_namestringDefault:
Response
Example request
POST /api /projects /:project_id /event_streamsExample response
Status 201
Update event streams
The caller's event stream: a live feed of selected accounts' events posted to a Slack channel of their choice. Per-user — each team member owns at most one stream, and every endpoint is scoped to the caller's own. Delivery runs through a managed CDP destination that is re-provisioned inside the same transaction as every write, so config and delivery can't drift apart.
Required API key scopes
account:writePath parameters
- idstring
Request parameters
- enabledbooleanDefault:
false - event_namesarray
- slack_integrationinteger | null
- slack_channel_idstringDefault:
- slack_channel_namestringDefault:
Response
Example request
PATCH /api /projects /:project_id /event_streams /:idExample response
Status 200
Delete event streams
The caller's event stream: a live feed of selected accounts' events posted to a Slack channel of their choice. Per-user — each team member owns at most one stream, and every endpoint is scoped to the caller's own. Delivery runs through a managed CDP destination that is re-provisioned inside the same transaction as every write, so config and delivery can't drift apart.
Required API key scopes
account:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /event_streams /:idExample response
Status 204 No response body
Create event streams add account
The caller's event stream: a live feed of selected accounts' events posted to a Slack channel of their choice. Per-user — each team member owns at most one stream, and every endpoint is scoped to the caller's own. Delivery runs through a managed CDP destination that is re-provisioned inside the same transaction as every write, so config and delivery can't drift apart.
Path parameters
- idstring
Request parameters
- account_idstring
Response
Example request
POST /api /projects /:project_id /event_streams /:id /add_accountExample response
Status 200
Create event streams remove account
The caller's event stream: a live feed of selected accounts' events posted to a Slack channel of their choice. Per-user — each team member owns at most one stream, and every endpoint is scoped to the caller's own. Delivery runs through a managed CDP destination that is re-provisioned inside the same transaction as every write, so config and delivery can't drift apart.
Path parameters
- idstring
Request parameters
- account_idstring
Response
Example request
POST /api /projects /:project_id /event_streams /:id /remove_accountExample response
Status 200
Create event streams send test message
The caller's event stream: a live feed of selected accounts' events posted to a Slack channel of their choice. Per-user — each team member owns at most one stream, and every endpoint is scoped to the caller's own. Delivery runs through a managed CDP destination that is re-provisioned inside the same transaction as every write, so config and delivery can't drift apart.
Path parameters
- idstring
Response
Example request
POST /api /projects /:project_id /event_streams /:id /send_test_message