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

Treasure Data Tokens API

The Profiles API Token enables your ability to increase personalized content based on detailed customer information. This REST API returns customer data in real-time and updates your segment information. The ability to create a Profiles API token is based on your folder permissions. You can also use Profiles API Token to personalize your customers' experience on your website. You can combine Treasure Data’s personalization feature with A/B Testing tools such as Adobe Target, Optimizely, or Google Optimize, to determine the version of your website that yields results. When the underlying personalization workflow completes, the personalization data set is refreshed. You can see a current list of the segments to which a specific profile belongs. You can also see a list of attributes associated with the specific profile. The parent segment must already exist. The parent segment is the basis for all data accessed by Profiles API Tokens. The use of the Profiles API Token with your tools requires the use of the Treasure Data JavaScript SDK and support or services consultation.

Treasure Data Tokens API is one of 67 APIs that Treasure Data publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 9 operations across 4 paths, and defines 18 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 5 base URLs: https://api-cdp.treasuredata.com, https://api-cdp.treasuredata.co.jp, https://api-cdp.eu01.treasuredata.com, https://api-cdp.ap02.treasuredata.com, https://api-cdp.ap03.treasuredata.com.

9 operations 4 paths 18 schemas 2 DELETE3 GET1 PATCH2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.treasuredata.com/v3/bulk_loads
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Treasure Data Tokens API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (TdApikeyAuth).

Paths & Operations 9

Across 4 paths, the API surfaces 9 operations — 2 DELETE, 3 GET, 1 PATCH, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Tokens 9

The Profiles API Token enables your ability to increase personalized content based on detailed customer information. This REST API returns customer data in real-time and updates y…

GET
/audiences/{audienceId}/tokens
Retrieve list of Profile API tokens
tokens#index 1 param → 2004004014034044XX5XX
POST
/audiences/{audienceId}/tokens
Create new Profiles API token (legacy)
tokens#create 1 param body → 4004014034044XX5XX
GET
/audiences/{audienceId}/tokens/{tokenId}
Retrieve Profiles API token by ID
tokens#show 2 params → 2004004014034044XX5XX
PUT
/audiences/{audienceId}/tokens/{tokenId}
Update Profiles API token (legacy)
tokens#update 2 params body → 2004004014034044XX5XX
DELETE
/audiences/{audienceId}/tokens/{tokenId}
Delete a Profiles API token (legacy)
tokens#delete 2 params → 4004014034044XX5XX
POST
/entities/tokens
Create Profiles API token
body → 200
GET
/entities/tokens/{id}
Retrieve Profiles API token by ID
1 param → 200
PATCH
/entities/tokens/{id}
Update Profiles API token
1 param body → 200
DELETE
/entities/tokens/{id}
Delete Profiles API token
1 param → 200

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are Token (12 properties), SegmentSummary (7 properties), TokenParameters (5 properties), EntitiesTokenUpdateRepresentation (4 properties). Each schema is shown below with its type and property counts.

RealtimeSegmentSummaryJsonApiResource
UserJsonApiResource
object
3 properties 3 required
TokenJsonApiResource
object
4 properties 4 required
Token
object
12 properties
RelationshipsUserJsonApiResource
object
1 property
User
object
3 properties
RelationshipsRealtimeSegmentJsonApiResource
object
1 property
RelationshipsFolderJsonApiResource
object
1 property
EntitiesTokenUpdateRepresentation
object
4 properties 3 required
TokenParameters
object
5 properties 2 required
BatchSegmentSummaryJsonApiResource
SegmentSummaryJsonApiResource
object
3 properties 2 required
FunnelStageSegmentSummaryJsonApiResource
RelationshipsBatchSegmentJsonApiResource
object
1 property
SegmentSummary
object
7 properties
RelationshipsSegmentJsonApiResource
object
1 property
Error
object
2 properties 2 required
EntitiesGetTokenJsonApiResponse
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

treasure-data-tokens-api-openapi.yml Raw ↑

Other APIs Treasure Data publishes across the network.

Treasure Data Bulk Loads API
Treasure Data User API
Treasure Data System API
Treasure Data Postback API
Treasure Workflow API
Treasure Data Bulk Import API
Treasure Data Bulk Loads API
Treasure Data Connectors API
Treasure Data Databases API
Treasure Data Jobs API
Treasure Data SSO API
Treasure Data System API
Where this information came from

This is an independent, third-party profile of Treasure Data Tokens 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.