Shadow OTP API Tool
This API allows you to programmatically interact with Shadow OTP services. Use your API key to authenticate requests. (API functionality coming soon.)
Your API Key
Use this key in the Authorization
header of your requests. Do not share your API key publicly.
Authentication
All requests must include your API key in the Authorization
header as a Bearer token:
Authorization: Bearer b4a69bf832008506782a12410412a2ed
Base URL: https://api.shadowotp.com/v1
Endpoints
GET /user/balance
Get your account balance.
Example Request:
GET https://api.shadowotp.com/v1/user/balance Authorization: Bearer b4a69bf832008506782a12410412a2ed
Example Response:
{ "balance": 50.00, "currency": "USD" }
GET /buy/number
Purchase a virtual number for SMS verification.
Parameters:
country
(required): Country code (e.g.,US
)service
(required): Service name (e.g.,google
)
Example Request:
GET https://api.shadowotp.com/v1/buy/number?country=US&service=google Authorization: Bearer b4a69bf832008506782a12410412a2ed
Example Response:
{ "id": "12345", "phone": "+12025550123", "status": "pending" }
GET /check/sms
Check for received SMS on a purchased number.
Parameters:
id
(required): Number ID (e.g.,12345
)
Example Request:
GET https://api.shadowotp.com/v1/check/sms?id=12345 Authorization: Bearer b4a69bf832008506782a12410412a2ed
Example Response:
{ "id": "12345", "sms": "Your code is: 123456", "status": "received" }
Test the API
Use the tool below to test API requests (not functional yet).