SMS API

부분 유료
분류별 nbanz | 업데이트됨 a month ago | Communication
인기

9.4 / 10

지연 시간

170ms

서비스 수준

100%

Health Check

100%

README

SMS Receive API

This is an SMS API for receiving SMS on various phone numbers for phone verification (2FA) or to prevent spam.
Multiple countries available, including USA, GB, NL and more.

Endpoints

GET /numbers

No parameters.
This endpoint gets all available phone numbers available for receiving.

Example response (Code 200 / Success):

[
  {
    "full": "+447947571472",
    "full_int": 447947571472,
    "country_code": 44,
    "national_number": 7947571472
  },
  {
    "full": "+447499937670",
    "full_int": 447499937670,
    "country_code": 44,
    "national_number": 7499937670
  },
  {
    "full": "+4592857271",
    "full_int": 4592857271,
    "country_code": 45,
    "national_number": 92857271
  },
  {
    "full": "+639699917700",
    "full_int": 639699917700,
    "country_code": 63,
    "national_number": 9699917700
  },
  {
    "full": "+31649715518",
    "full_int": 31649715518,
    "country_code": 31,
    "national_number": 649715518
  }
]

This endpoint cannot fail.

GET /messages/{number}

The number parameter is an integer number taken from full_int on the /numbers endpoint.
This endpoint gets all messages for the given phone number, in reverse order (latest message first)

Example response (404 / Invalid number):

{"detail": "Number not found"}

Example response (200 / Success):

[
  {
    "sender": "254829",
    "message": "Hey there!",
    "timestamp": 1699271491
  },
  {
    "sender": "123339373",
    "message": "Another message",
    "timestamp": 1699271413
  },
  {
    "sender": "Alex",
    "message": "Senders might be strings too!",
    "timestamp": 1699271388
  }
]
팔로워: 2
API 생성자 :
Rapid account: Nbanz
nbanz
nbanz
Rate API에 로그인
등급: 5 - 투표: 2