I noticed the business tier, maybe others i'm not sure, have access to
POST /users/{userId}/user_attributes
which lets us edit attributes, but there's no way to actually check the attribute value for conditional branching and whatnot Its a bit odd, since the API Token has access to User Attribues > Read/Write
but there is no way to actually read... theres doesn't seem to be an endpoint for GET /users/{userId}/user_attribues
GET /users
GET /users/{userId}
these 2 endpoints return
statusCode: 400
error: "Bad Request"
message: {
"success": false,
"message": "API access is only available for enterprise customers"
}
I also noticed some of descriptions need updated:
I think the API Token needs "User Attributes > Write" scope not the Users one.... since my token doesn't even have the option for the User scope but I am allowed to use this endpoint still
while proof-reading i noticed the description above says it updates a user attribute but it returns the updated user metadata?? I'm assuming metadata = attributes? or is there some nested object i'm missunderstanding??