{"_id":"560d77fa8bfb03170030ac12","githubsync":"","parentDoc":null,"__v":4,"user":"560c92f2ac2859170013faa3","project":"560c93ad7e9b9d0d00ca81a2","category":{"_id":"560d76d899bb5a0d0044f307","__v":3,"pages":["560d77ae772ec32d00fa585a","560d77fa8bfb03170030ac12","569c7befd326c80d0068f78c"],"project":"560c93ad7e9b9d0d00ca81a2","version":"560c93ae7e9b9d0d00ca81a5","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-10-01T18:09:28.082Z","from_sync":false,"order":1,"slug":"http-api-server-side","title":"HTTP API (server-side)"},"version":{"_id":"560c93ae7e9b9d0d00ca81a5","project":"560c93ad7e9b9d0d00ca81a2","__v":9,"createdAt":"2015-10-01T02:00:14.709Z","releaseDate":"2015-10-01T02:00:14.709Z","categories":["560c93af7e9b9d0d00ca81a6","560c9d9399bb5a0d0044f220","560d76d899bb5a0d0044f307","560d76ee1ec45619006069ed","560d86e099bb5a0d0044f32e","560dba80373c0e0d0024ff3b","57c722ecdf19130e001fba5d","57c743d1b6f94a2200659903","58995ec083f743190077bbe2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-01T18:14:18.282Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","examples":{"codes":[{"code":"curl https://track.attributionapp.com/identify \\\n  -u YOUR_PROJECT_ID: \\\n  -d '{\"user_id\": \"user_1234\", \"traits\": {\"email\": \"peter:::at:::initech.com\", \"created_at\": \"2017-03-04T01:07:47Z\"}}'","language":"shell","name":""}]},"method":"endpoint","auth":"required","params":[],"url":"/identify"},"isReference":true,"order":1,"body":"","excerpt":"You can use identify from the server to pass in traits for known IDs. These traits will only be tied to a browsing history when that user ID has been identified from the client using the JS API.","slug":"http-identify","type":"endpoint","title":"/identify"}

endpoint/identify

You can use identify from the server to pass in traits for known IDs. These traits will only be tied to a browsing history when that user ID has been identified from the client using the JS API.

Definition

{{ api_url }}{{ page_api_url }}

Examples


User Information

Try It Out

endpoint
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}