Order Number
Parameters |
Description |
API URL |
https://sms.tc/api/api_key/getNumber/service_id |
api_key |
Your API Key |
service_id |
Service ID |
Example response
{
"success": true,
"title": "",
"message": "",
"number_id": 28,
"number": "+79657020028",
"status": "NUMBER_PURCHASED"
}
Check Balance
Parameters |
Description |
API URL |
https://sms.tc/api/api_key/getBalance |
api_key |
Your API Key |
Example response
{
"balance": 1
}
Get Service Price and Number of Stock
Parameters |
Description |
API URL |
https://sms.tc/api/getServiceDetails/service_id |
service_id |
Service ID |
Example response
{
"id": "32",
"phonecode": "90",
"price": "2",
"stock": 180
}
Get Services by Categories
Parameters |
Description |
API URL |
https://sms.tc/api/getServices/category_id |
category_id |
Category ID |
Example response
[
{
"id": "2",
"name": "İngiltere",
"phonecode": "44",
"category": "2",
"stock": "30",
"price": "0.62"
},
{
"id": "1",
"name": "Türkiye",
"phonecode": "90",
"category": "2",
"stock": "30",
"price": "0.62"
}
]
Get Categories
Parameters |
Description |
API URL |
https://sms.tc/api/getCategories |
Example response
[
{
"id": "1",
"name": "Facebook",
"slug": "facebook",
"icon": "fab fa-facebook"
},
{
"id": "2",
"name": "Instagram",
"slug": "instagram",
"icon": "fab fa-instagram"
}
]
Get All Services
Parameters |
Description |
API URL |
https://sms.tc/api/getAllServices |
Example response
[
{
"id": "2",
"name": "İngiltere",
"phonecode": "44",
"category": "2",
"stock": "30",
"price": "0.62"
},
{
"id": "1",
"name": "Türkiye",
"phonecode": "90",
"category": "2",
"stock": "30",
"price": "0.62"
}
]
Get Activation Status
Parameters |
Description |
API URL |
https://sms.tc/api/api_key/getMessage/number_id |
api_key |
Your API Key |
number_id |
Your Activation ID |
Answers |
Description |
Status 1 |
Activation Code Received |
Status 0 |
Activation Code Waiting |
Status -1 |
Activation Canceled |
Example response
{
"code": "",
"id": "75",
"status": 0
}
Cancel Activation
Parameters |
Description |
API URL |
https://sms.tc/api/api_key/cancelNumber/number_id |
api_key |
Your API Key |
number_id |
Your Activation ID |
Example response
{
"success": true,
"title": "",
"message": ""
}
Soon we will develop our api document. Send us a message whenever you need help!