> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sfcodebot.com/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).

# IP Restrictions for API User

1) Go to Password and Login Policy Settings

[![](https://storage.crisp.chat/users/helpdesk/website/e56c0e7282444000/93d2f680-be5b-4461-9010-4f7268_a4d8l2.png)](https://downloads.intercomcdn.com/i/o/948432110/54d43ef873af1e350c608a86/Screenshot+2024-01-30+at+1.56.13%E2%80%AFPM.png)

2) Click Set API login exceptions

[![](https://storage.crisp.chat/users/helpdesk/website/17c219bc72fb3500/b503dd98-e6b8-4cb1-9205-ce45ca_cy88zu.png)](https://downloads.intercomcdn.com/i/o/948432656/95062c931c93b3fe8450d634/Screenshot+2024-01-30+at+1.56.23%E2%80%AFPM.png)

3) Click Add

[![](https://storage.crisp.chat/users/helpdesk/website/cb232fb46b623000/8b221e2b-33ea-41e5-8c96-2fe794_74ccdm.png)](https://downloads.intercomcdn.com/i/o/948435226/5d37a0460911c1bd26d45e81/Screenshot+2024-01-30+at+1.56.34%E2%80%AFPM.png)

4) Fill in the window: Enter the CodeBot API User, maximum password age = -1, and put "0.0.0.0-255.255.255.0" in the IP address restrictions.

[![](https://storage.crisp.chat/users/helpdesk/website/cdcb64508e7f900/2b9d68ba-e489-4a0b-ad14-9c0bb5_1d35qt5.png)](https://downloads.intercomcdn.com/i/o/948435303/c29e26efb3709e2805f5d75e/Screenshot+2024-01-30+at+1.57.20%E2%80%AFPM.png)

5) Scroll down and click Set Password & Login Policy

[![](https://storage.crisp.chat/users/helpdesk/website/e1cb29e680ebb000/a297e601-a1f9-47d3-b658-572250_1rvqn5q.png)](https://downloads.intercomcdn.com/i/o/948435365/2f5e471381c4bed4e7f9d5aa/Screenshot+2024-01-30+at+1.57.32%E2%80%AFPM.png)