Skip to main content
New to Corsair? See API access, authentication, and error handling.

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
Input
Output

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
Input
Output

delete

activations.delete Remove Activation from Audience. Deletes an Activation. Alpha in Segment’s API: it may change. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

activations.get Get Activation from Audience. Gets a single Activation by id. Alpha in Segment’s API: it may change. Risk: read
Input Output

list

activations.list List Activations from Audience. Lists all Activations. Alpha in Segment’s API: it may change. Risk: read
Input
Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input Output

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
Input
Output

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
Input Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input Output

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
Input Output

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
Input Output

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
Input
Output

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
Input
Output

Audit Trail

list

auditTrail.list List Audit Events. Returns a list of Audit Trail events. Risk: read
Input
Output

Catalog

getDestination

catalog.getDestination Get Destination Metadata. Returns a Destination catalog item by its id. Risk: read
Input Output

getSource

catalog.getSource Get Source Metadata. Returns a Source catalog item by its id. Risk: read
Input Output

getWarehouse

catalog.getWarehouse Get Warehouse Metadata. Returns a Warehouse catalog item by its id. Risk: read
Input Output

listDestinations

catalog.listDestinations Get Destinations Catalog. Returns a list of all available Destinations in the Segment catalog. Risk: read
Input
Output

listSources

catalog.listSources Get Sources Catalog. Returns a list of all available Sources in the Segment catalog. Risk: read
Input
Output

listWarehouses

catalog.listWarehouses Get Warehouses Catalog. Returns a list of all available Warehouses in the Segment catalog. Risk: read
Input
Output

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
Input
Output

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
Input Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input
Output

Customer Insights

createDownload

customerInsights.createDownload Create Download. Create Customer Insights Presigned URLs. Alpha in Segment’s API: it may change. Risk: write
Input Output

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
Input Output

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
Input
Output

getFailedOnIngest

deliveryOverview.getFailedOnIngest Get Ingress Failed Metrics from Delivery Overview. Get events that failed on ingest. Beta in Segment’s API. Risk: read
Input
Output

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
Input
Output

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
Input
Output

getSuccessfulDelivery

deliveryOverview.getSuccessfulDelivery Get Egress Success Metrics from Delivery Overview. Get events successfully delivered to Destination. Beta in Segment’s API. Risk: read
Input
Output

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
Input
Output

Destinations

create

destinations.create Create Destination. Creates a new Destination. Risk: write
Input
Output

delete

destinations.delete Delete Destination. Deletes an existing Destination. Config API omitted fields:. - catalogId. Cannot be undone. Risk: destructive · Irreversible
Input Output

filters.create

destinations.filters.create Create Filter for Destination. Creates a filter in a Destination. Risk: write
Input
Output

filters.delete

destinations.filters.delete Remove Filter from Destination. Deletes a Destination filter. Cannot be undone. Risk: destructive · Irreversible
Input Output

filters.get

destinations.filters.get Get Filter in Destination. Gets a Destination filter by id. Risk: read
Input Output

filters.list

destinations.filters.list List Filters from Destination. Lists filters for a Destination. Risk: read
Input
Output

filters.preview

destinations.filters.preview Preview Destination Filter. Simulates the application of a Destination filter to a provided JSON payload. Risk: read
Input
Output

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
Input
Output

get

destinations.get Get Destination. Returns a Destination by its id. Config API omitted fields:. - catalogId. Risk: read
Input Output

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
Input Output

list

destinations.list List Destinations. Returns a list of Destinations. Risk: read
Input
Output

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
Input
Output

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
Input Output

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
Input Output

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
Input
Output

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
Output

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
Input
Output

Events

getVolume

events.getVolume Get Events Volume from Workspace. Enumerates the Workspace event volumes over time in minute increments. Risk: read
Input
Output

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
Input Output

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
Input Output

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
Input Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input Output

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
Input Output

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
Input Output

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
Input Output

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
Input
Output

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
Input Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input Output

list

invites.list List Invites. Returns a list of invitations to join a Workspace. Config API omitted fields:. - parent. Risk: read
Input
Output

Labels

create

labels.create Create Label. Creates a new label. (POST /labels) Risk: write
Input
Output

delete

labels.delete Delete Label. Deletes a label. Cannot be undone. Risk: destructive · Irreversible
Input Output

list

labels.list List Labels. Returns a list of all available labels. Risk: read
Input: empty object Output

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
Input Output

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
Input Output

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
Input Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input
Output

update

profilesSync.update Update Profiles Warehouse for Space Warehouse. Updates an existing Profiles Warehouse. Alpha in Segment’s API: it may change. Risk: write
Input
Output

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
Input
Output

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
Input Output

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
Input Output

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
Input Output

get

regulations.get Get Regulation. Gets a regulation from the Workspace. Config API omitted fields:. - parent. Risk: read
Input Output

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
Input
Output

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
Input
Output

listSuppressions

regulations.listSuppressions List Suppressions. Lists all suppressions in a given Workspace. Risk: read
Input
Output

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
Input Output

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
Input Output

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
Input Output

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
Input
Output

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
Input Output

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
Input Output

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
Input Output

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
Input Output

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
Input Output

Roles

list

roles.list List Roles. Returns a list of Roles available to apply to permissions for users and/or groups. Risk: read
Input
Output

Sources

addLabels

sources.addLabels Add Labels to Source. Adds an existing label to a Source. Risk: write
Input
Output

create

