1.3 KiB
1.3 KiB
GrizzlySMS
Auth
- Use
api_keyas a query parameter. - The API is documented as compatible with the
sms-activatestyle. - Keep the activation API separate from the partner/supply protocol unless the user explicitly asks for partner integration.
Core activation endpoint
GET /stubs/handler_api.php?action=getNumber&service=...&country=...&maxPrice=...&providerIds=...&exceptProviderIds=...GET /stubs/handler_api.php?action=getNumberV2&service=...&country=...&maxPrice=...&providerIds=...&exceptProviderIds=...- status-change and status-query actions follow the documented sms-activate-compatible activation API.
- balance and current-price actions are documented under the activation utility API.
Number request variants
getNumberreturnsACCESS_NUMBER:activationId:phoneNumber.getNumberV2returns structured JSON fields.
Key response fields
activationIdphoneNumberactivationCostcurrencycountryCodecanGetAnotherSmsactivationTime
Errors
BAD_KEYNO_NUMBERSSERVICE_UNAVAILABLE_REGION
Practical notes
- Use
maxPricewhen the user wants a ceiling. - Use
providerIdsorexceptProviderIdsonly when the task needs provider filtering. - Treat the activation flow as compatible with sms-activate style, but keep the exact endpoint and field names from GrizzlySMS.