{ "opencollection": "1.0.0", "info": { "name": "Contentstack Analytics Accounts User Attributes API", "version": "v2" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "User Attributes", "type": "folder" }, "items": [ { "info": { "name": "Set and update user attributes", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.contentstack.io/user-attributes", "headers": [ { "name": "x-project-uid", "value": "" }, { "name": "x-cs-personalize-user-uid", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Persists custom user attribute values at the Personalize Edge for use in audience rule evaluation. Attributes set via this endpoint are stored against the user's identifier and used in all subsequent manifest requests. Use this endpoint to update attributes based on user actions or profile data from external systems." }, { "info": { "name": "Merge user attributes", "type": "http" }, "http": { "method": "POST", "url": "https://api.contentstack.io/user-attributes/actions/merge", "headers": [ { "name": "x-project-uid", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Merges the attributes of a source user identity into a target user identity. This is used in identity resolution scenarios where an anonymous user record needs to be combined with an authenticated user record upon login, preserving all accumulated behavioral and attribute data." } ] } ], "bundled": true }