---
title: "Discussion on \"Create OTP/Mobile verification API with python FastAPI and Send.lk SMS Gateway\" | Hashnode"
description: "Discussion on \"Create OTP/Mobile verification API with python FastAPI and Send.lk SMS Gateway\". I was recently trying to implement Mobile number verification on one of my projects. But after a ton of research, I couldn't find any resource or useable service that gives the facilities to do it locally. That makes me think...\n\nYes, you can and her..."
url: "https://hashnode.com/posts/create-otpmobile-verification-api-with-python-fastapi-and-sendlk-sms-gateway/61bf8d67c4195d32e16a3d7c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Create OTP/Mobile verification API with python FastAPI and Send.lk SMS Gateway](https://blog.ishangavidusha.com/create-otpmobile-verification-api-with-python-fastapi-and-sendlk-sms-gateway?utm_source=hashnode&utm_medium=feed)

I was recently trying to implement Mobile number verification on one of my projects. But after a ton of research, I couldn't find any resource or useable service that gives the facilities to do it locally. That makes me think... Yes, you can and her...

Dec 19, 2021 · 9 min read · blog.ishangavidusha.com  
Read the article

-   [#python](https://hashnode.com/tag/python)

## Written by

[Ishanga Vidusha](https://hashnode.com/@ishanga)

@ishanga · Sri Lanka

  
[View profile](https://hashnode.com/@ishanga)

self-taught 👨🏻‍💻 | full-stack 💛

## Responses 4

Markdown supported · ⌘↵ to post

[Stimulai](https://hashnode.com/@scotty697)

[Aug 13, 2022](https://hashnode.com/posts/create-otpmobile-verification-api-with-python-fastapi-and-sendlk-sms-gateway/61bf8d67c4195d32e16a3d7c/comment/62f7eea269fa1793160c38d1)

Hey great project btw, im getting the following error when testing the **/api/code/send** api endpoint which is hosted on heroku. Any help will be awesome.

{ "detail": "Incorrect padding" }

[Erfan Maulida](https://hashnode.com/@Onika84)

[Dec 22, 2021](https://hashnode.com/posts/create-otpmobile-verification-api-with-python-fastapi-and-sendlk-sms-gateway/61bf8d67c4195d32e16a3d7c/comment/61c37156c0206b3f41f548be)

i love your idea

[Anshuman Gupta](https://hashnode.com/@Anshuman226)

[Dec 22, 2021](https://hashnode.com/posts/create-otpmobile-verification-api-with-python-fastapi-and-sendlk-sms-gateway/61bf8d67c4195d32e16a3d7c/comment/61c31793c0206b3f41f53f7b)

It is so informative👍👍

[Victoria Lo](https://hashnode.com/@victoria)

[Dec 20, 2021](https://hashnode.com/posts/create-otpmobile-verification-api-with-python-fastapi-and-sendlk-sms-gateway/61bf8d67c4195d32e16a3d7c/comment/61c0749d02755832385f3e6d)

Was looking for something like this! Thanks for the tutorial~ 🤩

P.S.: Congrats on your first post at Hashnode!
