---
title: "Connection created"
method: POST
path: "connection.created"
---

# Connection created

`POST connection.created` (webhook)

When a Connection is created.

## Payload

- union
  - GeneralConnectionsCreatedFullWebhook
    - `connection_id` string, required
    - `data` ConnectionCreatedSchema, required
      - `created_date` string, date-time, required: The date the connection was created.
      - `access_token` string, required
    - `event_type` 'connection.created', required
    - `integration_name` string, required
    - `integration_type` string, required
  - GeneralConnectionsCreatedTruncatedWebhook
    - `connection_id` string, required
    - `data` GeneralConnectionsCreatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'connection.created', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `data_truncated` boolean, required: Always true on this shape. The event was too large to send in full, so `data` holds only the `id` and `previous_attributes` is empty.
    - `data_url` string, required: Called with your usual API key, it returns a download link for this event exactly as it would have been delivered.

## Acknowledgement `200`

Success

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
