How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Talon.One Segment API

[Segment](https://segment.com/) is a customer data platform that collects events from your web & mobile apps.Use these endpoints to integrate with Talon.One.

Talon.One Segment API is one of 42 APIs that Talon.One publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Segment. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and a getting-started guide.

This API exposes 13 operations across 12 paths, and defines 116 schemas. It is described by OpenAPI 3.2.0.

Requests are made against a single base URL, https://integration.talon.one.

13 operations 12 paths 116 schemas 1 DELETE1 POST11 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://yourbaseurl.talon.one
Authentication
API Key, HTTP Basic
Resource Areas
1

Authentication & Security 2

Talon.One Segment API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth). It accepts HTTP basic authentication (ApiKeyBasicAuth). By default, every request must be authenticated.

  • ApiKeyAuth — To authenticate to use these endpoints, create a Third-party API key in the Campaign Manager: 1. Sign in to the Campaign Manager, and open the [Application](ht…
  • ApiKeyBasicAuth — To authenticate to use these endpoints, create a Third-party API key in the Campaign Manager: 1. Sign in to the Campaign Manager, and open the [Application](ht…

Paths & Operations 13

Across 12 paths, the API surfaces 13 operations — 1 DELETE, 1 POST, 11 PUT. Each is listed below with its method, path, parameters, and response codes.

Segment 13

[Segment](https://segment.com/) is a customer data platform that collects events from your web & mobile apps. Use these endpoints to integrate with Talon.One.

PUT
/segment/customer_profile/{customerProfileId}deprecated
Upsert customer profile v1 (Segment)
segment/updateCustomerProfile 2 params body → 200400401404429
PUT
/segment/customer_profile_v2/{customerProfileId}deprecated
Upsert customer profile v2 (Segment)
segment/updateCustomerProfileV2 2 params body → 200400401404429
PUT
/segment/v2/customer_profiles/{customerProfileId}
Update customer profile (Segment)
segment/v2/updateCustomerProfile 3 params body → 200400401404429
PUT
/segment/customer_profiles/{customerProfileId}/audiences
Update customer profile audiences using external ID (Segment)
segment/updateCustomerProfileAudiences 2 params body → 200400401404429
PUT
/segment/customer_profiles/audiences
Update audiences in multiple customer profiles (Segment)
segment/updateCustomerProfilesAudiences 1 param body → 204400401404429
PUT
/segment/v2/customer_profiles/audiences
Update audiences in multiple customer profiles using external ID (Segment)
segment/v2/updateCustomerProfilesAudiences 1 param body → 204400401404429
PUT
/segment/eventdeprecated
Track event v1 (Segment)
segment/trackEvent 1 param body → 200400401404429
PUT
/segment/v2/events
Track event v2 (Segment)
segment/trackEventV2 2 params body → 200400401404429
POST
/segment/audiences
Create audience (Segment)
segment/createAudience 1 param body → 201400401404409429
PUT
/segment/audiences/{audienceId}
Update audience (Segment)
segment/updateAudience 2 params body → 200400401404429
DELETE
/segment/audiences/{audienceId}
Delete audience (Segment)
segment/deleteAudience 2 params → 204400401404429
PUT
/segment/customer_sessions/{customerSessionId}deprecated
Update customer session v1 (Segment)
segment/updateCustomerSession 6 params body → 200400401429
PUT
/segment/v2/customer_sessions/{customerSessionId}
Update customer session v2 (Segment)
segment/v2/updateCustomerSession 7 params body → 200400401429

Schemas 116

The contract defines 116 schemas that model the data the API accepts and returns. The most detailed are IntegrationStateV2 (14 properties), cartItem (14 properties), newCampaign (13 properties), addLoyaltyPointsEffectProps (12 properties). Each schema is shown below with its type and property counts.

limitConfig
object
4 properties 3 required
SegmentCustomerProfileV2Request
object
3 properties
newCampaign
object
13 properties 5 required
effectProps
object
referral
customerProfile
deleteAudienceIds
array
The IDs of the audiences for the customer to leave.
inventoryReferral
additionalCost
object
1 property
id
integer
Unique ID for this entity.
loyalty
object
Customer specific information about loyalty points.
2 properties 1 required
triggerWebhookEffectProps
object
The properties specific to the "triggerWebhook" effect. This gets triggered whenever a validated rule contained a "trigger webhook" effect. This is communicate…
2 properties 2 required
CreateAndUpdateAudienceRequest
object
2 properties 2 required
loyaltyProgramEntity
object
1 property 1 required
deleteIntegrationAudienceIds
array
The external IDs of the audiences for the customer to leave.
customerProfileID
string
The integration ID of the customer profile. If the customer profile does not exist, it will be created.
setDiscountPerItemEffectProps
object
The properties specific to the setDiscountPerItem effect, triggered whenever a validated rule contained a "set per item discount" effect. This is a discount th…
10 properties 3 required
addLoyaltyPointsEffectProps
object
The properties specific to the "addLoyaltyPoints" effect. This gets triggered whenever a validated rule contained an "add loyalty" effect. These points are aut…
12 properties 6 required
CustomerProfileRequestV2
object
3 properties
newAudience
object
3 properties 1 required
CustomerProfileIntegrationResponseV2
object
This is the response type returned by the updateCustomerProfileV2 endpoint.
9 properties 3 required
importEntity
object
1 property 1 required
meta
object
5 properties
CustomerProfileResponseV2
customerSessionV2
customEffectProps
object
Effect containing custom payload.
3 properties 3 required
updateLoyaltyCard
object
1 property 1 required
referralConstraints
object
3 properties 1 required
entityWithTalangVisibleID
object
2 properties 2 required
multipleAttributes
array
deleteAudienceItems
array
The audiences for the customer to leave.
campaignEntity
object
1 property 1 required
UpdateCustomerSessionRequest
object
3 properties
applicationEntity
object
1 property 1 required
audienceId
string
The integration ID of this audience. If the audience comes from a third-party platform, set this property to the ID given by the third-party platform.
loyaltyCardProfileRegistration
object
2 properties 2 required
TrackEventRequest
object
4 properties 3 required
couponLimitConfigs
object
1 property
coupon
entity
object
2 properties 2 required
userEntity
object
1 property 1 required
CustomerProfilesAudiencesRequest
object
1 property
integrationAudienceChange
object
A list of external IDs of the audiences where the customer should be removed or added.
2 properties
newReferral
setDiscountEffectProps
object
The properties specific to the "setDiscount" effect. This gets triggered whenever a validated rule contained a "set discount" effect. This is a discount that s…
4 properties 2 required
referralRejectionReason
object
Holds a reference to the campaign, the referral and the reason for which that referral was rejected. Should only be present when there is a 'rejectReferral' ef…
3 properties 3 required
audienceItem
object
2 properties 1 required
MultipleAudiencesItem
newCustomerSessionV2
SegmentTrackEventV2Request
object
3 properties 1 required
CreateAndUpdateResponse
couponCreatedEffectProps
object
The properties specific to the "couponCreated" effect. This gets triggered whenever a validated rule contained a "create coupon" effect, and a coupon was creat…
2 properties 2 required
return
SegmentTrackEventRequest
addIntegrationAudienceIds
array
The external IDs of the audiences for the customer to join.
returnedCartItem
object
2 properties 1 required
newReturn
object
1 property 1 required
SegmentCustomerProfileRequest
loyaltyCard
attribute
accountEntity
object
1 property 1 required
ledgerEntry
effect
multipleIntegrationAudienceChanges
rollbackCouponEffectProps
object
The properties specific to the "rollbackCoupon" effect. This gets triggered whenever previously closed session is now cancelled and a coupon redemption was can…
1 property 1 required
showBundleMetadataEffectProps
object
The properties specific to the "ShowBundleMetadata" effect. This effect contains information that allows you to associate the discounts from a rule in a bundle…
3 properties 3 required
setDiscountPerAdditionalCostEffectProps
object
The properties specific to the "setDiscountPerAdditionalCost" effect. This gets triggered whenever a validated rule contained a "set per additional cost discou…
5 properties 4 required
giveaway
updateAttributeEffectProps
object
The properties specific to the "updateAttribute" effect. This gets triggered whenever a validated rule contained an "update an attribute" effect.
2 properties 2 required
ledgerInfo
object
7 properties
attributeInfo
object
2 properties
SegmentCustomerProfileRequestV2
referralCreatedEffectProps
object
The properties specific to the "referralCreated" effect. This gets triggered whenever a validated rule contained a "create referral" effect, and a referral cod…
1 property 1 required
integrationProfileEntity
object
1 property
codeGeneratorSettings
object
2 properties 2 required
loyaltyProgramLedgers
object
Customer specific information about loyalty points.
5 properties 4 required
errorEffectProps
object
Whenever an error occurred during evaluation, we return an error effect. This should never happen for rules created in the rule builder.
1 property 1 required
cartItem
object
14 properties 2 required
addFreeItemEffectProps
object
The properties specific to the "addFreeItem" effect. This gets triggered whenever a validated rule contained an "add free item" effect.
2 properties 2 required
CustomerProfileResponse
object
Contains all entities that might interest Talon.One integrations.
2 properties
audienceChangeV2
object
2 properties
attributesInfo
array
Allows you to set the type of the attribute to create instead of relying on auto-type detection. For example, if you have a hasClickedProduct attribute set to…
addAudienceItems
array
The audiences for the customer to join.
integrationEntity
object
2 properties 2 required
couponRejectionReason
object
Holds a reference to the campaign, the coupon and the reason for which that coupon was rejected. Should only be present when there is a 'rejectCoupon' effect.
3 properties 3 required
rejectCouponEffectProps
object
The properties specific to the "rejectCoupon" effect. This gets triggered whenever the coupon was rejected. See rejectionReason for more info on why.
5 properties 2 required
multipleAudienceChanges
rollbackDiscountEffectProps
object
The properties specific to the "rollbackDiscount" effect. This gets triggered whenever previously closed session is now cancelled or partially returned and a s…
7 properties 2 required
event
willAwardGiveawayEffectProps
object
The properties specific to the "awardGiveaway" effect when the session is not closed yet. This effect replaces "awardGiveaway" only when updating a session wit…
3 properties 3 required
rollbackAddedLoyaltyPointsEffectProps
object
The properties specific to the "rollbackAddedLoyaltyPoints" effect. This gets triggered whenever previously a closed session with an addLoyaltyPoints effect is…
8 properties 6 required
errorResponseWithStatus
object
3 properties
addAudienceIds
array
The IDs of the audiences for the customer to join.
integrationEvent
rollbackReferralEffectProps
object
The properties specific to the "rollbackReferral" effect. This gets triggered whenever previously closed session is now cancelled and a referral redemption was…
1 property 1 required
rollbackDeductedLoyaltyPointsEffectProps
object
The properties specific to the "rollbackDeductedLoyaltyPoints" effect. This effect is triggered whenever a previously closed session is cancelled and a deductL…
8 properties 6 required
showNotificationEffectProps
object
The properties specific to the "showNotification" effect. This gets triggered whenever a validated rule contained a "show notification" effect.
3 properties 3 required
SingleCustomerProfileIntegrationAudiencesRequest
object
1 property
CustomerProfileRequest
object
3 properties
audienceName
string
The human-friendly display name for this audience.
acceptCouponEffectProps
object
The properties specific to the "acceptCoupon" effect. This gets triggered whenever the coupon is valid and all other conditions in the rules of its campaign ar…
1 property 1 required
setDiscountPerAdditionalCostPerItemEffectProps
object
The properties specific to the "setDiscountPerAdditionalCostPerItem" effect. This gets triggered whenever a validated rule contained a "set discount per additi…
7 properties 5 required
acceptReferralEffectProps
object
The properties specific to the "acceptReferral" effect. TThis gets triggered whenever the referral code is valid and all other conditions in the rules of its c…
1 property 1 required
deductLoyaltyPointsEffectProps
object
The properties specific to the "deductLoyaltyPoints" effect. This gets triggered whenever a validated rule contained a condition to only trigger when the given…
7 properties 6 required
ruleFailureReason
object
Details about why a rule failed.
12 properties 5 required
couponValue
object
1 property
effectEntity
object
Definition of all properties that are present on all effects, independent of their type.
6 properties 5 required
couponConstraints
object
4 properties
awardGiveawayEffectProps
object
The properties specific to the "awardGiveaway" effect. This effect contains information on the giveaway item, and which profile it was awarded to.
5 properties 5 required
attributeValuePairs
object
Property to set the attributes of your choice to the values of your choice. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attribut…
rejectReferralEffectProps
object
The properties specific to the "rejectReferral" effect. This gets triggered whenever the referral code was rejected. See rejectionReason for more info on why.
5 properties 2 required
audienceChange
object
A list of audiences where the customer should be removed or added.
2 properties
redeemReferralEffectProps
object
The properties specific to the "redeemReferral" effect. This gets triggered whenever the referral code is valid, and a rule was triggered that contains a "rede…
2 properties 2 required
IntegrationStateV2
object
Contains all entities that might interest Talon.One integrations. This is the response type returned by the v2 PUT customersession endpoint.
14 properties 3 required
campaign
CustomerProfilesIntegrationAudiencesRequest
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

talon-one-segment-api-openapi.yml Raw ↑

Other APIs Talon.One publishes across the network.

Talon.One Accounts and users API
Talon.One Achievements API
Talon.One Additional costs API
Talon.One Analytics API
Talon.One Applications API
Talon.One Attributes API
Talon.One Audiences API
Talon.One Braze API
Talon.One Campaign access groups API
Talon.One Campaign notifications API
Talon.One Campaign templates API
Talon.One Campaigns API
Where this information came from

This is an independent, third-party profile of Talon.One Segment API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.