-
Goal: Update user attributes using Retool API
-
Steps:
- Set up API token with "Users > Write" permissions as specified in Retool api docs for "Add or update a user attribute"
- Create Open API resource using spec url "https://api.retool.com/api/v2/spec", Bearer Token authentication, and API token key
- Create new query in application using above resource, selecting "POST /users/{userId}/user_attributes" operation and using {{ current_user.sid }} for userId in path.
- Confirm in output that the request header includes Authorization, with "bearer" automatically appended to the front of the API token key
- Double check API token key, API token scope, Open API resource, and app query
- Try manually entering Authorization header
-
Details: This doesn't seem to be working as expected. I've followed all the instructions in the the Retool docs:
Retool API authentication | Retool Docs
Retool API | Retool Docs -
Screenshots: