API Access
Automate ordering numbers and reading OTPs with a simple REST API.
The TempOTP API lets you order numbers and poll for codes programmatically. Generate an API key from your dashboard, then authenticate requests with a bearer token.
Authentication
Create a key under Settings → API Keys and send it as a bearer token:
curl https://YOUR_DOMAIN/api/v1/services?take=40 \
-H "Authorization: Bearer YOUR_API_KEY"Common Endpoints
- GET /api/v1/services — list available services and prices.
- POST /api/v1/order — order a number for a service.
- GET /api/v1/order/:id — check an order and read the received code.
- GET /api/v1/balance — check your account balance.
Need Help?
Reach out at support@tempotp.com for integration support.