Activations
batchQuery
activations.batchQuery
Batch Query Activations for Space. Lists Activations in bulk across many Audiences in one call. Intended for bulk reads, for example pulling activation metadata for hundreds of audiences on a schedule, so callers don’t need one listActivationsFromAudience call per audience. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
create
activations.create
Add Activation to Audience. Defines how audience data is sent to a Destination. This step enables the data sync. You must establish a connection (Add Destination to Audience) for this audience before an Activation can be created. Alpha in Segment’s API: it may change. Starts sending the audience to the destination once the activation is enabled.
Risk: destructive
personalization full type
personalization full type
destinationMapping full type
destinationMapping full type
data full type
data full type
delete
activations.delete
Remove Activation from Audience. Deletes an Activation. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
activations.get
Get Activation from Audience. Gets a single Activation by id. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
list
activations.list
List Activations from Audience. Lists all Activations. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
update
activations.update
Update Activation for Audience. Updates an Activation. Alpha in Segment’s API: it may change. With performResync true, Segment sends the whole audience to the destination again.
Risk: destructive
personalization full type
personalization full type
destinationMapping full type
destinationMapping full type
data full type
data full type
Audiences
create
audiences.create
Create Audience. Creates Audience. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: write
definition full type
definition full type
options full type
options full type
data full type
data full type
createPreview
audiences.createPreview
Create Audience Preview. Previews Audience. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. This endpoint also has a rate limit of 700 requests per month per spaceId, which is lower than the default due to access pattern restrictions. Segment limits previews per minute and per month, and each attempt counts: the plugin sends it once and does not retry a 429 or a 5xx.
Risk: read
definition full type
definition full type
options full type
options full type
data full type
data full type
delete
audiences.delete
Remove Audience from Space. Deletes an Audience by id and spaceId. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
destinations.add
audiences.destinations.add
Add Destination to Audience. Establishes a connection between an audience and a Destination. To start syncing data, you must create an Activation for the connection created here. Note that the Destination must be added to Engage through the Engage Settings page within the App before creating the connection through the API. Alpha in Segment’s API: it may change.
Risk: write
destination full type
destination full type
idSyncConfiguration full type
idSyncConfiguration full type
data full type
data full type
destinations.list
audiences.destinations.list
List Destinations from Audience. Lists all Destinations from an Audience. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
destinations.listSupported
audiences.destinations.listSupported
List Supported Destinations from Audience. Lists the Destinations that have been reviewed and validated for activation with this audience type. Use this endpoint to discover the available action ids and the Destination fields that can be mapped before creating an Activation. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
destinations.remove
audiences.destinations.remove
Remove Destination from Audience. Removes a Destination from an Audience. If there are activations associated with the Destination, the request will return a 409 Conflict error. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
destinations.update
audiences.destinations.update
Update Destination for Audience. Updates a Destination for an Audience. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Alpha in Segment’s API: it may change.
Risk: write
idSyncConfiguration full type
idSyncConfiguration full type
data full type
data full type
get
audiences.get
Get Audience. Returns the Audience by id and spaceId. Supports including audience schedules using ?include=schedules. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: read
data full type
data full type
getPreview
audiences.getPreview
Get Audience Preview. Reads the results of an audience preview. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: read
data full type
data full type
list
audiences.list
List Audiences. Returns Audiences by spaceId. Supports including audience schedules using ?include=schedules. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: read
search full type
search full type
pagination full type
pagination full type
data full type
data full type
listConsumers
audiences.listConsumers
List Audience Consumers from Space And Audience. Returns the list of consumers for the given audience. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: read
pagination full type
pagination full type
search full type
search full type
sort full type
sort full type
data full type
data full type
run
audiences.run
Force Execute Audience Run. The ability to force execute a run for an Audience is limited to Linked Audiences (audienceType = LINKED). In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Recomputes the audience now and sends changes to its connected destinations.
Risk: destructive
data full type
data full type
schedules.create
audiences.schedules.create
Add Audience Schedule to Audience. The ability to configure the run schedule for an Audience is limited to Linked Audiences (audienceType = LINKED). Note that if a Linked Audience remains disabled for 90 days Segment will delete the associated schedule and a new schedule will need to be created.
Risk: write
config full type
config full type
data full type
data full type
schedules.delete
audiences.schedules.delete
Remove Audience Schedule from Audience. Deletes an audience schedule for a Linked Audience (audienceType = LINKED). In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
schedules.get
audiences.schedules.get
Get Audience Schedule from Space And Audience. Returns the schedule for the given audience and scheduleId. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: read
data full type
data full type
schedules.list
audiences.schedules.list
List Audience Schedules from Space And Audience. Returns the list of schedules for the given audience. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: read
data full type
data full type
schedules.update
audiences.schedules.update
Update Audience Schedule for Audience. Updates an audience schedule for a Linked Audience (audienceType = LINKED). In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled.
Risk: write
config full type
config full type
data full type
data full type
update
audiences.update
Update Audience for Space. Updates the Audience. In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Note that when an Audience is updated, the Audience will be locked from future edits until the changes have been incorporated.
Risk: write
definition full type
definition full type
options full type
options full type
data full type
data full type
Audit Trail
list
auditTrail.list
List Audit Events. Returns a list of Audit Trail events.
Risk: read
pagination full type
pagination full type
data full type
data full type
Catalog
getDestination
catalog.getDestination
Get Destination Metadata. Returns a Destination catalog item by its id.
Risk: read
data full type
data full type
getSource
catalog.getSource
Get Source Metadata. Returns a Source catalog item by its id.
Risk: read
data full type
data full type
getWarehouse
catalog.getWarehouse
Get Warehouse Metadata. Returns a Warehouse catalog item by its id.
Risk: read
data full type
data full type
listDestinations
catalog.listDestinations
Get Destinations Catalog. Returns a list of all available Destinations in the Segment catalog.
Risk: read
pagination full type
pagination full type
data full type
data full type
listSources
catalog.listSources
Get Sources Catalog. Returns a list of all available Sources in the Segment catalog.
Risk: read
pagination full type
pagination full type
data full type
data full type
listWarehouses
catalog.listWarehouses
Get Warehouses Catalog. Returns a list of all available Warehouses in the Segment catalog.
Risk: read
pagination full type
pagination full type
data full type
data full type
Computed Traits
create
computedTraits.create
Create Computed Trait. Creates a Computed Trait. In order to successfully call this endpoint, the specified Workspace needs to have the Computed Trait feature enabled. Note: The definition for a Computed Trait created using the API is not editable through the Segment App. Alpha in Segment’s API: it may change.
Risk: write
definition full type
definition full type
options full type
options full type
data full type
data full type
delete
computedTraits.delete
Remove Computed Trait from Space. Deletes a Computed Trait by id and spaceId. In order to successfully call this endpoint, the specified Workspace needs to have the Computed Trait feature enabled. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
computedTraits.get
Get Computed Trait. Returns the Computed Trait by id and spaceId. In order to successfully call this endpoint, the specified Workspace needs to have the Computed Trait feature enabled. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
list
computedTraits.list
List Computed Traits. Returns Computed Traits by spaceId. In order to successfully call this endpoint, the specified Workspace needs to have the Computed Trait feature enabled. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
update
computedTraits.update
Update Computed Trait for Space. Updates the Computed Trait. In order to successfully call this endpoint, the specified Workspace needs to have the Computed Trait feature enabled. Note that when a Computed Trait is updated, the Computed Trait will be locked from future edits until the changes have been incorporated. Alpha in Segment’s API: it may change.
Risk: write
definition full type
definition full type
data full type
data full type
Credentials
create
credentials.create
Create Credential. Creates a new Credential. This endpoint requires the user to have at least the following permission(s):. * Workspace Owner. * Warehouse Admin. * Source Admin. * Entities Admin. * Unify and Engage Admin.
Risk: write
settings full type
settings full type
data full type
data full type
delete
credentials.delete
Delete Credential. Deletes an existing Credential. Fails with a 409 Conflict if the Credential is still in use by a Warehouse or Source (including a disabled one). Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
credentials.get
Get Credential. Returns a Credential by its id. This endpoint requires the user to have at least the following permission(s):. * Workspace Owner. * Warehouse Admin. * Source Admin. * Entities Admin. * Unify and Engage Admin.
Risk: read
data full type
data full type
list
credentials.list
List Credentials. Returns a list of Credentials. This endpoint requires the user to have at least the following permission(s):. * Workspace Owner. * Warehouse Admin. * Source Admin. * Entities Admin. * Unify and Engage Admin.
Risk: read
pagination full type
pagination full type
data full type
data full type
listConsumers
credentials.listConsumers
List Credential Consumers. Returns the Warehouses and Sources that use a Credential. This endpoint requires the user to have at least the following permission(s):. * Workspace Owner. * Warehouse Admin. * Source Admin. * Entities Admin. * Unify and Engage Admin.
Risk: read
warehousesPagination full type
warehousesPagination full type
sourcesPagination full type
sourcesPagination full type
data full type
data full type
update
credentials.update
Update Credential. Updates an existing Credential. All Warehouses using this Credential are affected immediately. This endpoint requires the user to have at least the following permission(s):. * Workspace Owner.
Risk: write
settings full type
settings full type
data full type
data full type
Customer Insights
createDownload
customerInsights.createDownload
Create Download. Create Customer Insights Presigned URLs. Alpha in Segment’s API: it may change.
Risk: write
data full type
data full type
Dbt
triggerModelSync
dbt.triggerModelSync
Create Dbt Model Sync Trigger. Creates a trigger for a new dbt model sync for a Source. Beta in Segment’s API. Starts the dbt model sync now.
Risk: destructive
data full type
data full type
Delivery Overview
getFailedDelivery
deliveryOverview.getFailedDelivery
Get Egress Failed Metrics from Delivery Overview. Get events that failed to be delivered to Destination. Beta in Segment’s API.
Risk: read
filter full type
filter full type
pagination full type
pagination full type
data full type
data full type
getFailedOnIngest
deliveryOverview.getFailedOnIngest
Get Ingress Failed Metrics from Delivery Overview. Get events that failed on ingest. Beta in Segment’s API.
Risk: read
filter full type
filter full type
pagination full type
pagination full type
data full type
data full type
getFilteredAtDestination
deliveryOverview.getFilteredAtDestination
Get Filtered At Destination Metrics from Delivery Overview. Get events that were filtered at Destination. Beta in Segment’s API.
Risk: read
filter full type
filter full type
pagination full type
pagination full type
data full type
data full type
getFilteredAtSource
deliveryOverview.getFilteredAtSource
Get Filtered At Source Metrics from Delivery Overview. Get events that were filtered at Source. Beta in Segment’s API.
Risk: read
filter full type
filter full type
pagination full type
pagination full type
data full type
data full type
getSuccessfulDelivery
deliveryOverview.getSuccessfulDelivery
Get Egress Success Metrics from Delivery Overview. Get events successfully delivered to Destination. Beta in Segment’s API.
Risk: read
filter full type
filter full type
pagination full type
pagination full type
data full type
data full type
getSuccessfullyReceived
deliveryOverview.getSuccessfullyReceived
Get Ingress Success Metrics from Delivery Overview. Get events that were successfully received by Segment. Beta in Segment’s API.
Risk: read
filter full type
filter full type
pagination full type
pagination full type
data full type
data full type
Destinations
create
destinations.create
Create Destination. Creates a new Destination.
Risk: write
settings full type
settings full type
data full type
data full type
delete
destinations.delete
Delete Destination. Deletes an existing Destination. Config API omitted fields:. - catalogId. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
filters.create
destinations.filters.create
Create Filter for Destination. Creates a filter in a Destination.
Risk: write
actions full type
actions full type
data full type
data full type
filters.delete
destinations.filters.delete
Remove Filter from Destination. Deletes a Destination filter. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
filters.get
destinations.filters.get
Get Filter in Destination. Gets a Destination filter by id.
Risk: read
data full type
data full type
filters.list
destinations.filters.list
List Filters from Destination. Lists filters for a Destination.
Risk: read
pagination full type
pagination full type
data full type
data full type
filters.preview
destinations.filters.preview
Preview Destination Filter. Simulates the application of a Destination filter to a provided JSON payload.
Risk: read
filter full type
filter full type
payload full type
payload full type
data full type
data full type
filters.update
destinations.filters.update
Update Filter for Destination. Updates a filter in a Destination. When called, this endpoint may generate one or more of the following audit trail events:* Destination Filter Enabled. * Destination Filter Disabled.
Risk: write
actions full type
actions full type
data full type
data full type
get
destinations.get
Get Destination. Returns a Destination by its id. Config API omitted fields:. - catalogId.
Risk: read
data full type
data full type
getDeliveryMetrics
destinations.getDeliveryMetrics
List Delivery Metrics Summary from Destination. Get an event delivery metrics summary from a Destination. Based on the granularity chosen, there are restrictions on the time range you can query:. Minute:. - Max time range: 4 hours. - Oldest possible start time: 48 hours in the past. Hour:. - Max Time range: 7 days. Beta in Segment’s API.
Risk: read
data full type
data full type
list
destinations.list
List Destinations. Returns a list of Destinations.
Risk: read
pagination full type
pagination full type
data full type
data full type
subscriptions.create
destinations.subscriptions.create
Create Destination Subscription. Creates a new Destination subscription. In order to successfully call this endpoint, the specified Workspace needs to have the Destination Subscriptions feature enabled. Alpha in Segment’s API: it may change.
Risk: write
settings full type
settings full type
data full type
data full type
subscriptions.delete
destinations.subscriptions.delete
Remove Subscription from Destination. Deletes an existing Destination subscription. In order to successfully call this endpoint, the specified Workspace needs to have the Destination Subscriptions feature enabled. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
subscriptions.get
destinations.subscriptions.get
Get Subscription from Destination. Gets a Destination subscription by id. In order to successfully call this endpoint, the specified Workspace needs to have the Destination Subscriptions feature enabled. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
subscriptions.list
destinations.subscriptions.list
List Subscriptions from Destination. Lists subscriptions for a Destination. In order to successfully call this endpoint, the specified Workspace needs to have the Destination Subscriptions feature enabled. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
subscriptions.update
destinations.subscriptions.update
Update Subscription for Destination. Updates an existing Destination subscription. In order to successfully call this endpoint, the specified Workspace needs to have the Destination Subscriptions feature enabled. Alpha in Segment’s API: it may change.
Risk: write
input full type
input full type
data full type
data full type
update
destinations.update
Update Destination. Updates an existing Destination. Note: if you attempt to update read-only settings for your destination you’ll encounter the following behavior:. * If only read-only properties are being updated, the endpoint will return an HTTP 400 error.
Risk: write
settings full type
settings full type
data full type
data full type
Events
getVolume
events.getVolume
Get Events Volume from Workspace. Enumerates the Workspace event volumes over time in minute increments.
Risk: read
pagination full type
pagination full type
data full type
data full type
Filters
create
filters.create
Create Filter for Space. Creates a filter for a space. A space filter applies to events coming from all Sources connected to a space. In order to successfully call this endpoint, the specified Workspace needs to have the Space Filters feature enabled. Beta in Segment’s API.
Risk: write
data full type
data full type
delete
filters.delete
Delete Filter By Id. Deletes a filter by id. In order to successfully call this endpoint, the specified Workspace needs to have the Space Filters feature enabled. Beta in Segment’s API. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
filters.get
Get Filter By Id. Gets a filter by id. In order to successfully call this endpoint, the specified Workspace needs to have the Space Filters feature enabled. Beta in Segment’s API.
Risk: read
data full type
data full type
list
filters.list
List Filters for Space. Lists filters for a space. In order to successfully call this endpoint, the specified Workspace needs to have the Space Filters feature enabled. Beta in Segment’s API.
Risk: read
pagination full type
pagination full type
data full type
data full type
update
filters.update
Update Filter By Id. Updates a filter by id and replaces the existing filter. In order to successfully call this endpoint, the specified Workspace needs to have the Space Filters feature enabled. Beta in Segment’s API.
Risk: write
data full type
data full type
Functions
create
functions.create
Create Function. Creates a Function. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled.
Risk: write
settings full type
settings full type
data full type
data full type
delete
functions.delete
Delete Function. Deletes a Function. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
deploy
functions.deploy
Create Function Deployment. Deploys a Function. Only applicable to Source Function instances. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Deploys the function code: it starts running on live events.
Risk: destructive
data full type
data full type
get
functions.get
Get Function. Gets a Function. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled.
Risk: read
data full type
data full type
getVersion
functions.getVersion
Get Function Version. Gets a Function version. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
insertInstances.create
functions.insertInstances.create
Create Insert Function Instance. Creates an insert Function instance connected to the given Destination. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change.
Risk: write
settings full type
settings full type
data full type
data full type
insertInstances.delete
functions.insertInstances.delete
Delete Insert Function Instance. Deletes an insert Function instance. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
insertInstances.get
functions.insertInstances.get
Get Insert Function Instance. Gets an insert Function instance. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
insertInstances.list
functions.insertInstances.list
List Insert Function Instances. Lists all insert Function instances connected to the given insert Function. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
insertInstances.update
functions.insertInstances.update
Update Insert Function Instance. Updates an insert Function instance connected to the given Destination. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change.
Risk: write
settings full type
settings full type
data full type
data full type
list
functions.list
List Functions. Lists all Functions in a Workspace. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled.
Risk: read
pagination full type
pagination full type
data full type
data full type
listVersions
functions.listVersions
List Function Versions. Lists versions for a Function in a Workspace. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
restoreVersion
functions.restoreVersion
Restore Function Version. Restore an old Function version as the latest version. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Alpha in Segment’s API: it may change.
Risk: destructive
data full type
data full type
update
functions.update
Update Function. Updates a Function. In order to successfully call this endpoint, the specified Workspace needs to have the Functions feature enabled. Config API omitted fields:. - updateMask.
Risk: write
settings full type
settings full type
data full type
data full type
Invites
create
invites.create
Create Invites. Invites a list of users to join a Workspace. When called, this endpoint may generate one or more of the following audit trail events:* Non-Segment User Invited to Workspace. * Policy Created. * New Segment User Invited to Workspace. Config API omitted fields:. - parent. Sends an invitation email to each address.
Risk: destructive
invites full type
invites full type
data full type
data full type
delete
invites.delete
Delete Invites. Removes a list of invitations to join a Workspace. When called, this endpoint may generate one or more of the following audit trail events:* Invite Deleted. * Group Memberships Deleted. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
list
invites.list
List Invites. Returns a list of invitations to join a Workspace. Config API omitted fields:. - parent.
Risk: read
pagination full type
pagination full type
data full type
data full type
Labels
create
labels.create
Create Label. Creates a new label. (POST /labels)
Risk: write
label full type
label full type
data full type
data full type
delete
labels.delete
Delete Label. Deletes a label. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
list
labels.list
List Labels. Returns a list of all available labels.
Risk: read
data full type
data full type
Live Plugins
create
livePlugins.create
Create Live Plugin. Creates or updates a Live Plugin for your Source with given code. In order to successfully call this endpoint, the specified Workspace needs to have the Live Plugins feature enabled. Alpha in Segment’s API: it may change.
Risk: destructive
data full type
data full type
deleteCode
livePlugins.deleteCode
Delete Live Plugin Code. Delete the Live Plugin code for a Source. This will not disable Live Plugins for the Source, but will remove any existing code. In order to successfully call this endpoint, the specified Workspace needs to have the Live Plugins feature enabled. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
getLatest
livePlugins.getLatest
Get Latest from Live Plugins. Get the latest Live Plugins for your Source. In order to successfully call this endpoint, the specified Workspace needs to have the Live Plugins feature enabled. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
Profiles Sync
create
profilesSync.create
Create Profiles Warehouse. Creates a new Profiles Warehouse. WARN : Please be careful to not use this API to link multiple Warehouses to a single Space. This is not officially supported. Although the Warehouse will be linked, it won’t show up on the UI and can lead to various other unforeseen issues. Alpha in Segment’s API: it may change.
Risk: write
settings full type
settings full type
data full type
data full type
delete
profilesSync.delete
Remove Profiles Warehouse from Space. Deletes an existing Profiles Warehouse. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
list
profilesSync.list
List Profiles Warehouse in Space. Lists all Profile Warehouses for a given space id. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
listSelectiveSyncs
profilesSync.listSelectiveSyncs
List Selective Syncs from Warehouse And Space. Returns the schema for a Space Warehouse connection, including Collections and Properties. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
update
profilesSync.update
Update Profiles Warehouse for Space Warehouse. Updates an existing Profiles Warehouse. Alpha in Segment’s API: it may change.
Risk: write
settings full type
settings full type
data full type
data full type
updateSelectiveSync
profilesSync.updateSelectiveSync
Update Selective Sync for Warehouse And Space. Updates the schema for a Space Warehouse connection, including Collections and Properties. Alpha in Segment’s API: it may change.
Risk: write
syncOverrides full type
syncOverrides full type
data full type
data full type
Regulations
create
regulations.create
Create Workspace Regulation. Creates a Workspace-scoped regulation. Config API omitted fields:. - attributes,. - userAgent. Rate limit headers will be updated to reflect regulation-specific limits (tracked separately for Segment-only vs Segment & Destination regulation types):. Starts a deletion or suppression run over the subject ids. It cannot be cancelled and deleted data cannot be recovered; poll regulations.get until overallStatus is FINISHED, PARTIAL_SUCCESS or FAILED.
Risk: destructive · Irreversible
data full type
data full type
createForCloudSource
regulations.createForCloudSource
Create Cloud Source Regulation. Creates a Source-scoped regulation. Please Note: Suppression rules at the Workspace level take precedence over those at the Source level. Starts a deletion run on a cloud-mode source. It cannot be cancelled and deleted data cannot be recovered.
Risk: destructive · Irreversible
data full type
data full type
createForSource
regulations.createForSource
Create Source Regulation. Creates a Source-scoped regulation. Please Note: Suppression rules at the Workspace level take precedence over those at the Source level. Starts a deletion or suppression run limited to one source. It cannot be cancelled and deleted data cannot be recovered.
Risk: destructive · Irreversible
data full type
data full type
get
regulations.get
Get Regulation. Gets a regulation from the Workspace. Config API omitted fields:. - parent.
Risk: read
data full type
data full type
list
regulations.list
List Workspace Regulations. Lists all Workspace-scoped regulations. Please note: List Workspace regulations only returns deletion requests from the past 90 days. Deletion requests older than 90 days are not retained and will result in 404 resource not found.
Risk: read
pagination full type
pagination full type
data full type
data full type
listForSource
regulations.listForSource
List Regulations from Source. Lists all Source-scoped regulations. Please note: List regulations for Source only returns deletion requests from the past 90 days. Deletion requests older than 90 days are not retained and will result in 404 resource not found.
Risk: read
pagination full type
pagination full type
data full type
data full type
listSuppressions
regulations.listSuppressions
List Suppressions. Lists all suppressions in a given Workspace.
Risk: read
pagination full type
pagination full type
data full type
data full type
Reverse Etl
models.create
reverseEtl.models.create
Create Reverse Etl Model. Creates a new Reverse ETL Model. Alpha in Segment’s API: it may change.
Risk: write
data full type
data full type
models.delete
reverseEtl.models.delete
Delete Reverse Etl Model. Deletes an existing Model. Alpha in Segment’s API: it may change. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
models.get
reverseEtl.models.get
Get Reverse Etl Model. Returns a Reverse ETL Model by its id. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
models.list
reverseEtl.models.list
List Reverse Etl Models. Returns a list of Reverse ETL Models. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
models.update
reverseEtl.models.update
Update Reverse Etl Model. Updates an existing Reverse ETL Model. When called, this endpoint may generate one or more of the following audit trail events:* Model Settings Saved. * Model State Change Toggled. Alpha in Segment’s API: it may change.
Risk: write
data full type
data full type
syncs.cancel
reverseEtl.syncs.cancel
Cancel Reverse ETL Sync for Model. Cancels a sync for a Reverse ETL Connection. It might take a few seconds to completely cancel the sync. Will return an error if the sync is already completed or cancelled. Alpha in Segment’s API: it may change.
Risk: destructive
data full type
data full type
syncs.create
reverseEtl.syncs.create
Create Reverse ETL Manual Sync. Triggers a manual sync for a Reverse ETL Connection. In the request body, the subscription id is the id that follows after /mappings/ portion in the URL of the sync. Alpha in Segment’s API: it may change. Starts a sync now: rows go out to the connected destination.
Risk: destructive
data full type
data full type
syncs.get
reverseEtl.syncs.get
Get Reverse ETL Sync Status. Get the sync status for a Reverse ETL sync. The sync status includes all detailed information about the sync - sync status, duration, details about the extract and load phase if applicable, etc. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
syncs.list
reverseEtl.syncs.list
List Reverse ETL Sync Statuses from Model And Subscription Id. Get the sync statuses for a Reverse ETL mapping subscription. The sync status includes all detailed information about the sync - sync status, duration, details about the extract and load phase if applicable, etc. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
Roles
list
roles.list
List Roles. Returns a list of Roles available to apply to permissions for users and/or groups.
Risk: read
pagination full type
pagination full type
data full type
data full type
Sources
addLabels
sources.addLabels
Add Labels to Source. Adds an existing label to a Source.
Risk: write
labels full type
labels full type
data full type
data full type
create
sources.create
Create Source. Creates a new Source. (POST /sources)
Risk: write
settings full type
settings full type
data full type
data full type
createWriteKey
sources.createWriteKey
Create Write Key for Source. Creates a new Write Key for the Source. Alpha in Segment’s API: it may change. Mints a new write key for the source: a credential, treat it as a secret.
Risk: destructive
data full type
data full type
delete
sources.delete
Delete Source. Deletes an existing Source. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
sources.get
Get Source. Returns a Source by its id. The source carries its writeKeys: treat them as secrets.
Risk: read
data full type
data full type
getSchemaSettings
sources.getSchemaSettings
List Schema Settings in Source. Retrieves the schema configuration settings for a Source. If Protocols is not enabled for the Source, the configurations specific to Protocols will have default values.
Risk: read
data full type
data full type
list
sources.list
List Sources. Returns a list of Sources. Each source carries its writeKeys: treat them as secrets.
Risk: read
pagination full type
pagination full type
data full type
data full type
listConnectedDestinations
sources.listConnectedDestinations
List Connected Destinations from Source. Returns a list of Destinations connected to a Source.
Risk: read
pagination full type
pagination full type
data full type
data full type
listConnectedWarehouses
sources.listConnectedWarehouses
List Connected Warehouses from Source. Returns a list of Warehouses connected to a Source.
Risk: read
pagination full type
pagination full type
data full type
data full type
removeWriteKey
sources.removeWriteKey
Remove Write Key from Source. Removes a Write Key from a Source. Alpha in Segment’s API: it may change. Every sender still using this write key stops being accepted. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
replaceLabels
sources.replaceLabels
Replace Labels in Source. Replaces all labels in a Source.
Risk: write
labels full type
labels full type
data full type
data full type
update
sources.update
Update Source. Updates an existing Source. When called, this endpoint may generate one or more of the following audit trail events:* Source Modified. * Source Enabled. * Source Settings Modified. * Source Disabled. Config API omitted fields:. - updateMask.
Risk: write
settings full type
settings full type
data full type
data full type
updateSchemaSettings
sources.updateSchemaSettings
Update Schema Settings in Source. Updates the schema configuration for a Source. If Protocols is not enabled for the Source, any updates to Protocols-specific configurations will not be applied. Config API omitted fields:. - updateMask.
Risk: write
track full type
track full type
identify full type
identify full type
group full type
group full type
data full type
data full type
Spaces
get
spaces.get
Get Space. Returns the Space by id. In order to successfully call this endpoint, the specified Workspace needs to have the Spaces feature enabled. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
list
spaces.list
List Spaces. List Spaces. In order to successfully call this endpoint, the specified Workspace needs to have the Spaces feature enabled. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
schema.listEntityPaths
spaces.schema.listEntityPaths
List Entity Paths. Returns a list of Entity Paths for a Space. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
schema.listEntityProperties
spaces.schema.listEntityProperties
List Properties from Entity. Returns a list of Properties for an Entity in a Space. Forward-only pagination : this endpoint does not support backward traversal. The pagination.previous field is always absent; use pagination.next to advance through pages. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
schema.listEntityPropertySampleValues
spaces.schema.listEntityPropertySampleValues
List Sample Values from Entity Property. Returns sample values for an Entity Property in a Space. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
schema.listEventProperties
spaces.schema.listEventProperties
List Properties from Event. Returns a list of Properties for an Event in a Space. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
schema.listEventPropertySampleValues
spaces.schema.listEventPropertySampleValues
List Sample Values from Event Property. Returns sample values for an Event Property in a Space. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
schema.listEvents
spaces.schema.listEvents
List Events. Returns a list of Events for a Space. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
schema.listTraits
spaces.schema.listTraits
List Traits. Returns a list of Traits for a Space. Forward-only pagination : this endpoint does not support backward traversal. The pagination.previous field is always absent; use pagination.next to advance through pages. Alpha in Segment’s API: it may change.
Risk: read
pagination full type
pagination full type
data full type
data full type
schema.listTraitSampleValues
spaces.schema.listTraitSampleValues
List Sample Values from Trait. Returns sample values for a Trait in a Space. Alpha in Segment’s API: it may change.
Risk: read
data full type
data full type
Testing
echo
testing.echo
Echo. Public Echo endpoint. (GET /echo)
Risk: read
data full type
data full type
Tracking
alias
tracking.alias
Merge two user identities. Merges two identities of one user (a previous anonymous or old id and the new userId) in destinations that need it, such as Mixpanel. Most destinations merge on identify and do not need alias. Tracking API: sent with the source write key.
Risk: write
context full type
context full type
integrations full type
integrations full type
batch
tracking.batch
Send a batch of calls. Sends up to 2,500 calls and 500 KB of identify, track, page, screen, group and alias calls in one request (each message at most 32 KB). Use it to import historical data or to save requests. Tracking API: sent with the source write key.
Risk: write
batch full type
batch full type
context full type
context full type
integrations full type
integrations full type
group
tracking.group
Associate a user with a group. Ties a user to a group (a company, account or team) and records traits about the group. Tracking API: sent with the source write key.
Risk: write
context full type
context full type
integrations full type
integrations full type
traits full type
traits full type
identify
tracking.identify
Identify a user. Ties a user to their actions and records traits about them (email, name, plan). Traits stay on the user profile in destinations that keep one. Tracking API: sent with the source write key to api.segment.io (events.eu1.segmentapis.com in the EU). Segment answers 200 for every call it can parse; check the source debugger for what arrived.
Risk: write
context full type
context full type
integrations full type
integrations full type
traits full type
traits full type
page
tracking.page
Record a page view. Records that a user viewed a page of a website. Tracking API: sent with the source write key.
Risk: write
context full type
context full type
integrations full type
integrations full type
properties full type
properties full type
screen
tracking.screen
Record a screen view. Records that a user viewed a screen of a mobile app. Tracking API: sent with the source write key.
Risk: write
context full type
context full type
integrations full type
integrations full type
properties full type
properties full type
track
tracking.track
Track an event. Records an action the user performed, with properties describing it (“Order Completed” with revenue). Tracking API: sent with the source write key. Events go on to every destination connected to the source.
Risk: write
context full type
context full type
integrations full type
integrations full type
properties full type
properties full type
Tracking Plans
addSource
trackingPlans.addSource
Add Source to Tracking Plan. Connects a Source to a Tracking Plan. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: write
data full type
data full type
create
trackingPlans.create
Create Tracking Plan. Creates a Tracking Plan. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: write
data full type
data full type
delete
trackingPlans.delete
Delete Tracking Plan. Deletes a Tracking Plan. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
trackingPlans.get
Get Tracking Plan. Returns a Tracking Plan. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: read
data full type
data full type
list
trackingPlans.list
List Tracking Plans. Returns a list of Tracking Plans. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: read
pagination full type
pagination full type
data full type
data full type
listRules
trackingPlans.listRules
List Rules from Tracking Plan. Lists Tracking Plan rules. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: read
pagination full type
pagination full type
data full type
data full type
listSources
trackingPlans.listSources
List Sources from Tracking Plan. Lists Sources connected to a Tracking Plan. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled. This endpoint requires the user to have at least the following permission(s):. * Source Read-only. * Tracking Plan Read-only.
Risk: read
pagination full type
pagination full type
data full type
data full type
removeRules
trackingPlans.removeRules
Remove Rules from Tracking Plan. Deletes Tracking Plan rules. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled. Cannot be undone.
Risk: destructive · Irreversible
rules full type
rules full type
data full type
data full type
removeSource
trackingPlans.removeSource
Remove Source from Tracking Plan. Disconnects a Source from a Tracking Plan. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
replaceRules
trackingPlans.replaceRules
Replace Rules in Tracking Plan. Replaces Tracking Plan rules. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: destructive
rules full type
rules full type
data full type
data full type
update
trackingPlans.update
Update Tracking Plan. Updates a Tracking Plan. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled. Config API omitted fields:. - updateMask.
Risk: write
data full type
data full type
updateRules
trackingPlans.updateRules
Update Rules in Tracking Plan. Updates Tracking Plan rules. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: write
rules full type
rules full type
data full type
data full type
Transformations
create
transformations.create
Create Transformation. Creates a new Transformation. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: write
propertyRenames full type
propertyRenames full type
propertyValueTransformations full type
propertyValueTransformations full type
fqlDefinedProperties full type
fqlDefinedProperties full type
hashPropertiesConfiguration full type
hashPropertiesConfiguration full type
data full type
data full type
delete
transformations.delete
Delete Transformation. Deletes a Transformation. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
transformations.get
Get Transformation. Gets a Transformation. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: read
data full type
data full type
list
transformations.list
List Transformations. Lists all Transformations in the Workspace. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: read
pagination full type
pagination full type
data full type
data full type
update
transformations.update
Update Transformation. Updates an existing Transformation. In order to successfully call this endpoint, the specified Workspace needs to have the Protocols feature enabled.
Risk: write
propertyRenames full type
propertyRenames full type
propertyValueTransformations full type
propertyValueTransformations full type
fqlDefinedProperties full type
fqlDefinedProperties full type
hashPropertiesConfiguration full type
hashPropertiesConfiguration full type
data full type
data full type
Usage
getDailyApiCalls
usage.getDailyApiCalls
Get Daily Workspace API Calls Usage. Provides daily cumulative API call counts for a usage period.
Risk: read
pagination full type
pagination full type
data full type
data full type
getDailyApiCallsBySource
usage.getDailyApiCallsBySource
Get Daily Per Source API Calls Usage. Provides daily cumulative per-source API call counts for a usage period.
Risk: read
pagination full type
pagination full type
data full type
data full type
getDailyMtu
usage.getDailyMtu
Get Daily Workspace MTU Usage. Provides daily cumulative MTU counts for a usage period.
Risk: read
pagination full type
pagination full type
data full type
data full type
getDailyMtuBySource
usage.getDailyMtuBySource
Get Daily Per Source MTU Usage. Provides daily cumulative per-source MTU counts for a usage period.
Risk: read
pagination full type
pagination full type
data full type
data full type
User Groups
addPermissions
userGroups.addPermissions
Add Permissions to User Group. Adds a list of access permissions to a user group. When called, this endpoint may generate one or more of the following audit trail events:* Policy Created. * User Group Policy Updated.
Risk: write
permissions full type
permissions full type
data full type
data full type
addUsers
userGroups.addUsers
Add Users to User Group. Adds a list of users or invites to a user group. When called, this endpoint may generate one or more of the following audit trail events:* Subjects Added to Group. * User Added To User Group.
Risk: write
data full type
data full type
create
userGroups.create
Create User Group. Creates a user group. When called, this endpoint may generate one or more of the following audit trail events:* User Group Created. * Policy Created.
Risk: write
data full type
data full type
delete
userGroups.delete
Delete User Group. Removes a user group from a Workspace. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
userGroups.get
Get User Group. Returns a user group. (GET /groups/{userGroupId})
Risk: read
data full type
data full type
list
userGroups.list
List User Groups. Returns all user groups.
Risk: read
pagination full type
pagination full type
data full type
data full type
listInvites
userGroups.listInvites
List Invites from User Group. Returns the emails of invitees to a user group.
Risk: read
pagination full type
pagination full type
data full type
data full type
listUsers
userGroups.listUsers
List Users from User Group. Returns users belonging to a user group.
Risk: read
pagination full type
pagination full type
data full type
data full type
removeUsers
userGroups.removeUsers
Remove Users from User Group. Removes one or multiple users or invites from a user group by email. When called, this endpoint may generate one or more of the following audit trail events:* Group Memberships Deleted. * User Removed From User Group. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
replacePermissions
userGroups.replacePermissions
Replace Permissions for User Group. Updates the list of access permissions for a user group.
Risk: destructive
permissions full type
permissions full type
data full type
data full type
replaceUsers
userGroups.replaceUsers
Replace Users in User Group. Replaces the members of a user group by email. When called, this endpoint may generate one or more of the following audit trail events:* Subjects Added to Group. * User Added To User Group. * Group Memberships Deleted.
Risk: destructive
data full type
data full type
update
userGroups.update
Update User Group. Updates a user group for a Workspace.
Risk: write
data full type
data full type
Users
addPermissions
users.addPermissions
Add Permissions to User. Adds a list of access permissions to a user. When called, this endpoint may generate one or more of the following audit trail events:* Policy Created. * User Policy Updated.
Risk: write
permissions full type
permissions full type
data full type
data full type
delete
users.delete
Delete Users. Removes one or multiple users. Removes the users from the workspace. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
users.get
Get User. Returns a user given their id.
Risk: read
data full type
data full type
list
users.list
List Users. Returns a list of users with access to the Workspace.
Risk: read
pagination full type
pagination full type
data full type
data full type
listGroups
users.listGroups
List User Groups from User. Returns all groups a user belongs to.
Risk: read
pagination full type
pagination full type
data full type
data full type
replacePermissions
users.replacePermissions
Replace Permissions for User. Updates the list of access permissions for a user.
Risk: destructive
permissions full type
permissions full type
data full type
data full type
Warehouses
addSourceConnection
warehouses.addSourceConnection
Add Connection from Source to Warehouse. Connects a Source to a Warehouse.
Risk: write
data full type
data full type
create
warehouses.create
Create Warehouse. Creates a new Warehouse.
Risk: write
data full type
data full type
delete
warehouses.delete
Delete Warehouse. Deletes an existing Warehouse. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
get
warehouses.get
Get Warehouse. Returns a Warehouse by its id.
Risk: read
data full type
data full type
getAdvancedSyncSchedule
warehouses.getAdvancedSyncSchedule
Get Advanced Sync Schedule from Warehouse. Returns the advanced sync schedule for a Warehouse.
Risk: read
data full type
data full type
getConnectionState
warehouses.getConnectionState
Get Connection State from Warehouse. Verifies the state of Warehouse connection settings.
Risk: read
data full type
data full type
list
warehouses.list
List Warehouses. Returns a list of Warehouses.
Risk: read
pagination full type
pagination full type
data full type
data full type
listConnectedSources
warehouses.listConnectedSources
List Connected Sources from Warehouse. Returns the list of Sources that are connected to a Warehouse.
Risk: read
pagination full type
pagination full type
data full type
data full type
listSelectiveSyncs
warehouses.listSelectiveSyncs
List Selective Syncs from Warehouse And Source. Returns the schema for a Warehouse, including Sources, Collections, and Properties.
Risk: read
pagination full type
pagination full type
data full type
data full type
listSourceSyncs
warehouses.listSourceSyncs
List Syncs from Warehouse And Source. Returns the overview of syncs for a Source connected to a Warehouse.
Risk: read
pagination full type
pagination full type
data full type
data full type
listSyncs
warehouses.listSyncs
List Syncs from Warehouse. Returns the overview of syncs for every Source connected to a Warehouse.
Risk: read
pagination full type
pagination full type
data full type
data full type
removeSourceConnection
warehouses.removeSourceConnection
Remove Source Connection from Warehouse. Disconnects a Source from a Warehouse. Cannot be undone.
Risk: destructive · Irreversible
data full type
data full type
replaceAdvancedSyncSchedule
warehouses.replaceAdvancedSyncSchedule
Replace Advanced Sync Schedule for Warehouse. Updates the advanced sync schedule for a Warehouse, replacing the sync schedule with a new schedule.
Risk: write
schedule full type
schedule full type
data full type
data full type
update
warehouses.update
Update Warehouse. Updates an existing Warehouse. When called, this endpoint may generate one or more of the following audit trail events:* Storage Destination Modified. * Storage Destination Enabled.
Risk: write
data full type
data full type
updateSelectiveSync
warehouses.updateSelectiveSync
Update Selective Sync for Warehouse. Configures the schema for a Warehouse, including Sources, Collections, and Properties.
Risk: write
syncOverrides full type
syncOverrides full type
data full type
data full type
validate
warehouses.validate
Create Validation in Warehouse. Validates input settings against a Warehouse.
Risk: read
settings full type
settings full type
data full type
data full type
Workspaces
get
workspaces.get
Get Workspace. Returns the Workspace associated with the token used to access this resource. The workspace the token belongs to: a cheap call to check the token.
Risk: read
data full type
data full type