Update user attribution
/users/{user_id}/attributionSaves the user's sign-up attribution data. Fields that are not supported attribution fields are ignored.
If extra sign-up fields are not enabled for the account, the request is rejected with feature_disabled instead of being ignored.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/users/string/attribution" \ -H "Content-Type: application/json" \ -d '{}'{ "data": {}}Retrieve user attribution GET
Retrieves the attribution data captured when the user signed up, such as UTM parameters, traffic source, company, and job title. Fields without a value are returned as `null`. If extra sign-up fields are not enabled for the account, the API returns `feature_disabled`.
Update a user avatar PUT
Sets the user's avatar to a file previously uploaded to the account, identified by `file_id`.