AgoVerify API Documentation
Build on top of AgoVerify using our REST API.
Authentication
All API requests must include your API key. You can manage keys from your Developer page.
X-API-Key: av_your_api_key_here
Or use the standard Bearer token header:
Authorization: Bearer av_your_api_key_here
Base URL
https://agoverify.com/api/v2
Endpoints
/services
List all services available via the API.
/countries
List all countries available via the API.
/countries/for-service?service={service_code}
List countries for a service.
/service-price?service={code}&country={code}
Get price for a service/country combination.
/balance
Get current account balance.
/orders
Create an order. Body: service_code, country_code, operator (optional).
/orders
List order history.
/orders/active
List active orders.
/orders/{id}
Get order details.
/orders/{id}/status
Check order status and retrieve SMS code.
/orders/{id}/cancel
Cancel an active order.
Provider Selection
AgoVerify runs a unified backend. You never need to specify a provider or server; the system automatically picks the highest-priority enabled provider that has stock for the requested service and country.
Create an order example
curl -X POST "https://agoverify.com/api/v2/orders" \ -H "X-API-Key: av_your_api_key_here" \ -H "Accept: application/json" \ -d "service_code=tg" \ -d "country_code=0"
Webhooks
Webhooks are sent as POST requests to your registered endpoints. Configure them from the Developer page.
Supported events:
order.created— a new order was created.sms.received— an SMS code was received for an order.order.cancelled— an order was cancelled and refunded.order.expired— an order expired and was refunded.
Each webhook includes a X-Webhook-Signature header (HMAC-SHA256 of the JSON body using your endpoint secret) and X-Webhook-Event.
Join our community
Follow us on social media for updates & support