{"_id":"569c7befd326c80d0068f78c","__v":2,"githubsync":"","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"},"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)"},"parentDoc":null,"project":"560c93ad7e9b9d0d00ca81a2","user":"560c92f2ac2859170013faa3","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-18T05:45:19.103Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","examples":{"codes":[{"code":"curl https://track.attributionapp.com/alias \\\n  -u YOUR_PROJECT_ID: \\\n  -d '{\"user_id\": \"user_1234\", \"previous_id\": \"user_1\"}'","language":"shell"}]},"method":"post","auth":"required","params":[],"url":"/alias"},"isReference":true,"order":2,"body":"For more information check [JavaScript Alias](doc:alias) method.","excerpt":"","slug":"http-alias","type":"endpoint","title":"/alias"}

Definition

{{ api_url }}{{ page_api_url }}

Examples


Documentation

For more information check [JavaScript Alias](doc:alias) method.

User Information

Try It Out

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