How can I update a the phone number field of a user with AI agents and an API?

Question

How can I update a user's phone number field? I can't achieve that with update_user.

Answer

The phone number is a field on a customer object. It is not tied to user identity. You can update this with the Update User API endpoint, which is a custom API call from your AI agent with Integration or action flow.

If you want to change the phone number in the user's profile, you can also use this method to update the user's phone number.