sources.create Create Source. Creates a new Source. (POST /sources) Risk: write
Input
Output

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
Input Output

delete

sources.delete Delete Source. Deletes an existing Source. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

sources.get Get Source. Returns a Source by its id. The source carries its writeKeys: treat them as secrets. Risk: read
Input Output

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
Input Output

list

sources.list List Sources. Returns a list of Sources. Each source carries its writeKeys: treat them as secrets. Risk: read
Input
Output

listConnectedDestinations

sources.listConnectedDestinations List Connected Destinations from Source. Returns a list of Destinations connected to a Source. Risk: read
Input
Output

listConnectedWarehouses

sources.listConnectedWarehouses List Connected Warehouses from Source. Returns a list of Warehouses connected to a Source. Risk: read
Input
Output

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
Input Output

replaceLabels

sources.replaceLabels Replace Labels in Source. Replaces all labels in a Source. Risk: write
Input
Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input Output

Testing

echo

testing.echo Echo. Public Echo endpoint. (GET /echo) Risk: read
Input Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input Output

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
Input Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input Output

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
Input
Output

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
Input
Output

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
Input Output

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
Input Output

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
Input
Output

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
Input
Output

Usage

getDailyApiCalls

usage.getDailyApiCalls Get Daily Workspace API Calls Usage. Provides daily cumulative API call counts for a usage period. Risk: read
Input
Output

getDailyApiCallsBySource

usage.getDailyApiCallsBySource Get Daily Per Source API Calls Usage. Provides daily cumulative per-source API call counts for a usage period. Risk: read
Input
Output

getDailyMtu

usage.getDailyMtu Get Daily Workspace MTU Usage. Provides daily cumulative MTU counts for a usage period. Risk: read
Input
Output

getDailyMtuBySource

usage.getDailyMtuBySource Get Daily Per Source MTU Usage. Provides daily cumulative per-source MTU counts for a usage period. Risk: read
Input
Output

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
Input
Output

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
Input Output

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
Input Output

delete

userGroups.delete Delete User Group. Removes a user group from a Workspace. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

userGroups.get Get User Group. Returns a user group. (GET /groups/{userGroupId}) Risk: read
Input Output

list

userGroups.list List User Groups. Returns all user groups. Risk: read
Input
Output

listInvites

userGroups.listInvites List Invites from User Group. Returns the emails of invitees to a user group. Risk: read
Input
Output

listUsers

userGroups.listUsers List Users from User Group. Returns users belonging to a user group. Risk: read
Input
Output

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
Input Output

replacePermissions

userGroups.replacePermissions Replace Permissions for User Group. Updates the list of access permissions for a user group. Risk: destructive
Input
Output

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
Input Output

update

userGroups.update Update User Group. Updates a user group for a Workspace. Risk: write
Input Output

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
Input
Output

delete

users.delete Delete Users. Removes one or multiple users. Removes the users from the workspace. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

users.get Get User. Returns a user given their id. Risk: read
Input Output

list

users.list List Users. Returns a list of users with access to the Workspace. Risk: read
Input
Output

listGroups

users.listGroups List User Groups from User. Returns all groups a user belongs to. Risk: read
Input
Output

replacePermissions

users.replacePermissions Replace Permissions for User. Updates the list of access permissions for a user. Risk: destructive
Input
Output

Warehouses

addSourceConnection

warehouses.addSourceConnection Add Connection from Source to Warehouse. Connects a Source to a Warehouse. Risk: write
Input Output

create

warehouses.create Create Warehouse. Creates a new Warehouse. Risk: write
Input Output

delete

warehouses.delete Delete Warehouse. Deletes an existing Warehouse. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

warehouses.get Get Warehouse. Returns a Warehouse by its id. Risk: read
Input Output

getAdvancedSyncSchedule

warehouses.getAdvancedSyncSchedule Get Advanced Sync Schedule from Warehouse. Returns the advanced sync schedule for a Warehouse. Risk: read
Input Output

getConnectionState

warehouses.getConnectionState Get Connection State from Warehouse. Verifies the state of Warehouse connection settings. Risk: read
Input Output

list

warehouses.list List Warehouses. Returns a list of Warehouses. Risk: read
Input
Output

listConnectedSources

warehouses.listConnectedSources List Connected Sources from Warehouse. Returns the list of Sources that are connected to a Warehouse. Risk: read
Input
Output

listSelectiveSyncs

warehouses.listSelectiveSyncs List Selective Syncs from Warehouse And Source. Returns the schema for a Warehouse, including Sources, Collections, and Properties. Risk: read
Input
Output

listSourceSyncs

warehouses.listSourceSyncs List Syncs from Warehouse And Source. Returns the overview of syncs for a Source connected to a Warehouse. Risk: read
Input
Output

listSyncs

warehouses.listSyncs List Syncs from Warehouse. Returns the overview of syncs for every Source connected to a Warehouse. Risk: read
Input
Output

removeSourceConnection

warehouses.removeSourceConnection Remove Source Connection from Warehouse. Disconnects a Source from a Warehouse. Cannot be undone. Risk: destructive · Irreversible
Input Output

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
Input
Output

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
Input Output

updateSelectiveSync

warehouses.updateSelectiveSync Update Selective Sync for Warehouse. Configures the schema for a Warehouse, including Sources, Collections, and Properties. Risk: write
Input
Output

validate

warehouses.validate Create Validation in Warehouse. Validates input settings against a Warehouse. Risk: read
Input
Output

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
Input: empty object Output