Skip to content

Get offers for server request

Request

Ingest an event and receive personalization response from RT engine.

Security
td1 and wp13n
Path
databasestring[0-9a-z_]{3,128}required

name of the destination database

Example:alpha
tablestring[0-9a-z_]{3,128}required

name of the destination table

Example:bravo
Bodyapplication/vnd.treasuredata.v1+json

Event to be ingested

timeinteger, (int64)required

Time in seconds since Epoch. Must be between 00:00:00 1 Jan 1970 UTC and 23:59:59 31 Dec 9999 UTC.

Example:1647376522
uuidstring, (uuid)required

ID of the record in UUID format.

Example:"b82aad42-481b-4ca7-87c0-848a34f3c85f"
property name*anyadditional property
curl -i -X POST \
  https://us01.p13n.in.treasuredata.com/alpha/bravo \
  -H 'Authorization: Bearer <YOUR_TD1_HERE>' \
  -H 'Content-Type: application/vnd.treasuredata.v1+json' \
  -H 'WP13n-Token: YOUR_API_KEY_HERE' \
  -d '{
    "time": 1700760737,
    "uuid": "5505C764-00FC-469B-8EEF-F85A0FC85794",
    "string": "hello",
    "number": 3
  }'

Responses

Successful ingestion

Response
No content