Segment integration (Data, Marketing). Imported from open-connector.
https://api.segment.io/v1/identify
| Param | Type | Required | Description |
|---|---|---|---|
| userId | string | optional | Unique identifier for the user in your database. |
| anonymousId | string | optional | Pseudo-unique anonymous identifier for the user. |
| context | object | optional | Segment context object with extra information about the event. |
| integrations | object | optional | Segment destination flags keyed by destination name. |
| timestamp | string | optional | Timestamp when the message took place, in ISO 8601 format. |
| sentAt | string | optional | Timestamp when the message was sent to Segment, in ISO 8601 format. |
| messageId | string | optional | Unique message identifier used by Segment for deduplication. |
| traits | object | optional | Free-form traits associated with the user. |
/track
| Param | Type | Required | Description |
|---|---|---|---|
| userId | string | optional | Unique identifier for the user in your database. |
| anonymousId | string | optional | Pseudo-unique anonymous identifier for the user. |
| context | object | optional | Segment context object with extra information about the event. |
| integrations | object | optional | Segment destination flags keyed by destination name. |
| timestamp | string | optional | Timestamp when the message took place, in ISO 8601 format. |
| sentAt | string | optional | Timestamp when the message was sent to Segment, in ISO 8601 format. |
| messageId | string | optional | Unique message identifier used by Segment for deduplication. |
| event | string | required | Name of the action the user performed. |
| properties | object | optional | Free-form properties associated with the event. |
/page
| Param | Type | Required | Description |
|---|---|---|---|
| userId | string | optional | Unique identifier for the user in your database. |
| anonymousId | string | optional | Pseudo-unique anonymous identifier for the user. |
| context | object | optional | Segment context object with extra information about the event. |
| integrations | object | optional | Segment destination flags keyed by destination name. |
| timestamp | string | optional | Timestamp when the message took place, in ISO 8601 format. |
| sentAt | string | optional | Timestamp when the message was sent to Segment, in ISO 8601 format. |
| messageId | string | optional | Unique message identifier used by Segment for deduplication. |
| name | string | optional | Optional page name. |
| properties | object | optional | Free-form properties associated with the page. |
/screen
| Param | Type | Required | Description |
|---|---|---|---|
| userId | string | optional | Unique identifier for the user in your database. |
| anonymousId | string | optional | Pseudo-unique anonymous identifier for the user. |
| context | object | optional | Segment context object with extra information about the event. |
| integrations | object | optional | Segment destination flags keyed by destination name. |
| timestamp | string | optional | Timestamp when the message took place, in ISO 8601 format. |
| sentAt | string | optional | Timestamp when the message was sent to Segment, in ISO 8601 format. |
| messageId | string | optional | Unique message identifier used by Segment for deduplication. |
| name | string | optional | Optional screen name. |
| properties | object | optional | Free-form properties associated with the screen. |
/group
| Param | Type | Required | Description |
|---|---|---|---|
| userId | string | optional | Unique identifier for the user in your database. |
| anonymousId | string | optional | Pseudo-unique anonymous identifier for the user. |
| context | object | optional | Segment context object with extra information about the event. |
| integrations | object | optional | Segment destination flags keyed by destination name. |
| timestamp | string | optional | Timestamp when the message took place, in ISO 8601 format. |
| sentAt | string | optional | Timestamp when the message was sent to Segment, in ISO 8601 format. |
| messageId | string | optional | Unique message identifier used by Segment for deduplication. |
| groupId | string | required | Unique identifier for the group in your database. |
| traits | object | optional | Free-form traits associated with the group. |
/alias
| Param | Type | Required | Description |
|---|---|---|---|
| userId | string | required | Unique identifier for the user in your database. |
| previousId | string | required | Previous unique identifier for the user. |
| context | object | optional | Segment context object with extra information about the event. |
| integrations | object | optional | Segment destination flags keyed by destination name. |
| timestamp | string | optional | Timestamp when the message took place, in ISO 8601 format. |
| sentAt | string | optional | Timestamp when the message was sent to Segment, in ISO 8601 format. |
| messageId | string | optional | Unique message identifier used by Segment for deduplication. |
/batch
| Param | Type | Required | Description |
|---|---|---|---|
| batch | array | required | Segment event items to send in this batch. |
| context | object | optional | Segment context object with extra information about the event. |
| integrations | object | optional | Segment destination flags keyed by destination name. |