How can I receive OTP via API?

myykyk010

New Member
1
2026
0
120
Hi, im very new to all of this, i might not be familiar with terminology.

I know the url to make an API call to get a phone number:
it goes something like this:
api.sms-man.com/control/get-number?token=$token&country_id=$country_id&application_id=$application_id

The response from it looks like so:

{
“request_id”: 123456789,
“number”: “79123456789”,
“country_id”: 1,
“application_id”: 123,
“status”: “success”
}
 
2 comments
If you need to get SMS with OTP, it makes sense to use the api.sms-man.com/control/get-sms endpoint. The fastest way to get some code samples is to provide Gemini or ChatGPT with that endpoint URL and describe the existing code.
 
Back
Top