Amplify Up

POST /v1/track

Custom events and identify.

POST
/v1/track

Ingests a named event, identify, or profile field update.

Events base URL: https://api.amplifyup.ai

The SDK uses this for track(), identify(), and related calls. Skip it inside Composer preview.

Headers
NameTypeRequiredDescription
Content-TypestringYesapplication/json
Body fields
NameTypeRequiredDescription
typestringYestrack, identify, or set_fields
eventstringNoEvent name when type is track
anonymousIdstringYesVisitor ID
userIdstringNoKnown user id (identify)
propertiesobjectNoEvent properties; include trackingId
traitsobjectNoIdentify traits
timestampstringNoISO-8601 time
Example request
Example response (200)
Use track() and identify() from the Node SDK on websites. See Events.