Intempt
  1. API Reference
Intempt
  • SDK
    • JS SDK
    • Android SDK
  • API Reference
    • Track data
      POST
    • Consent
      POST
    • Choose API
      POST
    • Recommendations Feed API
      POST
  1. API Reference

Track data

POST
/{orgName}/projects/{projectName}/sources/{sourceId}/track

Request

Path Params

Query Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
200
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '//projects//sources/0/track?apiKey' \
--header 'Content-Type: application/json' \
--data-raw '{
    "track": [
        {
            "name": "Purchase",
            "payload": [
                {
                    "eventId": "generated-event-id",
                    "profileId": "generated-profile-id",
                    "userId": "custom@intempt.com",
                    "timestamp": 1714631904000,
                    "accountId": "Intempt",
                    "sessionId": "generated-session-id",
                    "pageId": "generated-page-id",
                    "anotherUserId": "+111111111",
                    "anotherAccountId": "no-reply@intempt.com",
                    "data": {
                        "amount": 150,
                        "productName": "Wine",
                        "quantity": 4,
                        "locationLatitude": 51.509865
                    },
                    "userAttributes": {
                        "location": "USA"
                    },
                    "accountAttributes": {
                        "founded": 2000
                    }
                }
            ]
        }
    ]
}'
Response Response Example
200 - Example 1
{}
Modified at 2025-11-26 15:54:15
Previous
Android SDK
Next
Consent
Built with