Use following steps & secure your API :

1) Login in our SMS portal For Login Process visit here.

2) Inside login Left side below corner beside of setting you can get  API option click on that.Bulk SMS API

3) You can get there Security Tab clicks on that. Select there Enable Option. Add there your IP Address & white list it.Bulk SMS API IP Security

NoteIf you have using broadband service for Internet connection. Then your Ip address is changed continuously and you can get 418 this error code. So In that case don’t Enable IP Security Option.

4) If you don’t want API security then you can select Disable option.