> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://staging.chrisp.chat/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How can I automatically set my user's phone number?

****If you are using Crisp on a website where users are authenticated, you may want to set their phone number.****

This method uses the Crisp JavaScript API, that you can call from your own code.

```
// Feed this call with your own custom data.$crisp.push(["set", "user:phone", ["0123456789"]])
```

| Want to know more about the $crisp interface? Read: [How to use $crisp Javascript SDK?](https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/dollar-crisp/)